config

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	File_config_v1_cors_proto       = config.File_config_v1_cors_proto
	File_config_v1_data_proto       = config.File_config_v1_data_proto
	File_config_v1_logger_proto     = config.File_config_v1_logger_proto
	File_config_v1_metrics_proto    = config.File_config_v1_metrics_proto
	File_config_v1_middleware_proto = config.File_config_v1_middleware_proto
	File_config_v1_registry_proto   = config.File_config_v1_registry_proto
	File_config_v1_security_proto   = config.File_config_v1_security_proto
	File_config_v1_service_proto    = config.File_config_v1_service_proto
	File_config_v1_source_proto     = config.File_config_v1_source_proto
	File_config_v1_tracer_proto     = config.File_config_v1_tracer_proto

	ErrNotFound = kratosconfig.ErrNotFound
)

Functions

This section is empty.

Types

type AuthorizationConfig added in v0.0.4

type AuthorizationConfig = config.AuthorizationConfig

type AuthorizationConfigMultiError added in v0.0.4

type AuthorizationConfigMultiError = config.AuthorizationConfigMultiError

type AuthorizationConfigValidationError added in v0.0.4

type AuthorizationConfigValidationError = config.AuthorizationConfigValidationError

type CasbinConfig added in v0.0.4

type CasbinConfig = config.CasbinConfig

type CasbinConfigMultiError added in v0.0.4

type CasbinConfigMultiError = config.CasbinConfigMultiError

type CasbinConfigValidationError added in v0.0.4

type CasbinConfigValidationError = config.CasbinConfigValidationError

type Config

type Config = kratosconfig.Config

func New

func New(opts ...Option) Config

type CorsConfig added in v0.0.4

type CorsConfig = config.CorsConfig

type CorsConfigMultiError added in v0.0.4

type CorsConfigMultiError = config.CorsConfigMultiError

type CorsConfigValidationError added in v0.0.4

type CorsConfigValidationError = config.CorsConfigValidationError

type DataConfig added in v0.0.4

type DataConfig = config.DataConfig

type DataConfigMultiError added in v0.0.4

type DataConfigMultiError = config.DataConfigMultiError

type DataConfigValidationError added in v0.0.4

type DataConfigValidationError = config.DataConfigValidationError

type DataConfig_Database added in v0.0.4

type DataConfig_Database = config.DataConfig_Database

type DataConfig_DatabaseMultiError added in v0.0.4

type DataConfig_DatabaseMultiError = config.DataConfig_DatabaseMultiError

type DataConfig_DatabaseValidationError added in v0.0.4

type DataConfig_DatabaseValidationError = config.DataConfig_DatabaseValidationError

type Decoder

type Decoder = kratosconfig.Decoder

type EntrySelectorConfig added in v0.0.4

type EntrySelectorConfig = config.EntrySelectorConfig

type EntrySelectorConfigMultiError added in v0.0.4

type EntrySelectorConfigMultiError = config.EntrySelectorConfigMultiError

type EntrySelectorConfigValidationError added in v0.0.4

type EntrySelectorConfigValidationError = config.EntrySelectorConfigValidationError

type KeyValue added in v0.0.4

type KeyValue = kratosconfig.KeyValue

type LoggerConfig added in v0.0.4

type LoggerConfig = config.LoggerConfig

type LoggerConfigMultiError added in v0.0.4

type LoggerConfigMultiError = config.LoggerConfigMultiError

type LoggerConfigValidationError added in v0.0.4

type LoggerConfigValidationError = config.LoggerConfigValidationError

type Merge

type Merge = kratosconfig.Merge

type MessageConfig added in v0.0.4

type MessageConfig = config.MessageConfig

type MessageConfigMultiError added in v0.0.4

type MessageConfigMultiError = config.MessageConfigMultiError

type MessageConfigValidationError added in v0.0.4

type MessageConfigValidationError = config.MessageConfigValidationError

