github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/enums/config_type.go (about)

     1  package enums
     2  
     3  import "context"
     4  
     5  //go:generate toolkit gen enum ConfigType
     6  type ConfigType uint8
     7  
     8  const (
     9  	CONFIG_TYPE_UNKNOWN ConfigType = iota
    10  	CONFIG_TYPE__PROJECT_DATABASE
    11  	CONFIG_TYPE__INSTANCE_CACHE
    12  	CONFIG_TYPE__PROJECT_ENV
    13  	_ // deprecated CONFIG_TYPE__CHAIN_CLIENT
    14  	_ // deprecated CONFIG_TYPE__PROJECT_MQTT
    15  	CONFIG_TYPE__PROJECT_FLOW
    16  )
    17  
    18  // Impl empty wasm.Configuration
    19  
    20  func (v ConfigType) ConfigType() ConfigType { return v }
    21  
    22  func (v ConfigType) WithContext(ctx context.Context) context.Context { return nil }