type MessageConfig_ActiveMQ added in v0.0.4

type MessageConfig_ActiveMQ = config.MessageConfig_ActiveMQ

type MessageConfig_ActiveMQMultiError added in v0.0.4

type MessageConfig_ActiveMQMultiError = config.MessageConfig_ActiveMQMultiError

type MessageConfig_ActiveMQValidationError added in v0.0.4

type MessageConfig_ActiveMQValidationError = config.MessageConfig_ActiveMQValidationError

type MessageConfig_Kafka added in v0.0.4

type MessageConfig_Kafka = config.MessageConfig_Kafka

type MessageConfig_KafkaMultiError added in v0.0.4

type MessageConfig_KafkaMultiError = config.MessageConfig_KafkaMultiError

type MessageConfig_KafkaValidationError added in v0.0.4

type MessageConfig_KafkaValidationError = config.MessageConfig_KafkaValidationError

type MessageConfig_MQTT added in v0.0.4

type MessageConfig_MQTT = config.MessageConfig_MQTT

type MessageConfig_MQTTMultiError added in v0.0.4

type MessageConfig_MQTTMultiError = config.MessageConfig_MQTTMultiError

type MessageConfig_MQTTValidationError added in v0.0.4

type MessageConfig_MQTTValidationError = config.MessageConfig_MQTTValidationError

type MessageConfig_NATS added in v0.0.4

type MessageConfig_NATS = config.MessageConfig_NATS

type MessageConfig_NATSMultiError added in v0.0.4

type MessageConfig_NATSMultiError = config.MessageConfig_NATSMultiError

type MessageConfig_NATSValidationError added in v0.0.4

type MessageConfig_NATSValidationError = config.MessageConfig_NATSValidationError

type MessageConfig_NSQ added in v0.0.4

type MessageConfig_NSQ = config.MessageConfig_NSQ

type MessageConfig_NSQMultiError added in v0.0.4

type MessageConfig_NSQMultiError = config.MessageConfig_NSQMultiError

type MessageConfig_NSQValidationError added in v0.0.4

type MessageConfig_NSQValidationError = config.MessageConfig_NSQValidationError

type MessageConfig_Pulsar added in v0.0.4

type MessageConfig_Pulsar = config.MessageConfig_Pulsar

type MessageConfig_PulsarMultiError added in v0.0.4

type MessageConfig_PulsarMultiError = config.MessageConfig_PulsarMultiError

type MessageConfig_PulsarValidationError added in v0.0.4

type MessageConfig_PulsarValidationError = config.MessageConfig_PulsarValidationError

type MessageConfig_RabbitMQ added in v0.0.4

type MessageConfig_RabbitMQ = config.MessageConfig_RabbitMQ

type MessageConfig_RabbitMQMultiError added in v0.0.4

type MessageConfig_RabbitMQMultiError = config.MessageConfig_RabbitMQMultiError

type MessageConfig_RabbitMQValidationError added in v0.0.4

type MessageConfig_RabbitMQValidationError = config.MessageConfig_RabbitMQValidationError

type MessageConfig_Redis added in v0.0.4

type MessageConfig_Redis = config.MessageConfig_Redis

type MessageConfig_RedisMultiError added in v0.0.4

type MessageConfig_RedisMultiError = config.MessageConfig_RedisMultiError

type MessageConfig_RedisValidationError added in v0.0.4

type MessageConfig_RedisValidationError = config.MessageConfig_RedisValidationError

type MessageConfig_RocketMQ added in v0.0.4

type MessageConfig_RocketMQ = config.MessageConfig_RocketMQ

type MessageConfig_RocketMQMultiError added in v0.0.4

type MessageConfig_RocketMQMultiError = config.MessageConfig_RocketMQMultiError

type MessageConfig_RocketMQValidationError added in v0.0.4

type MessageConfig_RocketMQValidationError = config.MessageConfig_RocketMQValidationError

type MetricConfig added in v0.0.4

type MetricConfig = config.MetricConfig

type MetricConfigMultiError added in v0.0.4

type MetricConfigMultiError = config.MetricConfigMultiError

type MetricConfigValidationError added in v0.0.4

type MetricConfigValidationError = config.MetricConfigValidationError

type MiddlewareConfig added in v0.0.4

type MiddlewareConfig = config.MiddlewareConfig

type MiddlewareConfigMultiError added in v0.0.4

type MiddlewareConfigMultiError = config.MiddlewareConfigMultiError

type MiddlewareConfigValidationError added in v0.0.4

type MiddlewareConfigValidationError = config.MiddlewareConfigValidationError

type Observer added in v0.0.4

type Observer = kratosconfig.Observer

type Option

type Option = kratosconfig.Option

func WithDecoder

func WithDecoder(d Decoder) Option

func WithMergeFunc

func WithMergeFunc(m Merge) Option

func WithResolveActualTypes added in v0.0.4

func WithResolveActualTypes(enableConvertToType bool) Option

func WithResolver

func WithResolver(r Resolver) Option

func WithSource

func WithSource(s ...Source) Option

type Reader added in v0.0.4

type Reader = kratosconfig.Reader

type RegistryConfig

type RegistryConfig = config.RegistryConfig

type RegistryConfigMultiError

type RegistryConfigMultiError = config.RegistryConfigMultiError

type RegistryConfigValidationError

type RegistryConfigValidationError = config.RegistryConfigValidationError

type RegistryConfig_Consul

type RegistryConfig_Consul = config.RegistryConfig_Consul

type RegistryConfig_ConsulMultiError

type RegistryConfig_ConsulMultiError = config.RegistryConfig_ConsulMultiError

type RegistryConfig_ConsulValidationError

type RegistryConfig_ConsulValidationError = config.RegistryConfig_ConsulValidationError

type RegistryConfig_ETCD

type RegistryConfig_ETCD = config.RegistryConfig_ETCD

type RegistryConfig_ETCDMultiError

type RegistryConfig_ETCDMultiError = config.RegistryConfig_ETCDMultiError

type RegistryConfig_ETCDValidationError

type RegistryConfig_ETCDValidationError = config.RegistryConfig_ETCDValidationError

type Resolver

type Resolver = kratosconfig.Resolver

type SecurityConfig added in v0.0.4

type SecurityConfig = config.SecurityConfig

type SecurityConfigMultiError added in v0.0.4

type SecurityConfigMultiError = config.SecurityConfigMultiError

type SecurityConfigValidationError added in v0.0.4

type SecurityConfigValidationError = config.SecurityConfigValidationError

type ServiceConfig added in v0.0.4

type ServiceConfig = config.ServiceConfig

type ServiceConfigMultiError added in v0.0.4

type ServiceConfigMultiError = config.ServiceConfigMultiError

type ServiceConfigValidationError added in v0.0.4

type ServiceConfigValidationError = config.ServiceConfigValidationError

type ServiceConfig_Entry added in v0.0.4

type ServiceConfig_Entry = config.ServiceConfig_Entry

type ServiceConfig_EntryMultiError added in v0.0.4

type ServiceConfig_EntryMultiError = config.ServiceConfig_EntryMultiError

type ServiceConfig_EntryValidationError added in v0.0.4

type ServiceConfig_EntryValidationError = config.ServiceConfig_EntryValidationError

type ServiceConfig_GINS added in v0.0.4

type ServiceConfig_GINS = config.ServiceConfig_GINS

type ServiceConfig_GINSMultiError added in v0.0.4

type ServiceConfig_GINSMultiError = config.ServiceConfig_GINSMultiError

type ServiceConfig_GINSValidationError added in v0.0.4

type ServiceConfig_GINSValidationError = config.ServiceConfig_GINSValidationError

type ServiceConfig_GRPC added in v0.0.4

type ServiceConfig_GRPC = config.ServiceConfig_GRPC

type ServiceConfig_GRPCMultiError added in v0.0.4

type ServiceConfig_GRPCMultiError = config.ServiceConfig_GRPCMultiError

type ServiceConfig_GRPCValidationError added in v0.0.4

type ServiceConfig_GRPCValidationError = config.ServiceConfig_GRPCValidationError

type ServiceConfig_HTTP added in v0.0.4

type ServiceConfig_HTTP = config.ServiceConfig_HTTP

type ServiceConfig_HTTPMultiError added in v0.0.4

type ServiceConfig_HTTPMultiError = config.ServiceConfig_HTTPMultiError

type ServiceConfig_HTTPValidationError added in v0.0.4

type ServiceConfig_HTTPValidationError = config.ServiceConfig_HTTPValidationError

type ServiceConfig_Middleware added in v0.0.4

type ServiceConfig_Middleware = config.ServiceConfig_Middleware

type ServiceConfig_MiddlewareMultiError added in v0.0.4

type ServiceConfig_MiddlewareMultiError = config.ServiceConfig_MiddlewareMultiError

type ServiceConfig_MiddlewareValidationError added in v0.0.4

type ServiceConfig_MiddlewareValidationError = config.ServiceConfig_MiddlewareValidationError

type ServiceConfig_Middleware_Cors added in v0.0.4

type ServiceConfig_Middleware_Cors = config.ServiceConfig_Middleware_Cors

type ServiceConfig_Middleware_CorsMultiError added in v0.0.4

type ServiceConfig_Middleware_CorsMultiError = config.ServiceConfig_Middleware_CorsMultiError

type ServiceConfig_Middleware_CorsValidationError added in v0.0.4

type ServiceConfig_Middleware_CorsValidationError = config.ServiceConfig_Middleware_CorsValidationError

type ServiceConfig_Middleware_Logger added in v0.0.4

type ServiceConfig_Middleware_Logger = config.ServiceConfig_Middleware_Logger

type ServiceConfig_Middleware_LoggerMultiError added in v0.0.4

type ServiceConfig_Middleware_LoggerMultiError = config.ServiceConfig_Middleware_LoggerMultiError

type ServiceConfig_Middleware_LoggerValidationError added in v0.0.4

type ServiceConfig_Middleware_LoggerValidationError = config.ServiceConfig_Middleware_LoggerValidationError

type ServiceConfig_Middleware_Metrics added in v0.0.4

type ServiceConfig_Middleware_Metrics = config.ServiceConfig_Middleware_Metrics

type ServiceConfig_Middleware_MetricsMultiError added in v0.0.4

type ServiceConfig_Middleware_MetricsMultiError = config.ServiceConfig_Middleware_MetricsMultiError

type ServiceConfig_Middleware_MetricsValidationError added in v0.0.4

type ServiceConfig_Middleware_MetricsValidationError = config.ServiceConfig_Middleware_MetricsValidationError

type ServiceConfig_Middleware_Traces added in v0.0.4

type ServiceConfig_Middleware_Traces = config.ServiceConfig_Middleware_Traces

type ServiceConfig_Middleware_TracesMultiError added in v0.0.4

type ServiceConfig_Middleware_TracesMultiError = config.ServiceConfig_Middleware_TracesMultiError

type ServiceConfig_Middleware_TracesValidationError added in v0.0.4

type ServiceConfig_Middleware_TracesValidationError = config.ServiceConfig_Middleware_TracesValidationError

type ServiceConfig_Websocket added in v0.0.4

type ServiceConfig_Websocket = config.ServiceConfig_Websocket

type ServiceConfig_WebsocketMultiError added in v0.0.4

type ServiceConfig_WebsocketMultiError = config.ServiceConfig_WebsocketMultiError

type ServiceConfig_WebsocketValidationError added in v0.0.4

type ServiceConfig_WebsocketValidationError = config.ServiceConfig_WebsocketValidationError

type Source

type Source = kratosconfig.Source

type SourceConfig

type SourceConfig = config.SourceConfig

type SourceConfigMultiError

type SourceConfigMultiError = config.SourceConfigMultiError

type SourceConfigValidationError

type SourceConfigValidationError = config.SourceConfigValidationError

type SourceConfig_Consul

type SourceConfig_Consul = config.SourceConfig_Consul

type SourceConfig_ConsulMultiError

type SourceConfig_ConsulMultiError = config.SourceConfig_ConsulMultiError

type SourceConfig_ConsulValidationError

type SourceConfig_ConsulValidationError = config.SourceConfig_ConsulValidationError

type SourceConfig_Custom added in v0.0.5

type SourceConfig_Custom = config.SourceConfig_Custom

type SourceConfig_CustomMultiError added in v0.0.5

type SourceConfig_CustomMultiError = config.SourceConfig_CustomMultiError

type SourceConfig_CustomValidationError added in v0.0.5

type SourceConfig_CustomValidationError = config.SourceConfig_CustomValidationError

type SourceConfig_ETCD

type SourceConfig_ETCD = config.SourceConfig_ETCD

type SourceConfig_ETCDMultiError

type SourceConfig_ETCDMultiError = config.SourceConfig_ETCDMultiError

type SourceConfig_ETCDValidationError

type SourceConfig_ETCDValidationError = config.SourceConfig_ETCDValidationError

type SourceConfig_File

type SourceConfig_File = config.SourceConfig_File

type SourceConfig_FileMultiError

type SourceConfig_FileMultiError = config.SourceConfig_FileMultiError

type SourceConfig_FileValidationError

type SourceConfig_FileValidationError = config.SourceConfig_FileValidationError

type TaskConfig added in v0.0.4

type TaskConfig = config.TaskConfig

type TaskConfigMultiError added in v0.0.4

type TaskConfigMultiError = config.TaskConfigMultiError

type TaskConfigValidationError added in v0.0.4

type TaskConfigValidationError = config.TaskConfigValidationError

type TaskConfig_Asynq added in v0.0.4

type TaskConfig_Asynq = config.TaskConfig_Asynq

type TaskConfig_AsynqMultiError added in v0.0.4

type TaskConfig_AsynqMultiError = config.TaskConfig_AsynqMultiError

type TaskConfig_AsynqValidationError added in v0.0.4

type TaskConfig_AsynqValidationError = config.TaskConfig_AsynqValidationError

type TaskConfig_Cron added in v0.0.4

type TaskConfig_Cron = config.TaskConfig_Cron

type TaskConfig_CronMultiError added in v0.0.4

type TaskConfig_CronMultiError = config.TaskConfig_CronMultiError

type TaskConfig_CronValidationError added in v0.0.4

type TaskConfig_CronValidationError = config.TaskConfig_CronValidationError

type TaskConfig_Machinery added in v0.0.4

type TaskConfig_Machinery = config.TaskConfig_Machinery

type TaskConfig_MachineryMultiError added in v0.0.4

type TaskConfig_MachineryMultiError = config.TaskConfig_MachineryMultiError

type TaskConfig_MachineryValidationError added in v0.0.4

type TaskConfig_MachineryValidationError = config.TaskConfig_MachineryValidationError

type TraceConfig added in v0.0.4

type TraceConfig = config.TraceConfig

type TraceConfigMultiError added in v0.0.4

type TraceConfigMultiError = config.TraceConfigMultiError

type TraceConfigValidationError added in v0.0.4

type TraceConfigValidationError = config.TraceConfigValidationError

type Value added in v0.0.4

type Value = kratosconfig.Value

type Watcher added in v0.0.4

type Watcher = kratosconfig.Watcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL