Documentation ¶
Index ¶
- Variables
- type Cors
- func (*Cors) Descriptor() ([]byte, []int)deprecated
- func (x *Cors) GetAllowBrowserExtensions() bool
- func (x *Cors) GetAllowCredentials() bool
- func (x *Cors) GetAllowFiles() bool
- func (x *Cors) GetAllowHeaders() []string
- func (x *Cors) GetAllowMethods() []string
- func (x *Cors) GetAllowOrigins() []string
- func (x *Cors) GetAllowPrivateNetwork() bool
- func (x *Cors) GetAllowWebSockets() bool
- func (x *Cors) GetAllowWildcard() bool
- func (x *Cors) GetEnabled() bool
- func (x *Cors) GetExposeHeaders() []string
- func (x *Cors) GetMaxAge() *durationpb.Duration
- func (*Cors) ProtoMessage()
- func (x *Cors) ProtoReflect() protoreflect.Message
- func (x *Cors) Reset()
- func (x *Cors) String() string
- func (m *Cors) Validate() error
- func (m *Cors) ValidateAll() error
- type CorsMultiError
- type CorsValidationError
- type Customize
- func (*Customize) Descriptor() ([]byte, []int)deprecated
- func (x *Customize) GetConfigs() map[string]*Customize_Config
- func (*Customize) ProtoMessage()
- func (x *Customize) ProtoReflect() protoreflect.Message
- func (x *Customize) Reset()
- func (x *Customize) String() string
- func (m *Customize) Validate() error
- func (m *Customize) ValidateAll() error
- type CustomizeMultiError
- type CustomizeValidationError
- type Customize_Config
- func (*Customize_Config) Descriptor() ([]byte, []int)deprecated
- func (x *Customize_Config) GetEnabled() bool
- func (x *Customize_Config) GetType() string
- func (x *Customize_Config) GetValue() *anypb.Any
- func (*Customize_Config) ProtoMessage()
- func (x *Customize_Config) ProtoReflect() protoreflect.Message
- func (x *Customize_Config) Reset()
- func (x *Customize_Config) String() string
- func (m *Customize_Config) Validate() error
- func (m *Customize_Config) ValidateAll() error
- type Customize_ConfigMultiError
- type Customize_ConfigValidationError
- func (e Customize_ConfigValidationError) Cause() error
- func (e Customize_ConfigValidationError) Error() string
- func (e Customize_ConfigValidationError) ErrorName() string
- func (e Customize_ConfigValidationError) Field() string
- func (e Customize_ConfigValidationError) Key() bool
- func (e Customize_ConfigValidationError) Reason() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetCache() *Data_Cache
- func (x *Data) GetDatabase() *Data_Database
- func (x *Data) GetStorage() *Data_Storage
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- func (m *Data) Validate() error
- func (m *Data) ValidateAll() error
- type DataMultiError
- type DataValidationError
- type Data_BadgerDS
- func (*Data_BadgerDS) Descriptor() ([]byte, []int)deprecated
- func (x *Data_BadgerDS) GetLogLevel() uint32
- func (x *Data_BadgerDS) GetPath() string
- func (x *Data_BadgerDS) GetSyncWrites() bool
- func (x *Data_BadgerDS) GetValueLogFileSize() int32
- func (*Data_BadgerDS) ProtoMessage()
- func (x *Data_BadgerDS) ProtoReflect() protoreflect.Message
- func (x *Data_BadgerDS) Reset()
- func (x *Data_BadgerDS) String() string
- func (m *Data_BadgerDS) Validate() error
- func (m *Data_BadgerDS) ValidateAll() error
- type Data_BadgerDSMultiError
- type Data_BadgerDSValidationError
- func (e Data_BadgerDSValidationError) Cause() error
- func (e Data_BadgerDSValidationError) Error() string
- func (e Data_BadgerDSValidationError) ErrorName() string
- func (e Data_BadgerDSValidationError) Field() string
- func (e Data_BadgerDSValidationError) Key() bool
- func (e Data_BadgerDSValidationError) Reason() string
- type Data_Cache
- func (*Data_Cache) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Cache) GetBadger() *Data_BadgerDS
- func (x *Data_Cache) GetDriver() string
- func (x *Data_Cache) GetMemcached() *Data_Memcached
- func (x *Data_Cache) GetMemory() *Data_Memory
- func (x *Data_Cache) GetRedis() *Data_Redis
- func (*Data_Cache) ProtoMessage()
- func (x *Data_Cache) ProtoReflect() protoreflect.Message
- func (x *Data_Cache) Reset()
- func (x *Data_Cache) String() string
- func (m *Data_Cache) Validate() error
- func (m *Data_Cache) ValidateAll() error
- type Data_CacheMultiError
- type Data_CacheValidationError
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetConnectionMaxIdleTime() *durationpb.Duration
- func (x *Data_Database) GetConnectionMaxLifetime() *durationpb.Duration
- func (x *Data_Database) GetDebug() bool
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetEnableMetrics() bool
- func (x *Data_Database) GetEnableTrace() bool
- func (x *Data_Database) GetMaxIdleConnections() int32
- func (x *Data_Database) GetMaxOpenConnections() int32
- func (x *Data_Database) GetMigrate() bool
- func (x *Data_Database) GetSource() string
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- func (m *Data_Database) Validate() error
- func (m *Data_Database) ValidateAll() error
- type Data_DatabaseMultiError
- type Data_DatabaseValidationError
- func (e Data_DatabaseValidationError) Cause() error
- func (e Data_DatabaseValidationError) Error() string
- func (e Data_DatabaseValidationError) ErrorName() string
- func (e Data_DatabaseValidationError) Field() string
- func (e Data_DatabaseValidationError) Key() bool
- func (e Data_DatabaseValidationError) Reason() string
- type Data_File
- func (*Data_File) Descriptor() ([]byte, []int)deprecated
- func (x *Data_File) GetRoot() string
- func (*Data_File) ProtoMessage()
- func (x *Data_File) ProtoReflect() protoreflect.Message
- func (x *Data_File) Reset()
- func (x *Data_File) String() string
- func (m *Data_File) Validate() error
- func (m *Data_File) ValidateAll() error
- type Data_FileMultiError
- type Data_FileValidationError
- type Data_Memcached
- func (*Data_Memcached) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Memcached) GetAddr() string
- func (x *Data_Memcached) GetMaxIdle() int32
- func (x *Data_Memcached) GetPassword() string
- func (x *Data_Memcached) GetTimeout() *durationpb.Duration
- func (x *Data_Memcached) GetUsername() string
- func (*Data_Memcached) ProtoMessage()
- func (x *Data_Memcached) ProtoReflect() protoreflect.Message
- func (x *Data_Memcached) Reset()
- func (x *Data_Memcached) String() string
- func (m *Data_Memcached) Validate() error
- func (m *Data_Memcached) ValidateAll() error
- type Data_MemcachedMultiError
- type Data_MemcachedValidationError
- func (e Data_MemcachedValidationError) Cause() error
- func (e Data_MemcachedValidationError) Error() string
- func (e Data_MemcachedValidationError) ErrorName() string
- func (e Data_MemcachedValidationError) Field() string
- func (e Data_MemcachedValidationError) Key() bool
- func (e Data_MemcachedValidationError) Reason() string
- type Data_Memory
- func (*Data_Memory) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Memory) GetCapacity() int32
- func (x *Data_Memory) GetCleanupInterval() *durationpb.Duration
- func (x *Data_Memory) GetExpiration() *durationpb.Duration
- func (x *Data_Memory) GetSize() int32
- func (*Data_Memory) ProtoMessage()
- func (x *Data_Memory) ProtoReflect() protoreflect.Message
- func (x *Data_Memory) Reset()
- func (x *Data_Memory) String() string
- func (m *Data_Memory) Validate() error
- func (m *Data_Memory) ValidateAll() error
- type Data_MemoryMultiError
- type Data_MemoryValidationError
- func (e Data_MemoryValidationError) Cause() error
- func (e Data_MemoryValidationError) Error() string
- func (e Data_MemoryValidationError) ErrorName() string
- func (e Data_MemoryValidationError) Field() string
- func (e Data_MemoryValidationError) Key() bool
- func (e Data_MemoryValidationError) Reason() string
- type Data_Mongo
- type Data_MongoMultiError
- type Data_MongoValidationError
- type Data_Oss
- type Data_OssMultiError
- type Data_OssValidationError
- type Data_Redis
- func (*Data_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Redis) GetAddr() string
- func (x *Data_Redis) GetDb() int32
- func (x *Data_Redis) GetDialTimeout() *durationpb.Duration
- func (x *Data_Redis) GetNetwork() string
- func (x *Data_Redis) GetPassword() string
- func (x *Data_Redis) GetReadTimeout() *durationpb.Duration
- func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration
- func (*Data_Redis) ProtoMessage()
- func (x *Data_Redis) ProtoReflect() protoreflect.Message
- func (x *Data_Redis) Reset()
- func (x *Data_Redis) String() string
- func (m *Data_Redis) Validate() error
- func (m *Data_Redis) ValidateAll() error
- type Data_RedisMultiError
- type Data_RedisValidationError
- type Data_Storage
- func (*Data_Storage) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Storage) GetBadger() *Data_BadgerDS
- func (x *Data_Storage) GetFile() *Data_File
- func (x *Data_Storage) GetMongo() *Data_Mongo
- func (x *Data_Storage) GetOss() *Data_Oss
- func (x *Data_Storage) GetRedis() *Data_Redis
- func (x *Data_Storage) GetType() string
- func (*Data_Storage) ProtoMessage()
- func (x *Data_Storage) ProtoReflect() protoreflect.Message
- func (x *Data_Storage) Reset()
- func (x *Data_Storage) String() string
- func (m *Data_Storage) Validate() error
- func (m *Data_Storage) ValidateAll() error
- type Data_StorageMultiError
- type Data_StorageValidationError
- func (e Data_StorageValidationError) Cause() error
- func (e Data_StorageValidationError) Error() string
- func (e Data_StorageValidationError) ErrorName() string
- func (e Data_StorageValidationError) Field() string
- func (e Data_StorageValidationError) Key() bool
- func (e Data_StorageValidationError) Reason() string
- type Logger
- func (*Logger) Descriptor() ([]byte, []int)deprecated
- func (x *Logger) GetLevel() Logger_Level
- func (x *Logger) GetName() string
- func (*Logger) ProtoMessage()
- func (x *Logger) ProtoReflect() protoreflect.Message
- func (x *Logger) Reset()
- func (x *Logger) String() string
- func (m *Logger) Validate() error
- func (m *Logger) ValidateAll() error
- type LoggerMultiError
- type LoggerValidationError
- type Logger_Level
- func (Logger_Level) Descriptor() protoreflect.EnumDescriptor
- func (x Logger_Level) Enum() *Logger_Level
- func (Logger_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x Logger_Level) Number() protoreflect.EnumNumber
- func (x Logger_Level) String() string
- func (Logger_Level) Type() protoreflect.EnumType
- type Mail
- func (*Mail) Descriptor() ([]byte, []int)deprecated
- func (x *Mail) GetFrom() string
- func (x *Mail) GetHost() string
- func (x *Mail) GetMaxRetries() int32
- func (x *Mail) GetNickname() string
- func (x *Mail) GetPassword() string
- func (x *Mail) GetPort() int32
- func (x *Mail) GetRetryInterval() *durationpb.Duration
- func (x *Mail) GetSsl() bool
- func (x *Mail) GetTokenSecret() string
- func (x *Mail) GetType() string
- func (x *Mail) GetUsername() string
- func (*Mail) ProtoMessage()
- func (x *Mail) ProtoReflect() protoreflect.Message
- func (x *Mail) Reset()
- func (x *Mail) String() string
- func (m *Mail) Validate() error
- func (m *Mail) ValidateAll() error
- type MailMultiError
- type MailValidationError
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetActivemq() *Message_ActiveMQ
- func (x *Message) GetKafka() *Message_Kafka
- func (x *Message) GetMqtt() *Message_MQTT
- func (x *Message) GetName() string
- func (x *Message) GetNats() *Message_NATS
- func (x *Message) GetNsq() *Message_NSQ
- func (x *Message) GetPulsar() *Message_Pulsar
- func (x *Message) GetRabbitmq() *Message_RabbitMQ
- func (x *Message) GetRedis() *Message_Redis
- func (x *Message) GetRocketmq() *Message_RocketMQ
- func (x *Message) GetType() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- type MessageMultiError
- type MessageValidationError
- type Message_ActiveMQ
- func (*Message_ActiveMQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_ActiveMQ) GetCodec() string
- func (x *Message_ActiveMQ) GetEndpoint() string
- func (*Message_ActiveMQ) ProtoMessage()
- func (x *Message_ActiveMQ) ProtoReflect() protoreflect.Message
- func (x *Message_ActiveMQ) Reset()
- func (x *Message_ActiveMQ) String() string
- func (m *Message_ActiveMQ) Validate() error
- func (m *Message_ActiveMQ) ValidateAll() error
- type Message_ActiveMQMultiError
- type Message_ActiveMQValidationError
- func (e Message_ActiveMQValidationError) Cause() error
- func (e Message_ActiveMQValidationError) Error() string
- func (e Message_ActiveMQValidationError) ErrorName() string
- func (e Message_ActiveMQValidationError) Field() string
- func (e Message_ActiveMQValidationError) Key() bool
- func (e Message_ActiveMQValidationError) Reason() string
- type Message_Kafka
- func (*Message_Kafka) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Kafka) GetCodec() string
- func (x *Message_Kafka) GetEndpoint() string
- func (*Message_Kafka) ProtoMessage()
- func (x *Message_Kafka) ProtoReflect() protoreflect.Message
- func (x *Message_Kafka) Reset()
- func (x *Message_Kafka) String() string
- func (m *Message_Kafka) Validate() error
- func (m *Message_Kafka) ValidateAll() error
- type Message_KafkaMultiError
- type Message_KafkaValidationError
- func (e Message_KafkaValidationError) Cause() error
- func (e Message_KafkaValidationError) Error() string
- func (e Message_KafkaValidationError) ErrorName() string
- func (e Message_KafkaValidationError) Field() string
- func (e Message_KafkaValidationError) Key() bool
- func (e Message_KafkaValidationError) Reason() string
- type Message_MQTT
- func (*Message_MQTT) Descriptor() ([]byte, []int)deprecated
- func (x *Message_MQTT) GetCodec() string
- func (x *Message_MQTT) GetEndpoint() string
- func (*Message_MQTT) ProtoMessage()
- func (x *Message_MQTT) ProtoReflect() protoreflect.Message
- func (x *Message_MQTT) Reset()
- func (x *Message_MQTT) String() string
- func (m *Message_MQTT) Validate() error
- func (m *Message_MQTT) ValidateAll() error
- type Message_MQTTMultiError
- type Message_MQTTValidationError
- func (e Message_MQTTValidationError) Cause() error
- func (e Message_MQTTValidationError) Error() string
- func (e Message_MQTTValidationError) ErrorName() string
- func (e Message_MQTTValidationError) Field() string
- func (e Message_MQTTValidationError) Key() bool
- func (e Message_MQTTValidationError) Reason() string
- type Message_NATS
- func (*Message_NATS) Descriptor() ([]byte, []int)deprecated
- func (x *Message_NATS) GetCodec() string
- func (x *Message_NATS) GetEndpoint() string
- func (*Message_NATS) ProtoMessage()
- func (x *Message_NATS) ProtoReflect() protoreflect.Message
- func (x *Message_NATS) Reset()
- func (x *Message_NATS) String() string
- func (m *Message_NATS) Validate() error
- func (m *Message_NATS) ValidateAll() error
- type Message_NATSMultiError
- type Message_NATSValidationError
- func (e Message_NATSValidationError) Cause() error
- func (e Message_NATSValidationError) Error() string
- func (e Message_NATSValidationError) ErrorName() string
- func (e Message_NATSValidationError) Field() string
- func (e Message_NATSValidationError) Key() bool
- func (e Message_NATSValidationError) Reason() string
- type Message_NSQ
- func (*Message_NSQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_NSQ) GetCodec() string
- func (x *Message_NSQ) GetEndpoint() string
- func (*Message_NSQ) ProtoMessage()
- func (x *Message_NSQ) ProtoReflect() protoreflect.Message
- func (x *Message_NSQ) Reset()
- func (x *Message_NSQ) String() string
- func (m *Message_NSQ) Validate() error
- func (m *Message_NSQ) ValidateAll() error
- type Message_NSQMultiError
- type Message_NSQValidationError
- func (e Message_NSQValidationError) Cause() error
- func (e Message_NSQValidationError) Error() string
- func (e Message_NSQValidationError) ErrorName() string
- func (e Message_NSQValidationError) Field() string
- func (e Message_NSQValidationError) Key() bool
- func (e Message_NSQValidationError) Reason() string
- type Message_Pulsar
- func (*Message_Pulsar) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Pulsar) GetCodec() string
- func (x *Message_Pulsar) GetEndpoint() string
- func (*Message_Pulsar) ProtoMessage()
- func (x *Message_Pulsar) ProtoReflect() protoreflect.Message
- func (x *Message_Pulsar) Reset()
- func (x *Message_Pulsar) String() string
- func (m *Message_Pulsar) Validate() error
- func (m *Message_Pulsar) ValidateAll() error
- type Message_PulsarMultiError
- type Message_PulsarValidationError
- func (e Message_PulsarValidationError) Cause() error
- func (e Message_PulsarValidationError) Error() string
- func (e Message_PulsarValidationError) ErrorName() string
- func (e Message_PulsarValidationError) Field() string
- func (e Message_PulsarValidationError) Key() bool
- func (e Message_PulsarValidationError) Reason() string
- type Message_RabbitMQ
- func (*Message_RabbitMQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_RabbitMQ) GetCodec() string
- func (x *Message_RabbitMQ) GetEndpoint() string
- func (*Message_RabbitMQ) ProtoMessage()
- func (x *Message_RabbitMQ) ProtoReflect() protoreflect.Message
- func (x *Message_RabbitMQ) Reset()
- func (x *Message_RabbitMQ) String() string
- func (m *Message_RabbitMQ) Validate() error
- func (m *Message_RabbitMQ) ValidateAll() error
- type Message_RabbitMQMultiError
- type Message_RabbitMQValidationError
- func (e Message_RabbitMQValidationError) Cause() error
- func (e Message_RabbitMQValidationError) Error() string
- func (e Message_RabbitMQValidationError) ErrorName() string
- func (e Message_RabbitMQValidationError) Field() string
- func (e Message_RabbitMQValidationError) Key() bool
- func (e Message_RabbitMQValidationError) Reason() string
- type Message_Redis
- func (*Message_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Redis) GetCodec() string
- func (x *Message_Redis) GetEndpoint() string
- func (*Message_Redis) ProtoMessage()
- func (x *Message_Redis) ProtoReflect() protoreflect.Message
- func (x *Message_Redis) Reset()
- func (x *Message_Redis) String() string
- func (m *Message_Redis) Validate() error
- func (m *Message_Redis) ValidateAll() error
- type Message_RedisMultiError
- type Message_RedisValidationError
- func (e Message_RedisValidationError) Cause() error
- func (e Message_RedisValidationError) Error() string
- func (e Message_RedisValidationError) ErrorName() string
- func (e Message_RedisValidationError) Field() string
- func (e Message_RedisValidationError) Key() bool
- func (e Message_RedisValidationError) Reason() string
- type Message_RocketMQ
- func (*Message_RocketMQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_RocketMQ) GetAccessKey() string
- func (x *Message_RocketMQ) GetCodec() string
- func (x *Message_RocketMQ) GetEnableTrace() bool
- func (x *Message_RocketMQ) GetEndpoint() string
- func (x *Message_RocketMQ) GetGroupName() string
- func (x *Message_RocketMQ) GetInstanceName() string
- func (x *Message_RocketMQ) GetNameServerDomain() string
- func (x *Message_RocketMQ) GetNameServers() []string
- func (x *Message_RocketMQ) GetNamespace() string
- func (x *Message_RocketMQ) GetSecretKey() string
- func (x *Message_RocketMQ) GetSecurityToken() string
- func (*Message_RocketMQ) ProtoMessage()
- func (x *Message_RocketMQ) ProtoReflect() protoreflect.Message
- func (x *Message_RocketMQ) Reset()
- func (x *Message_RocketMQ) String() string
- func (m *Message_RocketMQ) Validate() error
- func (m *Message_RocketMQ) ValidateAll() error
- type Message_RocketMQMultiError
- type Message_RocketMQValidationError
- func (e Message_RocketMQValidationError) Cause() error
- func (e Message_RocketMQValidationError) Error() string
- func (e Message_RocketMQValidationError) ErrorName() string
- func (e Message_RocketMQValidationError) Field() string
- func (e Message_RocketMQValidationError) Key() bool
- func (e Message_RocketMQValidationError) Reason() string
- type Middleware
- func (*Middleware) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware) GetEnableCircuitBreaker() bool
- func (x *Middleware) GetEnableLogging() bool
- func (x *Middleware) GetEnableMetadata() bool
- func (x *Middleware) GetEnableRecovery() bool
- func (x *Middleware) GetEnableTracing() bool
- func (x *Middleware) GetEnableValidate() bool
- func (x *Middleware) GetMetadata() *Middleware_Metadata
- func (x *Middleware) GetMetrics() *Middleware_Metrics
- func (x *Middleware) GetRateLimiter() *Middleware_RateLimiter
- func (x *Middleware) GetValidator() *Middleware_Validator
- func (*Middleware) ProtoMessage()
- func (x *Middleware) ProtoReflect() protoreflect.Message
- func (x *Middleware) Reset()
- func (x *Middleware) String() string
- func (m *Middleware) Validate() error
- func (m *Middleware) ValidateAll() error
- type MiddlewareMultiError
- type MiddlewareValidationError
- type Middleware_Metadata
- func (*Middleware_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware_Metadata) GetData() map[string]string
- func (x *Middleware_Metadata) GetPrefix() string
- func (*Middleware_Metadata) ProtoMessage()
- func (x *Middleware_Metadata) ProtoReflect() protoreflect.Message
- func (x *Middleware_Metadata) Reset()
- func (x *Middleware_Metadata) String() string
- func (m *Middleware_Metadata) Validate() error
- func (m *Middleware_Metadata) ValidateAll() error
- type Middleware_MetadataMultiError
- type Middleware_MetadataValidationError
- func (e Middleware_MetadataValidationError) Cause() error
- func (e Middleware_MetadataValidationError) Error() string
- func (e Middleware_MetadataValidationError) ErrorName() string
- func (e Middleware_MetadataValidationError) Field() string
- func (e Middleware_MetadataValidationError) Key() bool
- func (e Middleware_MetadataValidationError) Reason() string
- type Middleware_Metrics
- func (*Middleware_Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware_Metrics) GetSupportedMetrics() []string
- func (x *Middleware_Metrics) GetUserMetrics() []*UserMetric
- func (*Middleware_Metrics) ProtoMessage()
- func (x *Middleware_Metrics) ProtoReflect() protoreflect.Message
- func (x *Middleware_Metrics) Reset()
- func (x *Middleware_Metrics) String() string
- func (m *Middleware_Metrics) Validate() error
- func (m *Middleware_Metrics) ValidateAll() error
- type Middleware_MetricsMultiError
- type Middleware_MetricsValidationError
- func (e Middleware_MetricsValidationError) Cause() error
- func (e Middleware_MetricsValidationError) Error() string
- func (e Middleware_MetricsValidationError) ErrorName() string
- func (e Middleware_MetricsValidationError) Field() string
- func (e Middleware_MetricsValidationError) Key() bool
- func (e Middleware_MetricsValidationError) Reason() string
- type Middleware_RateLimiter
- func (*Middleware_RateLimiter) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware_RateLimiter) GetMemory() *Middleware_RateLimiter_Memory
- func (x *Middleware_RateLimiter) GetName() string
- func (x *Middleware_RateLimiter) GetPeriod() int32
- func (x *Middleware_RateLimiter) GetRedis() *Middleware_RateLimiter_Redis
- func (x *Middleware_RateLimiter) GetRetryAfter() int32
- func (x *Middleware_RateLimiter) GetXRatelimitLimit() int32
- func (x *Middleware_RateLimiter) GetXRatelimitRemaining() int32
- func (x *Middleware_RateLimiter) GetXRatelimitReset() int32
- func (*Middleware_RateLimiter) ProtoMessage()
- func (x *Middleware_RateLimiter) ProtoReflect() protoreflect.Message
- func (x *Middleware_RateLimiter) Reset()
- func (x *Middleware_RateLimiter) String() string
- func (m *Middleware_RateLimiter) Validate() error
- func (m *Middleware_RateLimiter) ValidateAll() error
- type Middleware_RateLimiterMultiError
- type Middleware_RateLimiterValidationError
- func (e Middleware_RateLimiterValidationError) Cause() error
- func (e Middleware_RateLimiterValidationError) Error() string
- func (e Middleware_RateLimiterValidationError) ErrorName() string
- func (e Middleware_RateLimiterValidationError) Field() string
- func (e Middleware_RateLimiterValidationError) Key() bool
- func (e Middleware_RateLimiterValidationError) Reason() string
- type Middleware_RateLimiter_Memory
- func (*Middleware_RateLimiter_Memory) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware_RateLimiter_Memory) GetCleanupInterval() *durationpb.Duration
- func (x *Middleware_RateLimiter_Memory) GetExpiration() *durationpb.Duration
- func (*Middleware_RateLimiter_Memory) ProtoMessage()
- func (x *Middleware_RateLimiter_Memory) ProtoReflect() protoreflect.Message
- func (x *Middleware_RateLimiter_Memory) Reset()
- func (x *Middleware_RateLimiter_Memory) String() string
- func (m *Middleware_RateLimiter_Memory) Validate() error
- func (m *Middleware_RateLimiter_Memory) ValidateAll() error
- type Middleware_RateLimiter_MemoryMultiError
- type Middleware_RateLimiter_MemoryValidationError
- func (e Middleware_RateLimiter_MemoryValidationError) Cause() error
- func (e Middleware_RateLimiter_MemoryValidationError) Error() string
- func (e Middleware_RateLimiter_MemoryValidationError) ErrorName() string
- func (e Middleware_RateLimiter_MemoryValidationError) Field() string
- func (e Middleware_RateLimiter_MemoryValidationError) Key() bool
- func (e Middleware_RateLimiter_MemoryValidationError) Reason() string
- type Middleware_RateLimiter_Redis
- func (*Middleware_RateLimiter_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware_RateLimiter_Redis) GetAddr() string
- func (x *Middleware_RateLimiter_Redis) GetDb() int32
- func (x *Middleware_RateLimiter_Redis) GetPassword() string
- func (x *Middleware_RateLimiter_Redis) GetUsername() string
- func (*Middleware_RateLimiter_Redis) ProtoMessage()
- func (x *Middleware_RateLimiter_Redis) ProtoReflect() protoreflect.Message
- func (x *Middleware_RateLimiter_Redis) Reset()
- func (x *Middleware_RateLimiter_Redis) String() string
- func (m *Middleware_RateLimiter_Redis) Validate() error
- func (m *Middleware_RateLimiter_Redis) ValidateAll() error
- type Middleware_RateLimiter_RedisMultiError
- type Middleware_RateLimiter_RedisValidationError
- func (e Middleware_RateLimiter_RedisValidationError) Cause() error
- func (e Middleware_RateLimiter_RedisValidationError) Error() string
- func (e Middleware_RateLimiter_RedisValidationError) ErrorName() string
- func (e Middleware_RateLimiter_RedisValidationError) Field() string
- func (e Middleware_RateLimiter_RedisValidationError) Key() bool
- func (e Middleware_RateLimiter_RedisValidationError) Reason() string
- type Middleware_Validator
- func (*Middleware_Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware_Validator) GetFailFast() bool
- func (x *Middleware_Validator) GetVersion() int32
- func (*Middleware_Validator) ProtoMessage()
- func (x *Middleware_Validator) ProtoReflect() protoreflect.Message
- func (x *Middleware_Validator) Reset()
- func (x *Middleware_Validator) String() string
- func (m *Middleware_Validator) Validate() error
- func (m *Middleware_Validator) ValidateAll() error
- type Middleware_ValidatorMultiError
- type Middleware_ValidatorValidationError
- func (e Middleware_ValidatorValidationError) Cause() error
- func (e Middleware_ValidatorValidationError) Error() string
- func (e Middleware_ValidatorValidationError) ErrorName() string
- func (e Middleware_ValidatorValidationError) Field() string
- func (e Middleware_ValidatorValidationError) Key() bool
- func (e Middleware_ValidatorValidationError) Reason() string
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)deprecated
- func (x *Registry) GetConsul() *Registry_Consul
- func (x *Registry) GetDebug() bool
- func (x *Registry) GetEtcd() *Registry_ETCD
- func (x *Registry) GetServiceName() string
- func (x *Registry) GetType() string
- func (*Registry) ProtoMessage()
- func (x *Registry) ProtoReflect() protoreflect.Message
- func (x *Registry) Reset()
- func (x *Registry) String() string
- func (m *Registry) Validate() error
- func (m *Registry) ValidateAll() error
- type RegistryMultiError
- type RegistryValidationError
- type Registry_Consul
- func (*Registry_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *Registry_Consul) GetAddress() string
- func (x *Registry_Consul) GetDatacenter() string
- func (x *Registry_Consul) GetDeregisterCriticalServiceAfter() uint32
- func (x *Registry_Consul) GetHealthCheck() bool
- func (x *Registry_Consul) GetHealthCheckInterval() uint32
- func (x *Registry_Consul) GetHeartBeat() bool
- func (x *Registry_Consul) GetScheme() string
- func (x *Registry_Consul) GetTimeout() *durationpb.Duration
- func (x *Registry_Consul) GetToken() string
- func (*Registry_Consul) ProtoMessage()
- func (x *Registry_Consul) ProtoReflect() protoreflect.Message
- func (x *Registry_Consul) Reset()
- func (x *Registry_Consul) String() string
- func (m *Registry_Consul) Validate() error
- func (m *Registry_Consul) ValidateAll() error
- type Registry_ConsulMultiError
- type Registry_ConsulValidationError
- func (e Registry_ConsulValidationError) Cause() error
- func (e Registry_ConsulValidationError) Error() string
- func (e Registry_ConsulValidationError) ErrorName() string
- func (e Registry_ConsulValidationError) Field() string
- func (e Registry_ConsulValidationError) Key() bool
- func (e Registry_ConsulValidationError) Reason() string
- type Registry_Custom
- func (*Registry_Custom) Descriptor() ([]byte, []int)deprecated
- func (x *Registry_Custom) GetConfig() *anypb.Any
- func (*Registry_Custom) ProtoMessage()
- func (x *Registry_Custom) ProtoReflect() protoreflect.Message
- func (x *Registry_Custom) Reset()
- func (x *Registry_Custom) String() string
- func (m *Registry_Custom) Validate() error
- func (m *Registry_Custom) ValidateAll() error
- type Registry_CustomMultiError
- type Registry_CustomValidationError
- func (e Registry_CustomValidationError) Cause() error
- func (e Registry_CustomValidationError) Error() string
- func (e Registry_CustomValidationError) ErrorName() string
- func (e Registry_CustomValidationError) Field() string
- func (e Registry_CustomValidationError) Key() bool
- func (e Registry_CustomValidationError) Reason() string
- type Registry_ETCD
- func (*Registry_ETCD) Descriptor() ([]byte, []int)deprecated
- func (x *Registry_ETCD) GetEndpoints() []string
- func (*Registry_ETCD) ProtoMessage()
- func (x *Registry_ETCD) ProtoReflect() protoreflect.Message
- func (x *Registry_ETCD) Reset()
- func (x *Registry_ETCD) String() string
- func (m *Registry_ETCD) Validate() error
- func (m *Registry_ETCD) ValidateAll() error
- type Registry_ETCDMultiError
- type Registry_ETCDValidationError
- func (e Registry_ETCDValidationError) Cause() error
- func (e Registry_ETCDValidationError) Error() string
- func (e Registry_ETCDValidationError) ErrorName() string
- func (e Registry_ETCDValidationError) Field() string
- func (e Registry_ETCDValidationError) Key() bool
- func (e Registry_ETCDValidationError) Reason() string
- type Security
- func (*Security) Descriptor() ([]byte, []int)deprecated
- func (x *Security) GetCasbin() *Security_Casbin
- func (x *Security) GetDirectReleasePaths() []string
- func (x *Security) GetJwt() *Security_JWT
- func (*Security) ProtoMessage()
- func (x *Security) ProtoReflect() protoreflect.Message
- func (x *Security) Reset()
- func (x *Security) String() string
- func (m *Security) Validate() error
- func (m *Security) ValidateAll() error
- type SecurityMultiError
- type SecurityValidationError
- type Security_Casbin
- func (*Security_Casbin) Descriptor() ([]byte, []int)deprecated
- func (x *Security_Casbin) GetModelFile() string
- func (x *Security_Casbin) GetPolicyFile() string
- func (*Security_Casbin) ProtoMessage()
- func (x *Security_Casbin) ProtoReflect() protoreflect.Message
- func (x *Security_Casbin) Reset()
- func (x *Security_Casbin) String() string
- func (m *Security_Casbin) Validate() error
- func (m *Security_Casbin) ValidateAll() error
- type Security_CasbinMultiError
- type Security_CasbinValidationError
- func (e Security_CasbinValidationError) Cause() error
- func (e Security_CasbinValidationError) Error() string
- func (e Security_CasbinValidationError) ErrorName() string
- func (e Security_CasbinValidationError) Field() string
- func (e Security_CasbinValidationError) Key() bool
- func (e Security_CasbinValidationError) Reason() string
- type Security_JWT
- func (*Security_JWT) Descriptor() ([]byte, []int)deprecated
- func (x *Security_JWT) GetExpiredTime() *durationpb.Duration
- func (x *Security_JWT) GetOldSigningKey() string
- func (x *Security_JWT) GetSigningKey() string
- func (x *Security_JWT) GetSigningMethod() string
- func (*Security_JWT) ProtoMessage()
- func (x *Security_JWT) ProtoReflect() protoreflect.Message
- func (x *Security_JWT) Reset()
- func (x *Security_JWT) String() string
- func (m *Security_JWT) Validate() error
- func (m *Security_JWT) ValidateAll() error
- type Security_JWTMultiError
- type Security_JWTValidationError
- func (e Security_JWTValidationError) Cause() error
- func (e Security_JWTValidationError) Error() string
- func (e Security_JWTValidationError) ErrorName() string
- func (e Security_JWTValidationError) Field() string
- func (e Security_JWTValidationError) Key() bool
- func (e Security_JWTValidationError) Reason() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetDynamicEndpoint() bool
- func (x *Service) GetGins() *Service_GINS
- func (x *Service) GetGrpc() *Service_GRPC
- func (x *Service) GetHost() string
- func (x *Service) GetHttp() *Service_HTTP
- func (x *Service) GetMessage() *Message
- func (x *Service) GetMiddleware() *Middleware
- func (x *Service) GetName() string
- func (x *Service) GetSelector() *Service_Selector
- func (x *Service) GetTask() *Task
- func (x *Service) GetWebsocket() *WebSocket
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) Validate() error
- func (m *Service) ValidateAll() error
- type ServiceMultiError
- type ServiceValidationError
- type Service_GINS
- func (*Service_GINS) Descriptor() ([]byte, []int)deprecated
- func (x *Service_GINS) GetAddr() string
- func (x *Service_GINS) GetCertFile() string
- func (x *Service_GINS) GetEndpoint() string
- func (x *Service_GINS) GetIdleTimeout() *durationpb.Duration
- func (x *Service_GINS) GetKeyFile() string
- func (x *Service_GINS) GetNetwork() string
- func (x *Service_GINS) GetReadTimeout() *durationpb.Duration
- func (x *Service_GINS) GetShutdownTimeout() *durationpb.Duration
- func (x *Service_GINS) GetTimeout() *durationpb.Duration
- func (x *Service_GINS) GetUseTls() bool
- func (x *Service_GINS) GetWriteTimeout() *durationpb.Duration
- func (*Service_GINS) ProtoMessage()
- func (x *Service_GINS) ProtoReflect() protoreflect.Message
- func (x *Service_GINS) Reset()
- func (x *Service_GINS) String() string
- func (m *Service_GINS) Validate() error
- func (m *Service_GINS) ValidateAll() error
- type Service_GINSMultiError
- type Service_GINSValidationError
- func (e Service_GINSValidationError) Cause() error
- func (e Service_GINSValidationError) Error() string
- func (e Service_GINSValidationError) ErrorName() string
- func (e Service_GINSValidationError) Field() string
- func (e Service_GINSValidationError) Key() bool
- func (e Service_GINSValidationError) Reason() string
- type Service_GRPC
- func (*Service_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Service_GRPC) GetAddr() string
- func (x *Service_GRPC) GetCertFile() string
- func (x *Service_GRPC) GetEndpoint() string
- func (x *Service_GRPC) GetIdleTimeout() *durationpb.Duration
- func (x *Service_GRPC) GetKeyFile() string
- func (x *Service_GRPC) GetNetwork() string
- func (x *Service_GRPC) GetReadTimeout() *durationpb.Duration
- func (x *Service_GRPC) GetShutdownTimeout() *durationpb.Duration
- func (x *Service_GRPC) GetTimeout() *durationpb.Duration
- func (x *Service_GRPC) GetUseTls() bool
- func (x *Service_GRPC) GetWriteTimeout() *durationpb.Duration
- func (*Service_GRPC) ProtoMessage()
- func (x *Service_GRPC) ProtoReflect() protoreflect.Message
- func (x *Service_GRPC) Reset()
- func (x *Service_GRPC) String() string
- func (m *Service_GRPC) Validate() error
- func (m *Service_GRPC) ValidateAll() error
- type Service_GRPCMultiError
- type Service_GRPCValidationError
- func (e Service_GRPCValidationError) Cause() error
- func (e Service_GRPCValidationError) Error() string
- func (e Service_GRPCValidationError) ErrorName() string
- func (e Service_GRPCValidationError) Field() string
- func (e Service_GRPCValidationError) Key() bool
- func (e Service_GRPCValidationError) Reason() string
- type Service_HTTP
- func (*Service_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Service_HTTP) GetAddr() string
- func (x *Service_HTTP) GetCertFile() string
- func (x *Service_HTTP) GetEndpoint() string
- func (x *Service_HTTP) GetIdleTimeout() *durationpb.Duration
- func (x *Service_HTTP) GetKeyFile() string
- func (x *Service_HTTP) GetNetwork() string
- func (x *Service_HTTP) GetReadTimeout() *durationpb.Duration
- func (x *Service_HTTP) GetShutdownTimeout() *durationpb.Duration
- func (x *Service_HTTP) GetTimeout() *durationpb.Duration
- func (x *Service_HTTP) GetUseTls() bool
- func (x *Service_HTTP) GetWriteTimeout() *durationpb.Duration
- func (*Service_HTTP) ProtoMessage()
- func (x *Service_HTTP) ProtoReflect() protoreflect.Message
- func (x *Service_HTTP) Reset()
- func (x *Service_HTTP) String() string
- func (m *Service_HTTP) Validate() error
- func (m *Service_HTTP) ValidateAll() error
- type Service_HTTPMultiError
- type Service_HTTPValidationError
- func (e Service_HTTPValidationError) Cause() error
- func (e Service_HTTPValidationError) Error() string
- func (e Service_HTTPValidationError) ErrorName() string
- func (e Service_HTTPValidationError) Field() string
- func (e Service_HTTPValidationError) Key() bool
- func (e Service_HTTPValidationError) Reason() string
- type Service_Selector
- func (*Service_Selector) Descriptor() ([]byte, []int)deprecated
- func (x *Service_Selector) GetBuilder() string
- func (x *Service_Selector) GetVersion() string
- func (*Service_Selector) ProtoMessage()
- func (x *Service_Selector) ProtoReflect() protoreflect.Message
- func (x *Service_Selector) Reset()
- func (x *Service_Selector) String() string
- func (m *Service_Selector) Validate() error
- func (m *Service_Selector) ValidateAll() error
- type Service_SelectorMultiError
- type Service_SelectorValidationError
- func (e Service_SelectorValidationError) Cause() error
- func (e Service_SelectorValidationError) Error() string
- func (e Service_SelectorValidationError) ErrorName() string
- func (e Service_SelectorValidationError) Field() string
- func (e Service_SelectorValidationError) Key() bool
- func (e Service_SelectorValidationError) Reason() string
- type SourceConfig
- func (*SourceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig) GetConsul() *SourceConfig_Consul
- func (x *SourceConfig) GetEnvArgs() map[string]string
- func (x *SourceConfig) GetEnvPrefixes() []string
- func (x *SourceConfig) GetEtcd() *SourceConfig_ETCD
- func (x *SourceConfig) GetFile() *SourceConfig_File
- func (x *SourceConfig) GetFormats() []string
- func (x *SourceConfig) GetName() string
- func (x *SourceConfig) GetType() string
- func (*SourceConfig) ProtoMessage()
- func (x *SourceConfig) ProtoReflect() protoreflect.Message
- func (x *SourceConfig) Reset()
- func (x *SourceConfig) String() string
- func (m *SourceConfig) Validate() error
- func (m *SourceConfig) ValidateAll() error
- type SourceConfigMultiError
- type SourceConfigValidationError
- func (e SourceConfigValidationError) Cause() error
- func (e SourceConfigValidationError) Error() string
- func (e SourceConfigValidationError) ErrorName() string
- func (e SourceConfigValidationError) Field() string
- func (e SourceConfigValidationError) Key() bool
- func (e SourceConfigValidationError) Reason() string
- type SourceConfig_Consul
- func (*SourceConfig_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig_Consul) GetAddress() string
- func (x *SourceConfig_Consul) GetPath() string
- func (x *SourceConfig_Consul) GetScheme() string
- func (x *SourceConfig_Consul) GetToken() string
- func (*SourceConfig_Consul) ProtoMessage()
- func (x *SourceConfig_Consul) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_Consul) Reset()
- func (x *SourceConfig_Consul) String() string
- func (m *SourceConfig_Consul) Validate() error
- func (m *SourceConfig_Consul) ValidateAll() error
- type SourceConfig_ConsulMultiError
- type SourceConfig_ConsulValidationError
- func (e SourceConfig_ConsulValidationError) Cause() error
- func (e SourceConfig_ConsulValidationError) Error() string
- func (e SourceConfig_ConsulValidationError) ErrorName() string
- func (e SourceConfig_ConsulValidationError) Field() string
- func (e SourceConfig_ConsulValidationError) Key() bool
- func (e SourceConfig_ConsulValidationError) Reason() string
- type SourceConfig_ETCD
- func (*SourceConfig_ETCD) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig_ETCD) GetEndpoints() []string
- func (*SourceConfig_ETCD) ProtoMessage()
- func (x *SourceConfig_ETCD) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_ETCD) Reset()
- func (x *SourceConfig_ETCD) String() string
- func (m *SourceConfig_ETCD) Validate() error
- func (m *SourceConfig_ETCD) ValidateAll() error
- type SourceConfig_ETCDMultiError
- type SourceConfig_ETCDValidationError
- func (e SourceConfig_ETCDValidationError) Cause() error
- func (e SourceConfig_ETCDValidationError) Error() string
- func (e SourceConfig_ETCDValidationError) ErrorName() string
- func (e SourceConfig_ETCDValidationError) Field() string
- func (e SourceConfig_ETCDValidationError) Key() bool
- func (e SourceConfig_ETCDValidationError) Reason() string
- type SourceConfig_File
- func (*SourceConfig_File) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig_File) GetFormat() string
- func (x *SourceConfig_File) GetPath() string
- func (*SourceConfig_File) ProtoMessage()
- func (x *SourceConfig_File) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_File) Reset()
- func (x *SourceConfig_File) String() string
- func (m *SourceConfig_File) Validate() error
- func (m *SourceConfig_File) ValidateAll() error
- type SourceConfig_FileMultiError
- type SourceConfig_FileValidationError
- func (e SourceConfig_FileValidationError) Cause() error
- func (e SourceConfig_FileValidationError) Error() string
- func (e SourceConfig_FileValidationError) ErrorName() string
- func (e SourceConfig_FileValidationError) Field() string
- func (e SourceConfig_FileValidationError) Key() bool
- func (e SourceConfig_FileValidationError) Reason() string
- type TLSConfig
- func (*TLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig) GetFile() *TLSConfig_File
- func (x *TLSConfig) GetPem() *TLSConfig_PEM
- func (*TLSConfig) ProtoMessage()
- func (x *TLSConfig) ProtoReflect() protoreflect.Message
- func (x *TLSConfig) Reset()
- func (x *TLSConfig) String() string
- func (m *TLSConfig) Validate() error
- func (m *TLSConfig) ValidateAll() error
- type TLSConfigMultiError
- type TLSConfigValidationError
- type TLSConfig_File
- func (*TLSConfig_File) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig_File) GetCa() string
- func (x *TLSConfig_File) GetCert() string
- func (x *TLSConfig_File) GetKey() string
- func (*TLSConfig_File) ProtoMessage()
- func (x *TLSConfig_File) ProtoReflect() protoreflect.Message
- func (x *TLSConfig_File) Reset()
- func (x *TLSConfig_File) String() string
- func (m *TLSConfig_File) Validate() error
- func (m *TLSConfig_File) ValidateAll() error
- type TLSConfig_FileMultiError
- type TLSConfig_FileValidationError
- func (e TLSConfig_FileValidationError) Cause() error
- func (e TLSConfig_FileValidationError) Error() string
- func (e TLSConfig_FileValidationError) ErrorName() string
- func (e TLSConfig_FileValidationError) Field() string
- func (e TLSConfig_FileValidationError) Key() bool
- func (e TLSConfig_FileValidationError) Reason() string
- type TLSConfig_PEM
- func (*TLSConfig_PEM) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig_PEM) GetCa() []byte
- func (x *TLSConfig_PEM) GetCert() []byte
- func (x *TLSConfig_PEM) GetKey() []byte
- func (*TLSConfig_PEM) ProtoMessage()
- func (x *TLSConfig_PEM) ProtoReflect() protoreflect.Message
- func (x *TLSConfig_PEM) Reset()
- func (x *TLSConfig_PEM) String() string
- func (m *TLSConfig_PEM) Validate() error
- func (m *TLSConfig_PEM) ValidateAll() error
- type TLSConfig_PEMMultiError
- type TLSConfig_PEMValidationError
- func (e TLSConfig_PEMValidationError) Cause() error
- func (e TLSConfig_PEMValidationError) Error() string
- func (e TLSConfig_PEMValidationError) ErrorName() string
- func (e TLSConfig_PEMValidationError) Field() string
- func (e TLSConfig_PEMValidationError) Key() bool
- func (e TLSConfig_PEMValidationError) Reason() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetAsynq() *Task_Asynq
- func (x *Task) GetCron() *Task_Cron
- func (x *Task) GetMachinery() *Task_Machinery
- func (x *Task) GetName() string
- func (x *Task) GetType() string
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- func (m *Task) Validate() error
- func (m *Task) ValidateAll() error
- type TaskMultiError
- type TaskValidationError
- type Task_Asynq
- func (*Task_Asynq) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Asynq) GetDb() int32
- func (x *Task_Asynq) GetEndpoint() string
- func (x *Task_Asynq) GetLocation() string
- func (x *Task_Asynq) GetPassword() string
- func (*Task_Asynq) ProtoMessage()
- func (x *Task_Asynq) ProtoReflect() protoreflect.Message
- func (x *Task_Asynq) Reset()
- func (x *Task_Asynq) String() string
- func (m *Task_Asynq) Validate() error
- func (m *Task_Asynq) ValidateAll() error
- type Task_AsynqMultiError
- type Task_AsynqValidationError
- type Task_Cron
- func (*Task_Cron) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Cron) GetAddr() string
- func (*Task_Cron) ProtoMessage()
- func (x *Task_Cron) ProtoReflect() protoreflect.Message
- func (x *Task_Cron) Reset()
- func (x *Task_Cron) String() string
- func (m *Task_Cron) Validate() error
- func (m *Task_Cron) ValidateAll() error
- type Task_CronMultiError
- type Task_CronValidationError
- type Task_Machinery
- func (*Task_Machinery) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Machinery) GetBackends() []string
- func (x *Task_Machinery) GetBrokers() []string
- func (*Task_Machinery) ProtoMessage()
- func (x *Task_Machinery) ProtoReflect() protoreflect.Message
- func (x *Task_Machinery) Reset()
- func (x *Task_Machinery) String() string
- func (m *Task_Machinery) Validate() error
- func (m *Task_Machinery) ValidateAll() error
- type Task_MachineryMultiError
- type Task_MachineryValidationError
- func (e Task_MachineryValidationError) Cause() error
- func (e Task_MachineryValidationError) Error() string
- func (e Task_MachineryValidationError) ErrorName() string
- func (e Task_MachineryValidationError) Field() string
- func (e Task_MachineryValidationError) Key() bool
- func (e Task_MachineryValidationError) Reason() string
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetEndpoint() string
- func (x *Trace) GetName() string
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- func (m *Trace) Validate() error
- func (m *Trace) ValidateAll() error
- type TraceMultiError
- type TraceValidationError
- type UserMetric
- func (*UserMetric) Descriptor() ([]byte, []int)deprecated
- func (x *UserMetric) GetContext() string
- func (x *UserMetric) GetDescription() string
- func (x *UserMetric) GetLabels() map[string]string
- func (x *UserMetric) GetMetadata() map[string]string
- func (x *UserMetric) GetName() string
- func (x *UserMetric) GetTimestamp() *timestamppb.Timestamp
- func (x *UserMetric) GetType() UserMetric_MetricType
- func (x *UserMetric) GetUnit() string
- func (x *UserMetric) GetValue() float64
- func (*UserMetric) ProtoMessage()
- func (x *UserMetric) ProtoReflect() protoreflect.Message
- func (x *UserMetric) Reset()
- func (x *UserMetric) String() string
- func (m *UserMetric) Validate() error
- func (m *UserMetric) ValidateAll() error
- type UserMetricMultiError
- type UserMetricValidationError
- type UserMetric_MetricType
- func (UserMetric_MetricType) Descriptor() protoreflect.EnumDescriptor
- func (x UserMetric_MetricType) Enum() *UserMetric_MetricType
- func (UserMetric_MetricType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserMetric_MetricType) Number() protoreflect.EnumNumber
- func (x UserMetric_MetricType) String() string
- func (UserMetric_MetricType) Type() protoreflect.EnumType
- type WebSocket
- func (*WebSocket) Descriptor() ([]byte, []int)deprecated
- func (x *WebSocket) GetAddr() string
- func (x *WebSocket) GetCodec() string
- func (x *WebSocket) GetNetwork() string
- func (x *WebSocket) GetPath() string
- func (x *WebSocket) GetTimeout() *durationpb.Duration
- func (*WebSocket) ProtoMessage()
- func (x *WebSocket) ProtoReflect() protoreflect.Message
- func (x *WebSocket) Reset()
- func (x *WebSocket) String() string
- func (m *WebSocket) Validate() error
- func (m *WebSocket) ValidateAll() error
- type WebSocketMultiError
- type WebSocketValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Logger_Level_name = map[int32]string{ 0: "LEVEL_UNSPECIFIED", 1: "LEVEL_DEBUG", 2: "LEVEL_INFO", 3: "LEVEL_WARN", 4: "LEVEL_ERROR", 5: "LEVEL_FATAL", } Logger_Level_value = map[string]int32{ "LEVEL_UNSPECIFIED": 0, "LEVEL_DEBUG": 1, "LEVEL_INFO": 2, "LEVEL_WARN": 3, "LEVEL_ERROR": 4, "LEVEL_FATAL": 5, } )
Enum value maps for Logger_Level.
var ( UserMetric_MetricType_name = map[int32]string{ 0: "COUNTER", 1: "GAUGE", 2: "HISTOGRAM", 3: "SUMMARY", } UserMetric_MetricType_value = map[string]int32{ "COUNTER": 0, "GAUGE": 1, "HISTOGRAM": 2, "SUMMARY": 3, } )
Enum value maps for UserMetric_MetricType.
var File_config_v1_cors_proto protoreflect.FileDescriptor
var File_config_v1_customize_proto protoreflect.FileDescriptor
var File_config_v1_data_proto protoreflect.FileDescriptor
var File_config_v1_logger_proto protoreflect.FileDescriptor
var File_config_v1_mail_proto protoreflect.FileDescriptor
var File_config_v1_message_proto protoreflect.FileDescriptor
var File_config_v1_middleware_proto protoreflect.FileDescriptor
var File_config_v1_registry_proto protoreflect.FileDescriptor
var File_config_v1_security_proto protoreflect.FileDescriptor
var File_config_v1_service_proto protoreflect.FileDescriptor
var File_config_v1_source_proto protoreflect.FileDescriptor
var File_config_v1_task_proto protoreflect.FileDescriptor
var File_config_v1_tlsconfig_proto protoreflect.FileDescriptor
var File_config_v1_tracer_proto protoreflect.FileDescriptor
var File_config_v1_websocket_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cors ¶
type Cors struct { // Enabled indicates whether CORS should be enabled for the target. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // AllowCredentials indicates whether the request can include user credentials like // cookies, HTTP authentication or client side SSL certificates. AllowCredentials bool `protobuf:"varint,2,opt,name=allow_credentials,proto3" json:"allow_credentials,omitempty"` // AllowOrigins is a list of origins a cross-domain request can be executed from. // If the special "*" value is present in the list, all origins will be allowed. // Default value is [*] AllowOrigins []string `protobuf:"bytes,3,rep,name=allow_origins,proto3" json:"allow_origins,omitempty"` // AllowMethods is a list of methods the client is allowed to use with // cross-domain requests. Default value is simple methods (GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS) AllowMethods []string `protobuf:"bytes,4,rep,name=allow_methods,proto3" json:"allow_methods,omitempty"` // AllowHeaders is list of non simple headers the client is allowed to use with // cross-domain requests. AllowHeaders []string `protobuf:"bytes,5,rep,name=allow_headers,proto3" json:"allow_headers,omitempty"` // ExposeHeaders indicates which headers are safe to expose to the API of a CORS // API specification ExposeHeaders []string `protobuf:"bytes,6,rep,name=expose_headers,proto3" json:"expose_headers,omitempty"` // MaxAge indicates how long (with second-precision) the results of a preflight request // can be cached MaxAge *durationpb.Duration `protobuf:"bytes,7,opt,name=max_age,proto3" json:"max_age,omitempty"` // Allows to add origins like http://some-domain/*, https://api.* or http://some.*.subdomain.com AllowWildcard bool `protobuf:"varint,8,opt,name=allow_wildcard,proto3" json:"allow_wildcard,omitempty"` // Allows usage of popular browser extensions schemas AllowBrowserExtensions bool `protobuf:"varint,9,opt,name=allow_browser_extensions,proto3" json:"allow_browser_extensions,omitempty"` // Allows usage of WebSocket protocol AllowWebSockets bool `protobuf:"varint,10,opt,name=allow_web_sockets,proto3" json:"allow_web_sockets,omitempty"` // Allows usage of private network addresses (127.0.0.1, [::1], localhost) AllowPrivateNetwork bool `protobuf:"varint,11,opt,name=allow_private_network,proto3" json:"allow_private_network,omitempty"` // Allows usage of file:// schema (dangerous!) use it only when you 100% sure it's needed AllowFiles bool `protobuf:"varint,12,opt,name=allow_files,proto3" json:"allow_files,omitempty"` // contains filtered or unexported fields }
Cors
func (*Cors) Descriptor
deprecated
func (*Cors) GetAllowBrowserExtensions ¶
func (*Cors) GetAllowCredentials ¶
func (*Cors) GetAllowFiles ¶
func (*Cors) GetAllowHeaders ¶
func (*Cors) GetAllowMethods ¶
func (*Cors) GetAllowOrigins ¶
func (*Cors) GetAllowPrivateNetwork ¶
func (*Cors) GetAllowWebSockets ¶
func (*Cors) GetAllowWildcard ¶
func (*Cors) GetEnabled ¶
func (*Cors) GetExposeHeaders ¶
func (*Cors) GetMaxAge ¶
func (x *Cors) GetMaxAge() *durationpb.Duration
func (*Cors) ProtoMessage ¶
func (*Cors) ProtoMessage()
func (*Cors) ProtoReflect ¶
func (x *Cors) ProtoReflect() protoreflect.Message
func (*Cors) Validate ¶
Validate checks the field values on Cors with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cors) ValidateAll ¶
ValidateAll checks the field values on Cors with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CorsMultiError, or nil if none found.
type CorsMultiError ¶
type CorsMultiError []error
CorsMultiError is an error wrapping multiple validation errors returned by Cors.ValidateAll() if the designated constraints aren't met.
func (CorsMultiError) AllErrors ¶
func (m CorsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CorsMultiError) Error ¶
func (m CorsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CorsValidationError ¶
type CorsValidationError struct {
// contains filtered or unexported fields
}
CorsValidationError is the validation error returned by Cors.Validate if the designated constraints aren't met.
func (CorsValidationError) Cause ¶
func (e CorsValidationError) Cause() error
Cause function returns cause value.
func (CorsValidationError) Error ¶
func (e CorsValidationError) Error() string
Error satisfies the builtin error interface
func (CorsValidationError) ErrorName ¶
func (e CorsValidationError) ErrorName() string
ErrorName returns error name.
func (CorsValidationError) Field ¶
func (e CorsValidationError) Field() string
Field function returns field value.
func (CorsValidationError) Key ¶
func (e CorsValidationError) Key() bool
Key function returns key value.
func (CorsValidationError) Reason ¶
func (e CorsValidationError) Reason() string
Reason function returns reason value.
type Customize ¶
type Customize struct { // configs is a map of custom configs Configs map[string]*Customize_Config `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Customize
func (*Customize) Descriptor
deprecated
func (*Customize) GetConfigs ¶
func (x *Customize) GetConfigs() map[string]*Customize_Config
func (*Customize) ProtoMessage ¶
func (*Customize) ProtoMessage()
func (*Customize) ProtoReflect ¶
func (x *Customize) ProtoReflect() protoreflect.Message
func (*Customize) Validate ¶
Validate checks the field values on Customize with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Customize) ValidateAll ¶
ValidateAll checks the field values on Customize with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CustomizeMultiError, or nil if none found.
type CustomizeMultiError ¶
type CustomizeMultiError []error
CustomizeMultiError is an error wrapping multiple validation errors returned by Customize.ValidateAll() if the designated constraints aren't met.
func (CustomizeMultiError) AllErrors ¶
func (m CustomizeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomizeMultiError) Error ¶
func (m CustomizeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomizeValidationError ¶
type CustomizeValidationError struct {
// contains filtered or unexported fields
}
CustomizeValidationError is the validation error returned by Customize.Validate if the designated constraints aren't met.
func (CustomizeValidationError) Cause ¶
func (e CustomizeValidationError) Cause() error
Cause function returns cause value.
func (CustomizeValidationError) Error ¶
func (e CustomizeValidationError) Error() string
Error satisfies the builtin error interface
func (CustomizeValidationError) ErrorName ¶
func (e CustomizeValidationError) ErrorName() string
ErrorName returns error name.
func (CustomizeValidationError) Field ¶
func (e CustomizeValidationError) Field() string
Field function returns field value.
func (CustomizeValidationError) Key ¶
func (e CustomizeValidationError) Key() bool
Key function returns key value.
func (CustomizeValidationError) Reason ¶
func (e CustomizeValidationError) Reason() string
Reason function returns reason value.
type Customize_Config ¶
type Customize_Config struct { // enabled is used to enable or disable the custom config Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // type can be any type but defined in runtime Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // value can be any type Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Customize_Config) Descriptor
deprecated
func (*Customize_Config) Descriptor() ([]byte, []int)
Deprecated: Use Customize_Config.ProtoReflect.Descriptor instead.
func (*Customize_Config) GetEnabled ¶
func (x *Customize_Config) GetEnabled() bool
func (*Customize_Config) GetType ¶
func (x *Customize_Config) GetType() string
func (*Customize_Config) GetValue ¶
func (x *Customize_Config) GetValue() *anypb.Any
func (*Customize_Config) ProtoMessage ¶
func (*Customize_Config) ProtoMessage()
func (*Customize_Config) ProtoReflect ¶
func (x *Customize_Config) ProtoReflect() protoreflect.Message
func (*Customize_Config) Reset ¶
func (x *Customize_Config) Reset()
func (*Customize_Config) String ¶
func (x *Customize_Config) String() string
func (*Customize_Config) Validate ¶
func (m *Customize_Config) Validate() error
Validate checks the field values on Customize_Config with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Customize_Config) ValidateAll ¶
func (m *Customize_Config) ValidateAll() error
ValidateAll checks the field values on Customize_Config with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Customize_ConfigMultiError, or nil if none found.
type Customize_ConfigMultiError ¶
type Customize_ConfigMultiError []error
Customize_ConfigMultiError is an error wrapping multiple validation errors returned by Customize_Config.ValidateAll() if the designated constraints aren't met.
func (Customize_ConfigMultiError) AllErrors ¶
func (m Customize_ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Customize_ConfigMultiError) Error ¶
func (m Customize_ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Customize_ConfigValidationError ¶
type Customize_ConfigValidationError struct {
// contains filtered or unexported fields
}
Customize_ConfigValidationError is the validation error returned by Customize_Config.Validate if the designated constraints aren't met.
func (Customize_ConfigValidationError) Cause ¶
func (e Customize_ConfigValidationError) Cause() error
Cause function returns cause value.
func (Customize_ConfigValidationError) Error ¶
func (e Customize_ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Customize_ConfigValidationError) ErrorName ¶
func (e Customize_ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Customize_ConfigValidationError) Field ¶
func (e Customize_ConfigValidationError) Field() string
Field function returns field value.
func (Customize_ConfigValidationError) Key ¶
func (e Customize_ConfigValidationError) Key() bool
Key function returns key value.
func (Customize_ConfigValidationError) Reason ¶
func (e Customize_ConfigValidationError) Reason() string
Reason function returns reason value.
type Data ¶
type Data struct { // Database Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // Cache Cache *Data_Cache `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` // Storage Storage *Data_Storage `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"` // contains filtered or unexported fields }
Data
func (*Data) Descriptor
deprecated
func (*Data) GetCache ¶
func (x *Data) GetCache() *Data_Cache
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
func (*Data) GetStorage ¶
func (x *Data) GetStorage() *Data_Storage
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
func (*Data) Validate ¶
Validate checks the field values on Data with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data) ValidateAll ¶
ValidateAll checks the field values on Data with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataMultiError, or nil if none found.
type DataMultiError ¶
type DataMultiError []error
DataMultiError is an error wrapping multiple validation errors returned by Data.ValidateAll() if the designated constraints aren't met.
func (DataMultiError) AllErrors ¶
func (m DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataMultiError) Error ¶
func (m DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataValidationError ¶
type DataValidationError struct {
// contains filtered or unexported fields
}
DataValidationError is the validation error returned by Data.Validate if the designated constraints aren't met.
func (DataValidationError) Cause ¶
func (e DataValidationError) Cause() error
Cause function returns cause value.
func (DataValidationError) Error ¶
func (e DataValidationError) Error() string
Error satisfies the builtin error interface
func (DataValidationError) ErrorName ¶
func (e DataValidationError) ErrorName() string
ErrorName returns error name.
func (DataValidationError) Field ¶
func (e DataValidationError) Field() string
Field function returns field value.
func (DataValidationError) Key ¶
func (e DataValidationError) Key() bool
Key function returns key value.
func (DataValidationError) Reason ¶
func (e DataValidationError) Reason() string
Reason function returns reason value.
type Data_BadgerDS ¶
type Data_BadgerDS struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` SyncWrites bool `protobuf:"varint,2,opt,name=sync_writes,proto3" json:"sync_writes,omitempty"` ValueLogFileSize int32 `protobuf:"varint,3,opt,name=value_log_file_size,proto3" json:"value_log_file_size,omitempty"` LogLevel uint32 `protobuf:"varint,4,opt,name=log_level,proto3" json:"log_level,omitempty"` // contains filtered or unexported fields }
func (*Data_BadgerDS) Descriptor
deprecated
func (*Data_BadgerDS) Descriptor() ([]byte, []int)
Deprecated: Use Data_BadgerDS.ProtoReflect.Descriptor instead.
func (*Data_BadgerDS) GetLogLevel ¶
func (x *Data_BadgerDS) GetLogLevel() uint32
func (*Data_BadgerDS) GetPath ¶
func (x *Data_BadgerDS) GetPath() string
func (*Data_BadgerDS) GetSyncWrites ¶
func (x *Data_BadgerDS) GetSyncWrites() bool
func (*Data_BadgerDS) GetValueLogFileSize ¶
func (x *Data_BadgerDS) GetValueLogFileSize() int32
func (*Data_BadgerDS) ProtoMessage ¶
func (*Data_BadgerDS) ProtoMessage()
func (*Data_BadgerDS) ProtoReflect ¶
func (x *Data_BadgerDS) ProtoReflect() protoreflect.Message
func (*Data_BadgerDS) Reset ¶
func (x *Data_BadgerDS) Reset()
func (*Data_BadgerDS) String ¶
func (x *Data_BadgerDS) String() string
func (*Data_BadgerDS) Validate ¶
func (m *Data_BadgerDS) Validate() error
Validate checks the field values on Data_BadgerDS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_BadgerDS) ValidateAll ¶
func (m *Data_BadgerDS) ValidateAll() error
ValidateAll checks the field values on Data_BadgerDS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_BadgerDSMultiError, or nil if none found.
type Data_BadgerDSMultiError ¶
type Data_BadgerDSMultiError []error
Data_BadgerDSMultiError is an error wrapping multiple validation errors returned by Data_BadgerDS.ValidateAll() if the designated constraints aren't met.
func (Data_BadgerDSMultiError) AllErrors ¶
func (m Data_BadgerDSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_BadgerDSMultiError) Error ¶
func (m Data_BadgerDSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_BadgerDSValidationError ¶
type Data_BadgerDSValidationError struct {
// contains filtered or unexported fields
}
Data_BadgerDSValidationError is the validation error returned by Data_BadgerDS.Validate if the designated constraints aren't met.
func (Data_BadgerDSValidationError) Cause ¶
func (e Data_BadgerDSValidationError) Cause() error
Cause function returns cause value.
func (Data_BadgerDSValidationError) Error ¶
func (e Data_BadgerDSValidationError) Error() string
Error satisfies the builtin error interface
func (Data_BadgerDSValidationError) ErrorName ¶
func (e Data_BadgerDSValidationError) ErrorName() string
ErrorName returns error name.
func (Data_BadgerDSValidationError) Field ¶
func (e Data_BadgerDSValidationError) Field() string
Field function returns field value.
func (Data_BadgerDSValidationError) Key ¶
func (e Data_BadgerDSValidationError) Key() bool
Key function returns key value.
func (Data_BadgerDSValidationError) Reason ¶
func (e Data_BadgerDSValidationError) Reason() string
Reason function returns reason value.
type Data_Cache ¶
type Data_Cache struct { // Driver name: redis, memcached, etc. Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` // Memcached Memcached *Data_Memcached `protobuf:"bytes,10,opt,name=memcached,proto3" json:"memcached,omitempty"` // Memory cache Memory *Data_Memory `protobuf:"bytes,11,opt,name=memory,proto3" json:"memory,omitempty"` // Redis Redis *Data_Redis `protobuf:"bytes,12,opt,name=redis,proto3" json:"redis,omitempty"` // Badger Badger *Data_BadgerDS `protobuf:"bytes,13,opt,name=badger,proto3" json:"badger,omitempty"` // contains filtered or unexported fields }
Cache
func (*Data_Cache) Descriptor
deprecated
func (*Data_Cache) Descriptor() ([]byte, []int)
Deprecated: Use Data_Cache.ProtoReflect.Descriptor instead.
func (*Data_Cache) GetBadger ¶
func (x *Data_Cache) GetBadger() *Data_BadgerDS
func (*Data_Cache) GetDriver ¶
func (x *Data_Cache) GetDriver() string
func (*Data_Cache) GetMemcached ¶
func (x *Data_Cache) GetMemcached() *Data_Memcached
func (*Data_Cache) GetMemory ¶
func (x *Data_Cache) GetMemory() *Data_Memory
func (*Data_Cache) GetRedis ¶
func (x *Data_Cache) GetRedis() *Data_Redis
func (*Data_Cache) ProtoMessage ¶
func (*Data_Cache) ProtoMessage()
func (*Data_Cache) ProtoReflect ¶
func (x *Data_Cache) ProtoReflect() protoreflect.Message
func (*Data_Cache) Reset ¶
func (x *Data_Cache) Reset()
func (*Data_Cache) String ¶
func (x *Data_Cache) String() string
func (*Data_Cache) Validate ¶
func (m *Data_Cache) Validate() error
Validate checks the field values on Data_Cache with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Cache) ValidateAll ¶
func (m *Data_Cache) ValidateAll() error
ValidateAll checks the field values on Data_Cache with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_CacheMultiError, or nil if none found.
type Data_CacheMultiError ¶
type Data_CacheMultiError []error
Data_CacheMultiError is an error wrapping multiple validation errors returned by Data_Cache.ValidateAll() if the designated constraints aren't met.
func (Data_CacheMultiError) AllErrors ¶
func (m Data_CacheMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_CacheMultiError) Error ¶
func (m Data_CacheMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_CacheValidationError ¶
type Data_CacheValidationError struct {
// contains filtered or unexported fields
}
Data_CacheValidationError is the validation error returned by Data_Cache.Validate if the designated constraints aren't met.
func (Data_CacheValidationError) Cause ¶
func (e Data_CacheValidationError) Cause() error
Cause function returns cause value.
func (Data_CacheValidationError) Error ¶
func (e Data_CacheValidationError) Error() string
Error satisfies the builtin error interface
func (Data_CacheValidationError) ErrorName ¶
func (e Data_CacheValidationError) ErrorName() string
ErrorName returns error name.
func (Data_CacheValidationError) Field ¶
func (e Data_CacheValidationError) Field() string
Field function returns field value.
func (Data_CacheValidationError) Key ¶
func (e Data_CacheValidationError) Key() bool
Key function returns key value.
func (Data_CacheValidationError) Reason ¶
func (e Data_CacheValidationError) Reason() string
Reason function returns reason value.
type Data_Database ¶
type Data_Database struct { // Debugging Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"` // Driver name: mysql, postgresql, mongodb, sqlite...... Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"` // Data source (DSN string) Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Data migration switch Migrate bool `protobuf:"varint,10,opt,name=migrate,proto3" json:"migrate,omitempty"` // Link tracking switch EnableTrace bool `protobuf:"varint,12,opt,name=enable_trace,proto3" json:"enable_trace,omitempty"` // Performance analysis switch EnableMetrics bool `protobuf:"varint,13,opt,name=enable_metrics,proto3" json:"enable_metrics,omitempty"` // Maximum number of free connections in the connection pool MaxIdleConnections int32 `protobuf:"varint,20,opt,name=max_idle_connections,proto3" json:"max_idle_connections,omitempty"` // Maximum number of open connections in the connection pool MaxOpenConnections int32 `protobuf:"varint,21,opt,name=max_open_connections,proto3" json:"max_open_connections,omitempty"` // Maximum length of time that the connection can be reused ConnectionMaxLifetime *durationpb.Duration `protobuf:"bytes,22,opt,name=connection_max_lifetime,proto3" json:"connection_max_lifetime,omitempty"` // Maximum number of connections in the connection pool for reading ConnectionMaxIdleTime *durationpb.Duration `protobuf:"bytes,23,opt,name=connection_max_idle_time,proto3" json:"connection_max_idle_time,omitempty"` // contains filtered or unexported fields }
Database
func (*Data_Database) Descriptor
deprecated
func (*Data_Database) Descriptor() ([]byte, []int)
Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
func (*Data_Database) GetConnectionMaxIdleTime ¶
func (x *Data_Database) GetConnectionMaxIdleTime() *durationpb.Duration
func (*Data_Database) GetConnectionMaxLifetime ¶
func (x *Data_Database) GetConnectionMaxLifetime() *durationpb.Duration
func (*Data_Database) GetDebug ¶
func (x *Data_Database) GetDebug() bool
func (*Data_Database) GetDriver ¶
func (x *Data_Database) GetDriver() string
func (*Data_Database) GetEnableMetrics ¶
func (x *Data_Database) GetEnableMetrics() bool
func (*Data_Database) GetEnableTrace ¶
func (x *Data_Database) GetEnableTrace() bool
func (*Data_Database) GetMaxIdleConnections ¶
func (x *Data_Database) GetMaxIdleConnections() int32
func (*Data_Database) GetMaxOpenConnections ¶
func (x *Data_Database) GetMaxOpenConnections() int32
func (*Data_Database) GetMigrate ¶
func (x *Data_Database) GetMigrate() bool
func (*Data_Database) GetSource ¶
func (x *Data_Database) GetSource() string
func (*Data_Database) ProtoMessage ¶
func (*Data_Database) ProtoMessage()
func (*Data_Database) ProtoReflect ¶
func (x *Data_Database) ProtoReflect() protoreflect.Message
func (*Data_Database) Reset ¶
func (x *Data_Database) Reset()
func (*Data_Database) String ¶
func (x *Data_Database) String() string
func (*Data_Database) Validate ¶
func (m *Data_Database) Validate() error
Validate checks the field values on Data_Database with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Database) ValidateAll ¶
func (m *Data_Database) ValidateAll() error
ValidateAll checks the field values on Data_Database with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_DatabaseMultiError, or nil if none found.
type Data_DatabaseMultiError ¶
type Data_DatabaseMultiError []error
Data_DatabaseMultiError is an error wrapping multiple validation errors returned by Data_Database.ValidateAll() if the designated constraints aren't met.
func (Data_DatabaseMultiError) AllErrors ¶
func (m Data_DatabaseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_DatabaseMultiError) Error ¶
func (m Data_DatabaseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_DatabaseValidationError ¶
type Data_DatabaseValidationError struct {
// contains filtered or unexported fields
}
Data_DatabaseValidationError is the validation error returned by Data_Database.Validate if the designated constraints aren't met.
func (Data_DatabaseValidationError) Cause ¶
func (e Data_DatabaseValidationError) Cause() error
Cause function returns cause value.
func (Data_DatabaseValidationError) Error ¶
func (e Data_DatabaseValidationError) Error() string
Error satisfies the builtin error interface
func (Data_DatabaseValidationError) ErrorName ¶
func (e Data_DatabaseValidationError) ErrorName() string
ErrorName returns error name.
func (Data_DatabaseValidationError) Field ¶
func (e Data_DatabaseValidationError) Field() string
Field function returns field value.
func (Data_DatabaseValidationError) Key ¶
func (e Data_DatabaseValidationError) Key() bool
Key function returns key value.
func (Data_DatabaseValidationError) Reason ¶
func (e Data_DatabaseValidationError) Reason() string
Reason function returns reason value.
type Data_File ¶
type Data_File struct { Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
File
func (*Data_File) Descriptor
deprecated
func (*Data_File) ProtoMessage ¶
func (*Data_File) ProtoMessage()
func (*Data_File) ProtoReflect ¶
func (x *Data_File) ProtoReflect() protoreflect.Message
func (*Data_File) Validate ¶
Validate checks the field values on Data_File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_File) ValidateAll ¶
ValidateAll checks the field values on Data_File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_FileMultiError, or nil if none found.
type Data_FileMultiError ¶
type Data_FileMultiError []error
Data_FileMultiError is an error wrapping multiple validation errors returned by Data_File.ValidateAll() if the designated constraints aren't met.
func (Data_FileMultiError) AllErrors ¶
func (m Data_FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_FileMultiError) Error ¶
func (m Data_FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_FileValidationError ¶
type Data_FileValidationError struct {
// contains filtered or unexported fields
}
Data_FileValidationError is the validation error returned by Data_File.Validate if the designated constraints aren't met.
func (Data_FileValidationError) Cause ¶
func (e Data_FileValidationError) Cause() error
Cause function returns cause value.
func (Data_FileValidationError) Error ¶
func (e Data_FileValidationError) Error() string
Error satisfies the builtin error interface
func (Data_FileValidationError) ErrorName ¶
func (e Data_FileValidationError) ErrorName() string
ErrorName returns error name.
func (Data_FileValidationError) Field ¶
func (e Data_FileValidationError) Field() string
Field function returns field value.
func (Data_FileValidationError) Key ¶
func (e Data_FileValidationError) Key() bool
Key function returns key value.
func (Data_FileValidationError) Reason ¶
func (e Data_FileValidationError) Reason() string
Reason function returns reason value.
type Data_Memcached ¶
type Data_Memcached struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` MaxIdle int32 `protobuf:"varint,4,opt,name=max_idle,proto3" json:"max_idle,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
Memcached
func (*Data_Memcached) Descriptor
deprecated
func (*Data_Memcached) Descriptor() ([]byte, []int)
Deprecated: Use Data_Memcached.ProtoReflect.Descriptor instead.
func (*Data_Memcached) GetAddr ¶
func (x *Data_Memcached) GetAddr() string
func (*Data_Memcached) GetMaxIdle ¶
func (x *Data_Memcached) GetMaxIdle() int32
func (*Data_Memcached) GetPassword ¶
func (x *Data_Memcached) GetPassword() string
func (*Data_Memcached) GetTimeout ¶
func (x *Data_Memcached) GetTimeout() *durationpb.Duration
func (*Data_Memcached) GetUsername ¶
func (x *Data_Memcached) GetUsername() string
func (*Data_Memcached) ProtoMessage ¶
func (*Data_Memcached) ProtoMessage()
func (*Data_Memcached) ProtoReflect ¶
func (x *Data_Memcached) ProtoReflect() protoreflect.Message
func (*Data_Memcached) Reset ¶
func (x *Data_Memcached) Reset()
func (*Data_Memcached) String ¶
func (x *Data_Memcached) String() string
func (*Data_Memcached) Validate ¶
func (m *Data_Memcached) Validate() error
Validate checks the field values on Data_Memcached with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Memcached) ValidateAll ¶
func (m *Data_Memcached) ValidateAll() error
ValidateAll checks the field values on Data_Memcached with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_MemcachedMultiError, or nil if none found.
type Data_MemcachedMultiError ¶
type Data_MemcachedMultiError []error
Data_MemcachedMultiError is an error wrapping multiple validation errors returned by Data_Memcached.ValidateAll() if the designated constraints aren't met.
func (Data_MemcachedMultiError) AllErrors ¶
func (m Data_MemcachedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_MemcachedMultiError) Error ¶
func (m Data_MemcachedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_MemcachedValidationError ¶
type Data_MemcachedValidationError struct {
// contains filtered or unexported fields
}
Data_MemcachedValidationError is the validation error returned by Data_Memcached.Validate if the designated constraints aren't met.
func (Data_MemcachedValidationError) Cause ¶
func (e Data_MemcachedValidationError) Cause() error
Cause function returns cause value.
func (Data_MemcachedValidationError) Error ¶
func (e Data_MemcachedValidationError) Error() string
Error satisfies the builtin error interface
func (Data_MemcachedValidationError) ErrorName ¶
func (e Data_MemcachedValidationError) ErrorName() string
ErrorName returns error name.
func (Data_MemcachedValidationError) Field ¶
func (e Data_MemcachedValidationError) Field() string
Field function returns field value.
func (Data_MemcachedValidationError) Key ¶
func (e Data_MemcachedValidationError) Key() bool
Key function returns key value.
func (Data_MemcachedValidationError) Reason ¶
func (e Data_MemcachedValidationError) Reason() string
Reason function returns reason value.
type Data_Memory ¶
type Data_Memory struct { Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Capacity int32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"` Expiration *durationpb.Duration `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` CleanupInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=cleanup_interval,proto3" json:"cleanup_interval,omitempty"` // contains filtered or unexported fields }
Memory
func (*Data_Memory) Descriptor
deprecated
func (*Data_Memory) Descriptor() ([]byte, []int)
Deprecated: Use Data_Memory.ProtoReflect.Descriptor instead.
func (*Data_Memory) GetCapacity ¶
func (x *Data_Memory) GetCapacity() int32
func (*Data_Memory) GetCleanupInterval ¶
func (x *Data_Memory) GetCleanupInterval() *durationpb.Duration
func (*Data_Memory) GetExpiration ¶
func (x *Data_Memory) GetExpiration() *durationpb.Duration
func (*Data_Memory) GetSize ¶
func (x *Data_Memory) GetSize() int32
func (*Data_Memory) ProtoMessage ¶
func (*Data_Memory) ProtoMessage()
func (*Data_Memory) ProtoReflect ¶
func (x *Data_Memory) ProtoReflect() protoreflect.Message
func (*Data_Memory) Reset ¶
func (x *Data_Memory) Reset()
func (*Data_Memory) String ¶
func (x *Data_Memory) String() string
func (*Data_Memory) Validate ¶
func (m *Data_Memory) Validate() error
Validate checks the field values on Data_Memory with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Memory) ValidateAll ¶
func (m *Data_Memory) ValidateAll() error
ValidateAll checks the field values on Data_Memory with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_MemoryMultiError, or nil if none found.
type Data_MemoryMultiError ¶
type Data_MemoryMultiError []error
Data_MemoryMultiError is an error wrapping multiple validation errors returned by Data_Memory.ValidateAll() if the designated constraints aren't met.
func (Data_MemoryMultiError) AllErrors ¶
func (m Data_MemoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_MemoryMultiError) Error ¶
func (m Data_MemoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_MemoryValidationError ¶
type Data_MemoryValidationError struct {
// contains filtered or unexported fields
}
Data_MemoryValidationError is the validation error returned by Data_Memory.Validate if the designated constraints aren't met.
func (Data_MemoryValidationError) Cause ¶
func (e Data_MemoryValidationError) Cause() error
Cause function returns cause value.
func (Data_MemoryValidationError) Error ¶
func (e Data_MemoryValidationError) Error() string
Error satisfies the builtin error interface
func (Data_MemoryValidationError) ErrorName ¶
func (e Data_MemoryValidationError) ErrorName() string
ErrorName returns error name.
func (Data_MemoryValidationError) Field ¶
func (e Data_MemoryValidationError) Field() string
Field function returns field value.
func (Data_MemoryValidationError) Key ¶
func (e Data_MemoryValidationError) Key() bool
Key function returns key value.
func (Data_MemoryValidationError) Reason ¶
func (e Data_MemoryValidationError) Reason() string
Reason function returns reason value.
type Data_Mongo ¶
type Data_Mongo struct {
// contains filtered or unexported fields
}
Mongo
func (*Data_Mongo) Descriptor
deprecated
func (*Data_Mongo) Descriptor() ([]byte, []int)
Deprecated: Use Data_Mongo.ProtoReflect.Descriptor instead.
func (*Data_Mongo) ProtoMessage ¶
func (*Data_Mongo) ProtoMessage()
func (*Data_Mongo) ProtoReflect ¶
func (x *Data_Mongo) ProtoReflect() protoreflect.Message
func (*Data_Mongo) Reset ¶
func (x *Data_Mongo) Reset()
func (*Data_Mongo) String ¶
func (x *Data_Mongo) String() string
func (*Data_Mongo) Validate ¶
func (m *Data_Mongo) Validate() error
Validate checks the field values on Data_Mongo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Mongo) ValidateAll ¶
func (m *Data_Mongo) ValidateAll() error
ValidateAll checks the field values on Data_Mongo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_MongoMultiError, or nil if none found.
type Data_MongoMultiError ¶
type Data_MongoMultiError []error
Data_MongoMultiError is an error wrapping multiple validation errors returned by Data_Mongo.ValidateAll() if the designated constraints aren't met.
func (Data_MongoMultiError) AllErrors ¶
func (m Data_MongoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_MongoMultiError) Error ¶
func (m Data_MongoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_MongoValidationError ¶
type Data_MongoValidationError struct {
// contains filtered or unexported fields
}
Data_MongoValidationError is the validation error returned by Data_Mongo.Validate if the designated constraints aren't met.
func (Data_MongoValidationError) Cause ¶
func (e Data_MongoValidationError) Cause() error
Cause function returns cause value.
func (Data_MongoValidationError) Error ¶
func (e Data_MongoValidationError) Error() string
Error satisfies the builtin error interface
func (Data_MongoValidationError) ErrorName ¶
func (e Data_MongoValidationError) ErrorName() string
ErrorName returns error name.
func (Data_MongoValidationError) Field ¶
func (e Data_MongoValidationError) Field() string
Field function returns field value.
func (Data_MongoValidationError) Key ¶
func (e Data_MongoValidationError) Key() bool
Key function returns key value.
func (Data_MongoValidationError) Reason ¶
func (e Data_MongoValidationError) Reason() string
Reason function returns reason value.
type Data_Oss ¶
type Data_Oss struct {
// contains filtered or unexported fields
}
OSS
func (*Data_Oss) Descriptor
deprecated
func (*Data_Oss) ProtoMessage ¶
func (*Data_Oss) ProtoMessage()
func (*Data_Oss) ProtoReflect ¶
func (x *Data_Oss) ProtoReflect() protoreflect.Message
func (*Data_Oss) Validate ¶
Validate checks the field values on Data_Oss with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Oss) ValidateAll ¶
ValidateAll checks the field values on Data_Oss with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_OssMultiError, or nil if none found.
type Data_OssMultiError ¶
type Data_OssMultiError []error
Data_OssMultiError is an error wrapping multiple validation errors returned by Data_Oss.ValidateAll() if the designated constraints aren't met.
func (Data_OssMultiError) AllErrors ¶
func (m Data_OssMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_OssMultiError) Error ¶
func (m Data_OssMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_OssValidationError ¶
type Data_OssValidationError struct {
// contains filtered or unexported fields
}
Data_OssValidationError is the validation error returned by Data_Oss.Validate if the designated constraints aren't met.
func (Data_OssValidationError) Cause ¶
func (e Data_OssValidationError) Cause() error
Cause function returns cause value.
func (Data_OssValidationError) Error ¶
func (e Data_OssValidationError) Error() string
Error satisfies the builtin error interface
func (Data_OssValidationError) ErrorName ¶
func (e Data_OssValidationError) ErrorName() string
ErrorName returns error name.
func (Data_OssValidationError) Field ¶
func (e Data_OssValidationError) Field() string
Field function returns field value.
func (Data_OssValidationError) Key ¶
func (e Data_OssValidationError) Key() bool
Key function returns key value.
func (Data_OssValidationError) Reason ¶
func (e Data_OssValidationError) Reason() string
Reason function returns reason value.
type Data_Redis ¶
type Data_Redis struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"` DialTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=dial_timeout,proto3" json:"dial_timeout,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"` // contains filtered or unexported fields }
Redis
func (*Data_Redis) Descriptor
deprecated
func (*Data_Redis) Descriptor() ([]byte, []int)
Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.
func (*Data_Redis) GetAddr ¶
func (x *Data_Redis) GetAddr() string
func (*Data_Redis) GetDb ¶
func (x *Data_Redis) GetDb() int32
func (*Data_Redis) GetDialTimeout ¶
func (x *Data_Redis) GetDialTimeout() *durationpb.Duration
func (*Data_Redis) GetNetwork ¶
func (x *Data_Redis) GetNetwork() string
func (*Data_Redis) GetPassword ¶
func (x *Data_Redis) GetPassword() string
func (*Data_Redis) GetReadTimeout ¶
func (x *Data_Redis) GetReadTimeout() *durationpb.Duration
func (*Data_Redis) GetWriteTimeout ¶
func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration
func (*Data_Redis) ProtoMessage ¶
func (*Data_Redis) ProtoMessage()
func (*Data_Redis) ProtoReflect ¶
func (x *Data_Redis) ProtoReflect() protoreflect.Message
func (*Data_Redis) Reset ¶
func (x *Data_Redis) Reset()
func (*Data_Redis) String ¶
func (x *Data_Redis) String() string
func (*Data_Redis) Validate ¶
func (m *Data_Redis) Validate() error
Validate checks the field values on Data_Redis with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Redis) ValidateAll ¶
func (m *Data_Redis) ValidateAll() error
ValidateAll checks the field values on Data_Redis with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_RedisMultiError, or nil if none found.
type Data_RedisMultiError ¶
type Data_RedisMultiError []error
Data_RedisMultiError is an error wrapping multiple validation errors returned by Data_Redis.ValidateAll() if the designated constraints aren't met.
func (Data_RedisMultiError) AllErrors ¶
func (m Data_RedisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_RedisMultiError) Error ¶
func (m Data_RedisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_RedisValidationError ¶
type Data_RedisValidationError struct {
// contains filtered or unexported fields
}
Data_RedisValidationError is the validation error returned by Data_Redis.Validate if the designated constraints aren't met.
func (Data_RedisValidationError) Cause ¶
func (e Data_RedisValidationError) Cause() error
Cause function returns cause value.
func (Data_RedisValidationError) Error ¶
func (e Data_RedisValidationError) Error() string
Error satisfies the builtin error interface
func (Data_RedisValidationError) ErrorName ¶
func (e Data_RedisValidationError) ErrorName() string
ErrorName returns error name.
func (Data_RedisValidationError) Field ¶
func (e Data_RedisValidationError) Field() string
Field function returns field value.
func (Data_RedisValidationError) Key ¶
func (e Data_RedisValidationError) Key() bool
Key function returns key value.
func (Data_RedisValidationError) Reason ¶
func (e Data_RedisValidationError) Reason() string
Reason function returns reason value.
type Data_Storage ¶
type Data_Storage struct { // Type Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // File File *Data_File `protobuf:"bytes,10,opt,name=file,proto3" json:"file,omitempty"` // Redis Redis *Data_Redis `protobuf:"bytes,11,opt,name=redis,proto3" json:"redis,omitempty"` // Badger Badger *Data_BadgerDS `protobuf:"bytes,12,opt,name=badger,proto3" json:"badger,omitempty"` // Mongo Mongo *Data_Mongo `protobuf:"bytes,13,opt,name=mongo,proto3" json:"mongo,omitempty"` // OSS Oss *Data_Oss `protobuf:"bytes,14,opt,name=oss,proto3" json:"oss,omitempty"` // contains filtered or unexported fields }
Storage
func (*Data_Storage) Descriptor
deprecated
func (*Data_Storage) Descriptor() ([]byte, []int)
Deprecated: Use Data_Storage.ProtoReflect.Descriptor instead.
func (*Data_Storage) GetBadger ¶
func (x *Data_Storage) GetBadger() *Data_BadgerDS
func (*Data_Storage) GetFile ¶
func (x *Data_Storage) GetFile() *Data_File
func (*Data_Storage) GetMongo ¶
func (x *Data_Storage) GetMongo() *Data_Mongo
func (*Data_Storage) GetOss ¶
func (x *Data_Storage) GetOss() *Data_Oss
func (*Data_Storage) GetRedis ¶
func (x *Data_Storage) GetRedis() *Data_Redis
func (*Data_Storage) GetType ¶
func (x *Data_Storage) GetType() string
func (*Data_Storage) ProtoMessage ¶
func (*Data_Storage) ProtoMessage()
func (*Data_Storage) ProtoReflect ¶
func (x *Data_Storage) ProtoReflect() protoreflect.Message
func (*Data_Storage) Reset ¶
func (x *Data_Storage) Reset()
func (*Data_Storage) String ¶
func (x *Data_Storage) String() string
func (*Data_Storage) Validate ¶
func (m *Data_Storage) Validate() error
Validate checks the field values on Data_Storage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Data_Storage) ValidateAll ¶
func (m *Data_Storage) ValidateAll() error
ValidateAll checks the field values on Data_Storage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_StorageMultiError, or nil if none found.
type Data_StorageMultiError ¶
type Data_StorageMultiError []error
Data_StorageMultiError is an error wrapping multiple validation errors returned by Data_Storage.ValidateAll() if the designated constraints aren't met.
func (Data_StorageMultiError) AllErrors ¶
func (m Data_StorageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Data_StorageMultiError) Error ¶
func (m Data_StorageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Data_StorageValidationError ¶
type Data_StorageValidationError struct {
// contains filtered or unexported fields
}
Data_StorageValidationError is the validation error returned by Data_Storage.Validate if the designated constraints aren't met.
func (Data_StorageValidationError) Cause ¶
func (e Data_StorageValidationError) Cause() error
Cause function returns cause value.
func (Data_StorageValidationError) Error ¶
func (e Data_StorageValidationError) Error() string
Error satisfies the builtin error interface
func (Data_StorageValidationError) ErrorName ¶
func (e Data_StorageValidationError) ErrorName() string
ErrorName returns error name.
func (Data_StorageValidationError) Field ¶
func (e Data_StorageValidationError) Field() string
Field function returns field value.
func (Data_StorageValidationError) Key ¶
func (e Data_StorageValidationError) Key() bool
Key function returns key value.
func (Data_StorageValidationError) Reason ¶
func (e Data_StorageValidationError) Reason() string
Reason function returns reason value.
type Logger ¶
type Logger struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Level Logger_Level `protobuf:"varint,3,opt,name=level,proto3,enum=config.v1.Logger_Level" json:"level,omitempty"` // contains filtered or unexported fields }
Logger
func (*Logger) Descriptor
deprecated
func (*Logger) GetLevel ¶
func (x *Logger) GetLevel() Logger_Level
func (*Logger) ProtoMessage ¶
func (*Logger) ProtoMessage()
func (*Logger) ProtoReflect ¶
func (x *Logger) ProtoReflect() protoreflect.Message
func (*Logger) Validate ¶
Validate checks the field values on Logger with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Logger) ValidateAll ¶
ValidateAll checks the field values on Logger with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoggerMultiError, or nil if none found.
type LoggerMultiError ¶
type LoggerMultiError []error
LoggerMultiError is an error wrapping multiple validation errors returned by Logger.ValidateAll() if the designated constraints aren't met.
func (LoggerMultiError) AllErrors ¶
func (m LoggerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoggerMultiError) Error ¶
func (m LoggerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoggerValidationError ¶
type LoggerValidationError struct {
// contains filtered or unexported fields
}
LoggerValidationError is the validation error returned by Logger.Validate if the designated constraints aren't met.
func (LoggerValidationError) Cause ¶
func (e LoggerValidationError) Cause() error
Cause function returns cause value.
func (LoggerValidationError) Error ¶
func (e LoggerValidationError) Error() string
Error satisfies the builtin error interface
func (LoggerValidationError) ErrorName ¶
func (e LoggerValidationError) ErrorName() string
ErrorName returns error name.
func (LoggerValidationError) Field ¶
func (e LoggerValidationError) Field() string
Field function returns field value.
func (LoggerValidationError) Key ¶
func (e LoggerValidationError) Key() bool
Key function returns key value.
func (LoggerValidationError) Reason ¶
func (e LoggerValidationError) Reason() string
Reason function returns reason value.
type Logger_Level ¶
type Logger_Level int32
Logger level
const ( Logger_LEVEL_UNSPECIFIED Logger_Level = 0 Logger_LEVEL_DEBUG Logger_Level = 1 Logger_LEVEL_INFO Logger_Level = 2 Logger_LEVEL_WARN Logger_Level = 3 Logger_LEVEL_ERROR Logger_Level = 4 Logger_LEVEL_FATAL Logger_Level = 5 )
func (Logger_Level) Descriptor ¶
func (Logger_Level) Descriptor() protoreflect.EnumDescriptor
func (Logger_Level) Enum ¶
func (x Logger_Level) Enum() *Logger_Level
func (Logger_Level) EnumDescriptor
deprecated
func (Logger_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use Logger_Level.Descriptor instead.
func (Logger_Level) Number ¶
func (x Logger_Level) Number() protoreflect.EnumNumber
func (Logger_Level) String ¶
func (x Logger_Level) String() string
func (Logger_Level) Type ¶
func (Logger_Level) Type() protoreflect.EnumType
type Mail ¶
type Mail struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` TokenSecret string `protobuf:"bytes,6,opt,name=token_secret,proto3" json:"token_secret,omitempty"` Ssl bool `protobuf:"varint,7,opt,name=ssl,proto3" json:"ssl,omitempty"` MaxRetries int32 `protobuf:"varint,8,opt,name=max_retries,proto3" json:"max_retries,omitempty"` RetryInterval *durationpb.Duration `protobuf:"bytes,9,opt,name=retry_interval,proto3" json:"retry_interval,omitempty"` Nickname string `protobuf:"bytes,100,opt,name=nickname,proto3" json:"nickname,omitempty"` From string `protobuf:"bytes,101,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*Mail) Descriptor
deprecated
func (*Mail) GetMaxRetries ¶
func (*Mail) GetNickname ¶
func (*Mail) GetPassword ¶
func (*Mail) GetRetryInterval ¶
func (x *Mail) GetRetryInterval() *durationpb.Duration
func (*Mail) GetTokenSecret ¶
func (*Mail) GetUsername ¶
func (*Mail) ProtoMessage ¶
func (*Mail) ProtoMessage()
func (*Mail) ProtoReflect ¶
func (x *Mail) ProtoReflect() protoreflect.Message
func (*Mail) Validate ¶
Validate checks the field values on Mail with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Mail) ValidateAll ¶
ValidateAll checks the field values on Mail with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MailMultiError, or nil if none found.
type MailMultiError ¶
type MailMultiError []error
MailMultiError is an error wrapping multiple validation errors returned by Mail.ValidateAll() if the designated constraints aren't met.
func (MailMultiError) AllErrors ¶
func (m MailMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MailMultiError) Error ¶
func (m MailMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MailValidationError ¶
type MailValidationError struct {
// contains filtered or unexported fields
}
MailValidationError is the validation error returned by Mail.Validate if the designated constraints aren't met.
func (MailValidationError) Cause ¶
func (e MailValidationError) Cause() error
Cause function returns cause value.
func (MailValidationError) Error ¶
func (e MailValidationError) Error() string
Error satisfies the builtin error interface
func (MailValidationError) ErrorName ¶
func (e MailValidationError) ErrorName() string
ErrorName returns error name.
func (MailValidationError) Field ¶
func (e MailValidationError) Field() string
Field function returns field value.
func (MailValidationError) Key ¶
func (e MailValidationError) Key() bool
Key function returns key value.
func (MailValidationError) Reason ¶
func (e MailValidationError) Reason() string
Reason function returns reason value.
type Message ¶
type Message struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // name is for register multiple message service Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Mqtt *Message_MQTT `protobuf:"bytes,3,opt,name=mqtt,proto3" json:"mqtt,omitempty"` Kafka *Message_Kafka `protobuf:"bytes,4,opt,name=kafka,proto3" json:"kafka,omitempty"` Rabbitmq *Message_RabbitMQ `protobuf:"bytes,5,opt,name=rabbitmq,proto3" json:"rabbitmq,omitempty"` Activemq *Message_ActiveMQ `protobuf:"bytes,6,opt,name=activemq,proto3" json:"activemq,omitempty"` Nats *Message_NATS `protobuf:"bytes,7,opt,name=nats,proto3" json:"nats,omitempty"` Nsq *Message_NSQ `protobuf:"bytes,8,opt,name=nsq,proto3" json:"nsq,omitempty"` Pulsar *Message_Pulsar `protobuf:"bytes,9,opt,name=pulsar,proto3" json:"pulsar,omitempty"` Redis *Message_Redis `protobuf:"bytes,10,opt,name=redis,proto3" json:"redis,omitempty"` Rocketmq *Message_RocketMQ `protobuf:"bytes,11,opt,name=rocketmq,proto3" json:"rocketmq,omitempty"` // contains filtered or unexported fields }
Message
func (*Message) Descriptor
deprecated
func (*Message) GetActivemq ¶
func (x *Message) GetActivemq() *Message_ActiveMQ
func (*Message) GetKafka ¶
func (x *Message) GetKafka() *Message_Kafka
func (*Message) GetMqtt ¶
func (x *Message) GetMqtt() *Message_MQTT
func (*Message) GetNats ¶
func (x *Message) GetNats() *Message_NATS
func (*Message) GetNsq ¶
func (x *Message) GetNsq() *Message_NSQ
func (*Message) GetPulsar ¶
func (x *Message) GetPulsar() *Message_Pulsar
func (*Message) GetRabbitmq ¶
func (x *Message) GetRabbitmq() *Message_RabbitMQ
func (*Message) GetRedis ¶
func (x *Message) GetRedis() *Message_Redis
func (*Message) GetRocketmq ¶
func (x *Message) GetRocketmq() *Message_RocketMQ
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Validate ¶
Validate checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message) ValidateAll ¶
ValidateAll checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageMultiError, or nil if none found.
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type Message_ActiveMQ ¶
type Message_ActiveMQ struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
func (*Message_ActiveMQ) Descriptor
deprecated
func (*Message_ActiveMQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_ActiveMQ.ProtoReflect.Descriptor instead.
func (*Message_ActiveMQ) GetCodec ¶
func (x *Message_ActiveMQ) GetCodec() string
func (*Message_ActiveMQ) GetEndpoint ¶
func (x *Message_ActiveMQ) GetEndpoint() string
func (*Message_ActiveMQ) ProtoMessage ¶
func (*Message_ActiveMQ) ProtoMessage()
func (*Message_ActiveMQ) ProtoReflect ¶
func (x *Message_ActiveMQ) ProtoReflect() protoreflect.Message
func (*Message_ActiveMQ) Reset ¶
func (x *Message_ActiveMQ) Reset()
func (*Message_ActiveMQ) String ¶
func (x *Message_ActiveMQ) String() string
func (*Message_ActiveMQ) Validate ¶
func (m *Message_ActiveMQ) Validate() error
Validate checks the field values on Message_ActiveMQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_ActiveMQ) ValidateAll ¶
func (m *Message_ActiveMQ) ValidateAll() error
ValidateAll checks the field values on Message_ActiveMQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_ActiveMQMultiError, or nil if none found.
type Message_ActiveMQMultiError ¶
type Message_ActiveMQMultiError []error
Message_ActiveMQMultiError is an error wrapping multiple validation errors returned by Message_ActiveMQ.ValidateAll() if the designated constraints aren't met.
func (Message_ActiveMQMultiError) AllErrors ¶
func (m Message_ActiveMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_ActiveMQMultiError) Error ¶
func (m Message_ActiveMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_ActiveMQValidationError ¶
type Message_ActiveMQValidationError struct {
// contains filtered or unexported fields
}
Message_ActiveMQValidationError is the validation error returned by Message_ActiveMQ.Validate if the designated constraints aren't met.
func (Message_ActiveMQValidationError) Cause ¶
func (e Message_ActiveMQValidationError) Cause() error
Cause function returns cause value.
func (Message_ActiveMQValidationError) Error ¶
func (e Message_ActiveMQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_ActiveMQValidationError) ErrorName ¶
func (e Message_ActiveMQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_ActiveMQValidationError) Field ¶
func (e Message_ActiveMQValidationError) Field() string
Field function returns field value.
func (Message_ActiveMQValidationError) Key ¶
func (e Message_ActiveMQValidationError) Key() bool
Key function returns key value.
func (Message_ActiveMQValidationError) Reason ¶
func (e Message_ActiveMQValidationError) Reason() string
Reason function returns reason value.
type Message_Kafka ¶
type Message_Kafka struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
Kafka
func (*Message_Kafka) Descriptor
deprecated
func (*Message_Kafka) Descriptor() ([]byte, []int)
Deprecated: Use Message_Kafka.ProtoReflect.Descriptor instead.
func (*Message_Kafka) GetCodec ¶
func (x *Message_Kafka) GetCodec() string
func (*Message_Kafka) GetEndpoint ¶
func (x *Message_Kafka) GetEndpoint() string
func (*Message_Kafka) ProtoMessage ¶
func (*Message_Kafka) ProtoMessage()
func (*Message_Kafka) ProtoReflect ¶
func (x *Message_Kafka) ProtoReflect() protoreflect.Message
func (*Message_Kafka) Reset ¶
func (x *Message_Kafka) Reset()
func (*Message_Kafka) String ¶
func (x *Message_Kafka) String() string
func (*Message_Kafka) Validate ¶
func (m *Message_Kafka) Validate() error
Validate checks the field values on Message_Kafka with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_Kafka) ValidateAll ¶
func (m *Message_Kafka) ValidateAll() error
ValidateAll checks the field values on Message_Kafka with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_KafkaMultiError, or nil if none found.
type Message_KafkaMultiError ¶
type Message_KafkaMultiError []error
Message_KafkaMultiError is an error wrapping multiple validation errors returned by Message_Kafka.ValidateAll() if the designated constraints aren't met.
func (Message_KafkaMultiError) AllErrors ¶
func (m Message_KafkaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_KafkaMultiError) Error ¶
func (m Message_KafkaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_KafkaValidationError ¶
type Message_KafkaValidationError struct {
// contains filtered or unexported fields
}
Message_KafkaValidationError is the validation error returned by Message_Kafka.Validate if the designated constraints aren't met.
func (Message_KafkaValidationError) Cause ¶
func (e Message_KafkaValidationError) Cause() error
Cause function returns cause value.
func (Message_KafkaValidationError) Error ¶
func (e Message_KafkaValidationError) Error() string
Error satisfies the builtin error interface
func (Message_KafkaValidationError) ErrorName ¶
func (e Message_KafkaValidationError) ErrorName() string
ErrorName returns error name.
func (Message_KafkaValidationError) Field ¶
func (e Message_KafkaValidationError) Field() string
Field function returns field value.
func (Message_KafkaValidationError) Key ¶
func (e Message_KafkaValidationError) Key() bool
Key function returns key value.
func (Message_KafkaValidationError) Reason ¶
func (e Message_KafkaValidationError) Reason() string
Reason function returns reason value.
type Message_MQTT ¶
type Message_MQTT struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
MQTT
func (*Message_MQTT) Descriptor
deprecated
func (*Message_MQTT) Descriptor() ([]byte, []int)
Deprecated: Use Message_MQTT.ProtoReflect.Descriptor instead.
func (*Message_MQTT) GetCodec ¶
func (x *Message_MQTT) GetCodec() string
func (*Message_MQTT) GetEndpoint ¶
func (x *Message_MQTT) GetEndpoint() string
func (*Message_MQTT) ProtoMessage ¶
func (*Message_MQTT) ProtoMessage()
func (*Message_MQTT) ProtoReflect ¶
func (x *Message_MQTT) ProtoReflect() protoreflect.Message
func (*Message_MQTT) Reset ¶
func (x *Message_MQTT) Reset()
func (*Message_MQTT) String ¶
func (x *Message_MQTT) String() string
func (*Message_MQTT) Validate ¶
func (m *Message_MQTT) Validate() error
Validate checks the field values on Message_MQTT with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_MQTT) ValidateAll ¶
func (m *Message_MQTT) ValidateAll() error
ValidateAll checks the field values on Message_MQTT with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_MQTTMultiError, or nil if none found.
type Message_MQTTMultiError ¶
type Message_MQTTMultiError []error
Message_MQTTMultiError is an error wrapping multiple validation errors returned by Message_MQTT.ValidateAll() if the designated constraints aren't met.
func (Message_MQTTMultiError) AllErrors ¶
func (m Message_MQTTMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_MQTTMultiError) Error ¶
func (m Message_MQTTMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_MQTTValidationError ¶
type Message_MQTTValidationError struct {
// contains filtered or unexported fields
}
Message_MQTTValidationError is the validation error returned by Message_MQTT.Validate if the designated constraints aren't met.
func (Message_MQTTValidationError) Cause ¶
func (e Message_MQTTValidationError) Cause() error
Cause function returns cause value.
func (Message_MQTTValidationError) Error ¶
func (e Message_MQTTValidationError) Error() string
Error satisfies the builtin error interface
func (Message_MQTTValidationError) ErrorName ¶
func (e Message_MQTTValidationError) ErrorName() string
ErrorName returns error name.
func (Message_MQTTValidationError) Field ¶
func (e Message_MQTTValidationError) Field() string
Field function returns field value.
func (Message_MQTTValidationError) Key ¶
func (e Message_MQTTValidationError) Key() bool
Key function returns key value.
func (Message_MQTTValidationError) Reason ¶
func (e Message_MQTTValidationError) Reason() string
Reason function returns reason value.
type Message_NATS ¶
type Message_NATS struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
func (*Message_NATS) Descriptor
deprecated
func (*Message_NATS) Descriptor() ([]byte, []int)
Deprecated: Use Message_NATS.ProtoReflect.Descriptor instead.
func (*Message_NATS) GetCodec ¶
func (x *Message_NATS) GetCodec() string
func (*Message_NATS) GetEndpoint ¶
func (x *Message_NATS) GetEndpoint() string
func (*Message_NATS) ProtoMessage ¶
func (*Message_NATS) ProtoMessage()
func (*Message_NATS) ProtoReflect ¶
func (x *Message_NATS) ProtoReflect() protoreflect.Message
func (*Message_NATS) Reset ¶
func (x *Message_NATS) Reset()
func (*Message_NATS) String ¶
func (x *Message_NATS) String() string
func (*Message_NATS) Validate ¶
func (m *Message_NATS) Validate() error
Validate checks the field values on Message_NATS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_NATS) ValidateAll ¶
func (m *Message_NATS) ValidateAll() error
ValidateAll checks the field values on Message_NATS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_NATSMultiError, or nil if none found.
type Message_NATSMultiError ¶
type Message_NATSMultiError []error
Message_NATSMultiError is an error wrapping multiple validation errors returned by Message_NATS.ValidateAll() if the designated constraints aren't met.
func (Message_NATSMultiError) AllErrors ¶
func (m Message_NATSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_NATSMultiError) Error ¶
func (m Message_NATSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_NATSValidationError ¶
type Message_NATSValidationError struct {
// contains filtered or unexported fields
}
Message_NATSValidationError is the validation error returned by Message_NATS.Validate if the designated constraints aren't met.
func (Message_NATSValidationError) Cause ¶
func (e Message_NATSValidationError) Cause() error
Cause function returns cause value.
func (Message_NATSValidationError) Error ¶
func (e Message_NATSValidationError) Error() string
Error satisfies the builtin error interface
func (Message_NATSValidationError) ErrorName ¶
func (e Message_NATSValidationError) ErrorName() string
ErrorName returns error name.
func (Message_NATSValidationError) Field ¶
func (e Message_NATSValidationError) Field() string
Field function returns field value.
func (Message_NATSValidationError) Key ¶
func (e Message_NATSValidationError) Key() bool
Key function returns key value.
func (Message_NATSValidationError) Reason ¶
func (e Message_NATSValidationError) Reason() string
Reason function returns reason value.
type Message_NSQ ¶
type Message_NSQ struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
func (*Message_NSQ) Descriptor
deprecated
func (*Message_NSQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_NSQ.ProtoReflect.Descriptor instead.
func (*Message_NSQ) GetCodec ¶
func (x *Message_NSQ) GetCodec() string
func (*Message_NSQ) GetEndpoint ¶
func (x *Message_NSQ) GetEndpoint() string
func (*Message_NSQ) ProtoMessage ¶
func (*Message_NSQ) ProtoMessage()
func (*Message_NSQ) ProtoReflect ¶
func (x *Message_NSQ) ProtoReflect() protoreflect.Message
func (*Message_NSQ) Reset ¶
func (x *Message_NSQ) Reset()
func (*Message_NSQ) String ¶
func (x *Message_NSQ) String() string
func (*Message_NSQ) Validate ¶
func (m *Message_NSQ) Validate() error
Validate checks the field values on Message_NSQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_NSQ) ValidateAll ¶
func (m *Message_NSQ) ValidateAll() error
ValidateAll checks the field values on Message_NSQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_NSQMultiError, or nil if none found.
type Message_NSQMultiError ¶
type Message_NSQMultiError []error
Message_NSQMultiError is an error wrapping multiple validation errors returned by Message_NSQ.ValidateAll() if the designated constraints aren't met.
func (Message_NSQMultiError) AllErrors ¶
func (m Message_NSQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_NSQMultiError) Error ¶
func (m Message_NSQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_NSQValidationError ¶
type Message_NSQValidationError struct {
// contains filtered or unexported fields
}
Message_NSQValidationError is the validation error returned by Message_NSQ.Validate if the designated constraints aren't met.
func (Message_NSQValidationError) Cause ¶
func (e Message_NSQValidationError) Cause() error
Cause function returns cause value.
func (Message_NSQValidationError) Error ¶
func (e Message_NSQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_NSQValidationError) ErrorName ¶
func (e Message_NSQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_NSQValidationError) Field ¶
func (e Message_NSQValidationError) Field() string
Field function returns field value.
func (Message_NSQValidationError) Key ¶
func (e Message_NSQValidationError) Key() bool
Key function returns key value.
func (Message_NSQValidationError) Reason ¶
func (e Message_NSQValidationError) Reason() string
Reason function returns reason value.
type Message_Pulsar ¶
type Message_Pulsar struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
func (*Message_Pulsar) Descriptor
deprecated
func (*Message_Pulsar) Descriptor() ([]byte, []int)
Deprecated: Use Message_Pulsar.ProtoReflect.Descriptor instead.
func (*Message_Pulsar) GetCodec ¶
func (x *Message_Pulsar) GetCodec() string
func (*Message_Pulsar) GetEndpoint ¶
func (x *Message_Pulsar) GetEndpoint() string
func (*Message_Pulsar) ProtoMessage ¶
func (*Message_Pulsar) ProtoMessage()
func (*Message_Pulsar) ProtoReflect ¶
func (x *Message_Pulsar) ProtoReflect() protoreflect.Message
func (*Message_Pulsar) Reset ¶
func (x *Message_Pulsar) Reset()
func (*Message_Pulsar) String ¶
func (x *Message_Pulsar) String() string
func (*Message_Pulsar) Validate ¶
func (m *Message_Pulsar) Validate() error
Validate checks the field values on Message_Pulsar with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_Pulsar) ValidateAll ¶
func (m *Message_Pulsar) ValidateAll() error
ValidateAll checks the field values on Message_Pulsar with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_PulsarMultiError, or nil if none found.
type Message_PulsarMultiError ¶
type Message_PulsarMultiError []error
Message_PulsarMultiError is an error wrapping multiple validation errors returned by Message_Pulsar.ValidateAll() if the designated constraints aren't met.
func (Message_PulsarMultiError) AllErrors ¶
func (m Message_PulsarMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_PulsarMultiError) Error ¶
func (m Message_PulsarMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_PulsarValidationError ¶
type Message_PulsarValidationError struct {
// contains filtered or unexported fields
}
Message_PulsarValidationError is the validation error returned by Message_Pulsar.Validate if the designated constraints aren't met.
func (Message_PulsarValidationError) Cause ¶
func (e Message_PulsarValidationError) Cause() error
Cause function returns cause value.
func (Message_PulsarValidationError) Error ¶
func (e Message_PulsarValidationError) Error() string
Error satisfies the builtin error interface
func (Message_PulsarValidationError) ErrorName ¶
func (e Message_PulsarValidationError) ErrorName() string
ErrorName returns error name.
func (Message_PulsarValidationError) Field ¶
func (e Message_PulsarValidationError) Field() string
Field function returns field value.
func (Message_PulsarValidationError) Key ¶
func (e Message_PulsarValidationError) Key() bool
Key function returns key value.
func (Message_PulsarValidationError) Reason ¶
func (e Message_PulsarValidationError) Reason() string
Reason function returns reason value.
type Message_RabbitMQ ¶
type Message_RabbitMQ struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
RabbitMQ
func (*Message_RabbitMQ) Descriptor
deprecated
func (*Message_RabbitMQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_RabbitMQ.ProtoReflect.Descriptor instead.
func (*Message_RabbitMQ) GetCodec ¶
func (x *Message_RabbitMQ) GetCodec() string
func (*Message_RabbitMQ) GetEndpoint ¶
func (x *Message_RabbitMQ) GetEndpoint() string
func (*Message_RabbitMQ) ProtoMessage ¶
func (*Message_RabbitMQ) ProtoMessage()
func (*Message_RabbitMQ) ProtoReflect ¶
func (x *Message_RabbitMQ) ProtoReflect() protoreflect.Message
func (*Message_RabbitMQ) Reset ¶
func (x *Message_RabbitMQ) Reset()
func (*Message_RabbitMQ) String ¶
func (x *Message_RabbitMQ) String() string
func (*Message_RabbitMQ) Validate ¶
func (m *Message_RabbitMQ) Validate() error
Validate checks the field values on Message_RabbitMQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_RabbitMQ) ValidateAll ¶
func (m *Message_RabbitMQ) ValidateAll() error
ValidateAll checks the field values on Message_RabbitMQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_RabbitMQMultiError, or nil if none found.
type Message_RabbitMQMultiError ¶
type Message_RabbitMQMultiError []error
Message_RabbitMQMultiError is an error wrapping multiple validation errors returned by Message_RabbitMQ.ValidateAll() if the designated constraints aren't met.
func (Message_RabbitMQMultiError) AllErrors ¶
func (m Message_RabbitMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_RabbitMQMultiError) Error ¶
func (m Message_RabbitMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_RabbitMQValidationError ¶
type Message_RabbitMQValidationError struct {
// contains filtered or unexported fields
}
Message_RabbitMQValidationError is the validation error returned by Message_RabbitMQ.Validate if the designated constraints aren't met.
func (Message_RabbitMQValidationError) Cause ¶
func (e Message_RabbitMQValidationError) Cause() error
Cause function returns cause value.
func (Message_RabbitMQValidationError) Error ¶
func (e Message_RabbitMQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_RabbitMQValidationError) ErrorName ¶
func (e Message_RabbitMQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_RabbitMQValidationError) Field ¶
func (e Message_RabbitMQValidationError) Field() string
Field function returns field value.
func (Message_RabbitMQValidationError) Key ¶
func (e Message_RabbitMQValidationError) Key() bool
Key function returns key value.
func (Message_RabbitMQValidationError) Reason ¶
func (e Message_RabbitMQValidationError) Reason() string
Reason function returns reason value.
type Message_Redis ¶
type Message_Redis struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // contains filtered or unexported fields }
func (*Message_Redis) Descriptor
deprecated
func (*Message_Redis) Descriptor() ([]byte, []int)
Deprecated: Use Message_Redis.ProtoReflect.Descriptor instead.
func (*Message_Redis) GetCodec ¶
func (x *Message_Redis) GetCodec() string
func (*Message_Redis) GetEndpoint ¶
func (x *Message_Redis) GetEndpoint() string
func (*Message_Redis) ProtoMessage ¶
func (*Message_Redis) ProtoMessage()
func (*Message_Redis) ProtoReflect ¶
func (x *Message_Redis) ProtoReflect() protoreflect.Message
func (*Message_Redis) Reset ¶
func (x *Message_Redis) Reset()
func (*Message_Redis) String ¶
func (x *Message_Redis) String() string
func (*Message_Redis) Validate ¶
func (m *Message_Redis) Validate() error
Validate checks the field values on Message_Redis with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_Redis) ValidateAll ¶
func (m *Message_Redis) ValidateAll() error
ValidateAll checks the field values on Message_Redis with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_RedisMultiError, or nil if none found.
type Message_RedisMultiError ¶
type Message_RedisMultiError []error
Message_RedisMultiError is an error wrapping multiple validation errors returned by Message_Redis.ValidateAll() if the designated constraints aren't met.
func (Message_RedisMultiError) AllErrors ¶
func (m Message_RedisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_RedisMultiError) Error ¶
func (m Message_RedisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_RedisValidationError ¶
type Message_RedisValidationError struct {
// contains filtered or unexported fields
}
Message_RedisValidationError is the validation error returned by Message_Redis.Validate if the designated constraints aren't met.
func (Message_RedisValidationError) Cause ¶
func (e Message_RedisValidationError) Cause() error
Cause function returns cause value.
func (Message_RedisValidationError) Error ¶
func (e Message_RedisValidationError) Error() string
Error satisfies the builtin error interface
func (Message_RedisValidationError) ErrorName ¶
func (e Message_RedisValidationError) ErrorName() string
ErrorName returns error name.
func (Message_RedisValidationError) Field ¶
func (e Message_RedisValidationError) Field() string
Field function returns field value.
func (Message_RedisValidationError) Key ¶
func (e Message_RedisValidationError) Key() bool
Key function returns key value.
func (Message_RedisValidationError) Reason ¶
func (e Message_RedisValidationError) Reason() string
Reason function returns reason value.
type Message_RocketMQ ¶
type Message_RocketMQ struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` EnableTrace bool `protobuf:"varint,3,opt,name=enable_trace,proto3" json:"enable_trace,omitempty"` NameServers []string `protobuf:"bytes,4,rep,name=name_servers,proto3" json:"name_servers,omitempty"` NameServerDomain string `protobuf:"bytes,5,opt,name=name_server_domain,proto3" json:"name_server_domain,omitempty"` AccessKey string `protobuf:"bytes,6,opt,name=access_key,proto3" json:"access_key,omitempty"` SecretKey string `protobuf:"bytes,7,opt,name=secret_key,proto3" json:"secret_key,omitempty"` SecurityToken string `protobuf:"bytes,8,opt,name=security_token,proto3" json:"security_token,omitempty"` Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"` InstanceName string `protobuf:"bytes,10,opt,name=instance_name,proto3" json:"instance_name,omitempty"` GroupName string `protobuf:"bytes,11,opt,name=group_name,proto3" json:"group_name,omitempty"` // contains filtered or unexported fields }
func (*Message_RocketMQ) Descriptor
deprecated
func (*Message_RocketMQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_RocketMQ.ProtoReflect.Descriptor instead.
func (*Message_RocketMQ) GetAccessKey ¶
func (x *Message_RocketMQ) GetAccessKey() string
func (*Message_RocketMQ) GetCodec ¶
func (x *Message_RocketMQ) GetCodec() string
func (*Message_RocketMQ) GetEnableTrace ¶
func (x *Message_RocketMQ) GetEnableTrace() bool
func (*Message_RocketMQ) GetEndpoint ¶
func (x *Message_RocketMQ) GetEndpoint() string
func (*Message_RocketMQ) GetGroupName ¶
func (x *Message_RocketMQ) GetGroupName() string
func (*Message_RocketMQ) GetInstanceName ¶
func (x *Message_RocketMQ) GetInstanceName() string
func (*Message_RocketMQ) GetNameServerDomain ¶
func (x *Message_RocketMQ) GetNameServerDomain() string
func (*Message_RocketMQ) GetNameServers ¶
func (x *Message_RocketMQ) GetNameServers() []string
func (*Message_RocketMQ) GetNamespace ¶
func (x *Message_RocketMQ) GetNamespace() string
func (*Message_RocketMQ) GetSecretKey ¶
func (x *Message_RocketMQ) GetSecretKey() string
func (*Message_RocketMQ) GetSecurityToken ¶
func (x *Message_RocketMQ) GetSecurityToken() string
func (*Message_RocketMQ) ProtoMessage ¶
func (*Message_RocketMQ) ProtoMessage()
func (*Message_RocketMQ) ProtoReflect ¶
func (x *Message_RocketMQ) ProtoReflect() protoreflect.Message
func (*Message_RocketMQ) Reset ¶
func (x *Message_RocketMQ) Reset()
func (*Message_RocketMQ) String ¶
func (x *Message_RocketMQ) String() string
func (*Message_RocketMQ) Validate ¶
func (m *Message_RocketMQ) Validate() error
Validate checks the field values on Message_RocketMQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message_RocketMQ) ValidateAll ¶
func (m *Message_RocketMQ) ValidateAll() error
ValidateAll checks the field values on Message_RocketMQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Message_RocketMQMultiError, or nil if none found.
type Message_RocketMQMultiError ¶
type Message_RocketMQMultiError []error
Message_RocketMQMultiError is an error wrapping multiple validation errors returned by Message_RocketMQ.ValidateAll() if the designated constraints aren't met.
func (Message_RocketMQMultiError) AllErrors ¶
func (m Message_RocketMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_RocketMQMultiError) Error ¶
func (m Message_RocketMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_RocketMQValidationError ¶
type Message_RocketMQValidationError struct {
// contains filtered or unexported fields
}
Message_RocketMQValidationError is the validation error returned by Message_RocketMQ.Validate if the designated constraints aren't met.
func (Message_RocketMQValidationError) Cause ¶
func (e Message_RocketMQValidationError) Cause() error
Cause function returns cause value.
func (Message_RocketMQValidationError) Error ¶
func (e Message_RocketMQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_RocketMQValidationError) ErrorName ¶
func (e Message_RocketMQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_RocketMQValidationError) Field ¶
func (e Message_RocketMQValidationError) Field() string
Field function returns field value.
func (Message_RocketMQValidationError) Key ¶
func (e Message_RocketMQValidationError) Key() bool
Key function returns key value.
func (Message_RocketMQValidationError) Reason ¶
func (e Message_RocketMQValidationError) Reason() string
Reason function returns reason value.
type Middleware ¶
type Middleware struct { // Logging switch EnableLogging bool `protobuf:"varint,1,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"` // Recovery switch EnableRecovery bool `protobuf:"varint,2,opt,name=enable_recovery,json=enableRecovery,proto3" json:"enable_recovery,omitempty"` // Metrics switch EnableTracing bool `protobuf:"varint,3,opt,name=enable_tracing,json=enableTracing,proto3" json:"enable_tracing,omitempty"` // Validation switch EnableValidate bool `protobuf:"varint,4,opt,name=enable_validate,json=enableValidate,proto3" json:"enable_validate,omitempty"` // Circuit breaker switch EnableCircuitBreaker bool `protobuf:"varint,5,opt,name=enable_circuit_breaker,json=enableCircuitBreaker,proto3" json:"enable_circuit_breaker,omitempty"` // Metadata switch EnableMetadata bool `protobuf:"varint,6,opt,name=enable_metadata,json=enableMetadata,proto3" json:"enable_metadata,omitempty"` RateLimiter *Middleware_RateLimiter `protobuf:"bytes,100,opt,name=rate_limiter,proto3" json:"rate_limiter,omitempty"` Metadata *Middleware_Metadata `protobuf:"bytes,101,opt,name=metadata,proto3" json:"metadata,omitempty"` Metrics *Middleware_Metrics `protobuf:"bytes,200,opt,name=metrics,proto3" json:"metrics,omitempty"` Validator *Middleware_Validator `protobuf:"bytes,201,opt,name=validator,proto3" json:"validator,omitempty"` // contains filtered or unexported fields }
Middleware config is used to configure middleware for entry
func (*Middleware) Descriptor
deprecated
func (*Middleware) Descriptor() ([]byte, []int)
Deprecated: Use Middleware.ProtoReflect.Descriptor instead.
func (*Middleware) GetEnableCircuitBreaker ¶
func (x *Middleware) GetEnableCircuitBreaker() bool
func (*Middleware) GetEnableLogging ¶
func (x *Middleware) GetEnableLogging() bool
func (*Middleware) GetEnableMetadata ¶
func (x *Middleware) GetEnableMetadata() bool
func (*Middleware) GetEnableRecovery ¶
func (x *Middleware) GetEnableRecovery() bool
func (*Middleware) GetEnableTracing ¶
func (x *Middleware) GetEnableTracing() bool
func (*Middleware) GetEnableValidate ¶
func (x *Middleware) GetEnableValidate() bool
func (*Middleware) GetMetadata ¶
func (x *Middleware) GetMetadata() *Middleware_Metadata
func (*Middleware) GetMetrics ¶
func (x *Middleware) GetMetrics() *Middleware_Metrics
func (*Middleware) GetRateLimiter ¶
func (x *Middleware) GetRateLimiter() *Middleware_RateLimiter
func (*Middleware) GetValidator ¶
func (x *Middleware) GetValidator() *Middleware_Validator
func (*Middleware) ProtoMessage ¶
func (*Middleware) ProtoMessage()
func (*Middleware) ProtoReflect ¶
func (x *Middleware) ProtoReflect() protoreflect.Message
func (*Middleware) Reset ¶
func (x *Middleware) Reset()
func (*Middleware) String ¶
func (x *Middleware) String() string
func (*Middleware) Validate ¶
func (m *Middleware) Validate() error
Validate checks the field values on Middleware with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware) ValidateAll ¶
func (m *Middleware) ValidateAll() error
ValidateAll checks the field values on Middleware with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MiddlewareMultiError, or nil if none found.
type MiddlewareMultiError ¶
type MiddlewareMultiError []error
MiddlewareMultiError is an error wrapping multiple validation errors returned by Middleware.ValidateAll() if the designated constraints aren't met.
func (MiddlewareMultiError) AllErrors ¶
func (m MiddlewareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MiddlewareMultiError) Error ¶
func (m MiddlewareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MiddlewareValidationError ¶
type MiddlewareValidationError struct {
// contains filtered or unexported fields
}
MiddlewareValidationError is the validation error returned by Middleware.Validate if the designated constraints aren't met.
func (MiddlewareValidationError) Cause ¶
func (e MiddlewareValidationError) Cause() error
Cause function returns cause value.
func (MiddlewareValidationError) Error ¶
func (e MiddlewareValidationError) Error() string
Error satisfies the builtin error interface
func (MiddlewareValidationError) ErrorName ¶
func (e MiddlewareValidationError) ErrorName() string
ErrorName returns error name.
func (MiddlewareValidationError) Field ¶
func (e MiddlewareValidationError) Field() string
Field function returns field value.
func (MiddlewareValidationError) Key ¶
func (e MiddlewareValidationError) Key() bool
Key function returns key value.
func (MiddlewareValidationError) Reason ¶
func (e MiddlewareValidationError) Reason() string
Reason function returns reason value.
type Middleware_Metadata ¶
type Middleware_Metadata struct { // Metadata prefix Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Metadata data Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata
func (*Middleware_Metadata) Descriptor
deprecated
func (*Middleware_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Middleware_Metadata.ProtoReflect.Descriptor instead.
func (*Middleware_Metadata) GetData ¶
func (x *Middleware_Metadata) GetData() map[string]string
func (*Middleware_Metadata) GetPrefix ¶
func (x *Middleware_Metadata) GetPrefix() string
func (*Middleware_Metadata) ProtoMessage ¶
func (*Middleware_Metadata) ProtoMessage()
func (*Middleware_Metadata) ProtoReflect ¶
func (x *Middleware_Metadata) ProtoReflect() protoreflect.Message
func (*Middleware_Metadata) Reset ¶
func (x *Middleware_Metadata) Reset()
func (*Middleware_Metadata) String ¶
func (x *Middleware_Metadata) String() string
func (*Middleware_Metadata) Validate ¶
func (m *Middleware_Metadata) Validate() error
Validate checks the field values on Middleware_Metadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware_Metadata) ValidateAll ¶
func (m *Middleware_Metadata) ValidateAll() error
ValidateAll checks the field values on Middleware_Metadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_MetadataMultiError, or nil if none found.
type Middleware_MetadataMultiError ¶
type Middleware_MetadataMultiError []error
Middleware_MetadataMultiError is an error wrapping multiple validation errors returned by Middleware_Metadata.ValidateAll() if the designated constraints aren't met.
func (Middleware_MetadataMultiError) AllErrors ¶
func (m Middleware_MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Middleware_MetadataMultiError) Error ¶
func (m Middleware_MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Middleware_MetadataValidationError ¶
type Middleware_MetadataValidationError struct {
// contains filtered or unexported fields
}
Middleware_MetadataValidationError is the validation error returned by Middleware_Metadata.Validate if the designated constraints aren't met.
func (Middleware_MetadataValidationError) Cause ¶
func (e Middleware_MetadataValidationError) Cause() error
Cause function returns cause value.
func (Middleware_MetadataValidationError) Error ¶
func (e Middleware_MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (Middleware_MetadataValidationError) ErrorName ¶
func (e Middleware_MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (Middleware_MetadataValidationError) Field ¶
func (e Middleware_MetadataValidationError) Field() string
Field function returns field value.
func (Middleware_MetadataValidationError) Key ¶
func (e Middleware_MetadataValidationError) Key() bool
Key function returns key value.
func (Middleware_MetadataValidationError) Reason ¶
func (e Middleware_MetadataValidationError) Reason() string
Reason function returns reason value.
type Middleware_Metrics ¶
type Middleware_Metrics struct { // Add a list of supported metrics for enabling or disabling specific metrics SupportedMetrics []string `protobuf:"bytes,5,rep,name=supported_metrics,proto3" json:"supported_metrics,omitempty"` // Repeated field for user-defined metrics UserMetrics []*UserMetric `protobuf:"bytes,6,rep,name=user_metrics,proto3" json:"user_metrics,omitempty"` // contains filtered or unexported fields }
Metrics
func (*Middleware_Metrics) Descriptor
deprecated
func (*Middleware_Metrics) Descriptor() ([]byte, []int)
Deprecated: Use Middleware_Metrics.ProtoReflect.Descriptor instead.
func (*Middleware_Metrics) GetSupportedMetrics ¶
func (x *Middleware_Metrics) GetSupportedMetrics() []string
func (*Middleware_Metrics) GetUserMetrics ¶
func (x *Middleware_Metrics) GetUserMetrics() []*UserMetric
func (*Middleware_Metrics) ProtoMessage ¶
func (*Middleware_Metrics) ProtoMessage()
func (*Middleware_Metrics) ProtoReflect ¶
func (x *Middleware_Metrics) ProtoReflect() protoreflect.Message
func (*Middleware_Metrics) Reset ¶
func (x *Middleware_Metrics) Reset()
func (*Middleware_Metrics) String ¶
func (x *Middleware_Metrics) String() string
func (*Middleware_Metrics) Validate ¶
func (m *Middleware_Metrics) Validate() error
Validate checks the field values on Middleware_Metrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware_Metrics) ValidateAll ¶
func (m *Middleware_Metrics) ValidateAll() error
ValidateAll checks the field values on Middleware_Metrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_MetricsMultiError, or nil if none found.
type Middleware_MetricsMultiError ¶
type Middleware_MetricsMultiError []error
Middleware_MetricsMultiError is an error wrapping multiple validation errors returned by Middleware_Metrics.ValidateAll() if the designated constraints aren't met.
func (Middleware_MetricsMultiError) AllErrors ¶
func (m Middleware_MetricsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Middleware_MetricsMultiError) Error ¶
func (m Middleware_MetricsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Middleware_MetricsValidationError ¶
type Middleware_MetricsValidationError struct {
// contains filtered or unexported fields
}
Middleware_MetricsValidationError is the validation error returned by Middleware_Metrics.Validate if the designated constraints aren't met.
func (Middleware_MetricsValidationError) Cause ¶
func (e Middleware_MetricsValidationError) Cause() error
Cause function returns cause value.
func (Middleware_MetricsValidationError) Error ¶
func (e Middleware_MetricsValidationError) Error() string
Error satisfies the builtin error interface
func (Middleware_MetricsValidationError) ErrorName ¶
func (e Middleware_MetricsValidationError) ErrorName() string
ErrorName returns error name.
func (Middleware_MetricsValidationError) Field ¶
func (e Middleware_MetricsValidationError) Field() string
Field function returns field value.
func (Middleware_MetricsValidationError) Key ¶
func (e Middleware_MetricsValidationError) Key() bool
Key function returns key value.
func (Middleware_MetricsValidationError) Reason ¶
func (e Middleware_MetricsValidationError) Reason() string
Reason function returns reason value.
type Middleware_RateLimiter ¶
type Middleware_RateLimiter struct { // rate limiter name, supported: bbr, memory, redis. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The number of seconds in a rate limit window Period int32 `protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` // The number of requests allowed in a window of time XRatelimitLimit int32 `protobuf:"varint,5,opt,name=x_ratelimit_limit,proto3" json:"x_ratelimit_limit,omitempty"` // The number of requests that can still be made in the current window of time XRatelimitRemaining int32 `protobuf:"varint,6,opt,name=x_ratelimit_remaining,proto3" json:"x_ratelimit_remaining,omitempty"` // The number of seconds until the current rate limit window completely resets XRatelimitReset int32 `protobuf:"varint,7,opt,name=x_ratelimit_reset,proto3" json:"x_ratelimit_reset,omitempty"` // When rate limited, the number of seconds to wait before another request will be accepted RetryAfter int32 `protobuf:"varint,8,opt,name=retry_after,proto3" json:"retry_after,omitempty"` Memory *Middleware_RateLimiter_Memory `protobuf:"bytes,101,opt,name=memory,proto3" json:"memory,omitempty"` Redis *Middleware_RateLimiter_Redis `protobuf:"bytes,102,opt,name=redis,proto3" json:"redis,omitempty"` // contains filtered or unexported fields }
Rate limiter
func (*Middleware_RateLimiter) Descriptor
deprecated
func (*Middleware_RateLimiter) Descriptor() ([]byte, []int)
Deprecated: Use Middleware_RateLimiter.ProtoReflect.Descriptor instead.
func (*Middleware_RateLimiter) GetMemory ¶
func (x *Middleware_RateLimiter) GetMemory() *Middleware_RateLimiter_Memory
func (*Middleware_RateLimiter) GetName ¶
func (x *Middleware_RateLimiter) GetName() string
func (*Middleware_RateLimiter) GetPeriod ¶
func (x *Middleware_RateLimiter) GetPeriod() int32
func (*Middleware_RateLimiter) GetRedis ¶
func (x *Middleware_RateLimiter) GetRedis() *Middleware_RateLimiter_Redis
func (*Middleware_RateLimiter) GetRetryAfter ¶
func (x *Middleware_RateLimiter) GetRetryAfter() int32
func (*Middleware_RateLimiter) GetXRatelimitLimit ¶
func (x *Middleware_RateLimiter) GetXRatelimitLimit() int32
func (*Middleware_RateLimiter) GetXRatelimitRemaining ¶
func (x *Middleware_RateLimiter) GetXRatelimitRemaining() int32
func (*Middleware_RateLimiter) GetXRatelimitReset ¶
func (x *Middleware_RateLimiter) GetXRatelimitReset() int32
func (*Middleware_RateLimiter) ProtoMessage ¶
func (*Middleware_RateLimiter) ProtoMessage()
func (*Middleware_RateLimiter) ProtoReflect ¶
func (x *Middleware_RateLimiter) ProtoReflect() protoreflect.Message
func (*Middleware_RateLimiter) Reset ¶
func (x *Middleware_RateLimiter) Reset()
func (*Middleware_RateLimiter) String ¶
func (x *Middleware_RateLimiter) String() string
func (*Middleware_RateLimiter) Validate ¶
func (m *Middleware_RateLimiter) Validate() error
Validate checks the field values on Middleware_RateLimiter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware_RateLimiter) ValidateAll ¶
func (m *Middleware_RateLimiter) ValidateAll() error
ValidateAll checks the field values on Middleware_RateLimiter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_RateLimiterMultiError, or nil if none found.
type Middleware_RateLimiterMultiError ¶
type Middleware_RateLimiterMultiError []error
Middleware_RateLimiterMultiError is an error wrapping multiple validation errors returned by Middleware_RateLimiter.ValidateAll() if the designated constraints aren't met.
func (Middleware_RateLimiterMultiError) AllErrors ¶
func (m Middleware_RateLimiterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Middleware_RateLimiterMultiError) Error ¶
func (m Middleware_RateLimiterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Middleware_RateLimiterValidationError ¶
type Middleware_RateLimiterValidationError struct {
// contains filtered or unexported fields
}
Middleware_RateLimiterValidationError is the validation error returned by Middleware_RateLimiter.Validate if the designated constraints aren't met.
func (Middleware_RateLimiterValidationError) Cause ¶
func (e Middleware_RateLimiterValidationError) Cause() error
Cause function returns cause value.
func (Middleware_RateLimiterValidationError) Error ¶
func (e Middleware_RateLimiterValidationError) Error() string
Error satisfies the builtin error interface
func (Middleware_RateLimiterValidationError) ErrorName ¶
func (e Middleware_RateLimiterValidationError) ErrorName() string
ErrorName returns error name.
func (Middleware_RateLimiterValidationError) Field ¶
func (e Middleware_RateLimiterValidationError) Field() string
Field function returns field value.
func (Middleware_RateLimiterValidationError) Key ¶
func (e Middleware_RateLimiterValidationError) Key() bool
Key function returns key value.
func (Middleware_RateLimiterValidationError) Reason ¶
func (e Middleware_RateLimiterValidationError) Reason() string
Reason function returns reason value.
type Middleware_RateLimiter_Memory ¶
type Middleware_RateLimiter_Memory struct { Expiration *durationpb.Duration `protobuf:"bytes,1,opt,name=expiration,proto3" json:"expiration,omitempty"` CleanupInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=cleanup_interval,proto3" json:"cleanup_interval,omitempty"` // contains filtered or unexported fields }
func (*Middleware_RateLimiter_Memory) Descriptor
deprecated
func (*Middleware_RateLimiter_Memory) Descriptor() ([]byte, []int)
Deprecated: Use Middleware_RateLimiter_Memory.ProtoReflect.Descriptor instead.
func (*Middleware_RateLimiter_Memory) GetCleanupInterval ¶
func (x *Middleware_RateLimiter_Memory) GetCleanupInterval() *durationpb.Duration
func (*Middleware_RateLimiter_Memory) GetExpiration ¶
func (x *Middleware_RateLimiter_Memory) GetExpiration() *durationpb.Duration
func (*Middleware_RateLimiter_Memory) ProtoMessage ¶
func (*Middleware_RateLimiter_Memory) ProtoMessage()
func (*Middleware_RateLimiter_Memory) ProtoReflect ¶
func (x *Middleware_RateLimiter_Memory) ProtoReflect() protoreflect.Message
func (*Middleware_RateLimiter_Memory) Reset ¶
func (x *Middleware_RateLimiter_Memory) Reset()
func (*Middleware_RateLimiter_Memory) String ¶
func (x *Middleware_RateLimiter_Memory) String() string
func (*Middleware_RateLimiter_Memory) Validate ¶
func (m *Middleware_RateLimiter_Memory) Validate() error
Validate checks the field values on Middleware_RateLimiter_Memory with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware_RateLimiter_Memory) ValidateAll ¶
func (m *Middleware_RateLimiter_Memory) ValidateAll() error
ValidateAll checks the field values on Middleware_RateLimiter_Memory with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_RateLimiter_MemoryMultiError, or nil if none found.
type Middleware_RateLimiter_MemoryMultiError ¶
type Middleware_RateLimiter_MemoryMultiError []error
Middleware_RateLimiter_MemoryMultiError is an error wrapping multiple validation errors returned by Middleware_RateLimiter_Memory.ValidateAll() if the designated constraints aren't met.
func (Middleware_RateLimiter_MemoryMultiError) AllErrors ¶
func (m Middleware_RateLimiter_MemoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Middleware_RateLimiter_MemoryMultiError) Error ¶
func (m Middleware_RateLimiter_MemoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Middleware_RateLimiter_MemoryValidationError ¶
type Middleware_RateLimiter_MemoryValidationError struct {
// contains filtered or unexported fields
}
Middleware_RateLimiter_MemoryValidationError is the validation error returned by Middleware_RateLimiter_Memory.Validate if the designated constraints aren't met.
func (Middleware_RateLimiter_MemoryValidationError) Cause ¶
func (e Middleware_RateLimiter_MemoryValidationError) Cause() error
Cause function returns cause value.
func (Middleware_RateLimiter_MemoryValidationError) Error ¶
func (e Middleware_RateLimiter_MemoryValidationError) Error() string
Error satisfies the builtin error interface
func (Middleware_RateLimiter_MemoryValidationError) ErrorName ¶
func (e Middleware_RateLimiter_MemoryValidationError) ErrorName() string
ErrorName returns error name.
func (Middleware_RateLimiter_MemoryValidationError) Field ¶
func (e Middleware_RateLimiter_MemoryValidationError) Field() string
Field function returns field value.
func (Middleware_RateLimiter_MemoryValidationError) Key ¶
func (e Middleware_RateLimiter_MemoryValidationError) Key() bool
Key function returns key value.
func (Middleware_RateLimiter_MemoryValidationError) Reason ¶
func (e Middleware_RateLimiter_MemoryValidationError) Reason() string
Reason function returns reason value.
type Middleware_RateLimiter_Redis ¶
type Middleware_RateLimiter_Redis struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"` // contains filtered or unexported fields }
func (*Middleware_RateLimiter_Redis) Descriptor
deprecated
func (*Middleware_RateLimiter_Redis) Descriptor() ([]byte, []int)
Deprecated: Use Middleware_RateLimiter_Redis.ProtoReflect.Descriptor instead.
func (*Middleware_RateLimiter_Redis) GetAddr ¶
func (x *Middleware_RateLimiter_Redis) GetAddr() string
func (*Middleware_RateLimiter_Redis) GetDb ¶
func (x *Middleware_RateLimiter_Redis) GetDb() int32
func (*Middleware_RateLimiter_Redis) GetPassword ¶
func (x *Middleware_RateLimiter_Redis) GetPassword() string
func (*Middleware_RateLimiter_Redis) GetUsername ¶
func (x *Middleware_RateLimiter_Redis) GetUsername() string
func (*Middleware_RateLimiter_Redis) ProtoMessage ¶
func (*Middleware_RateLimiter_Redis) ProtoMessage()
func (*Middleware_RateLimiter_Redis) ProtoReflect ¶
func (x *Middleware_RateLimiter_Redis) ProtoReflect() protoreflect.Message
func (*Middleware_RateLimiter_Redis) Reset ¶
func (x *Middleware_RateLimiter_Redis) Reset()
func (*Middleware_RateLimiter_Redis) String ¶
func (x *Middleware_RateLimiter_Redis) String() string
func (*Middleware_RateLimiter_Redis) Validate ¶
func (m *Middleware_RateLimiter_Redis) Validate() error
Validate checks the field values on Middleware_RateLimiter_Redis with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware_RateLimiter_Redis) ValidateAll ¶
func (m *Middleware_RateLimiter_Redis) ValidateAll() error
ValidateAll checks the field values on Middleware_RateLimiter_Redis with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_RateLimiter_RedisMultiError, or nil if none found.
type Middleware_RateLimiter_RedisMultiError ¶
type Middleware_RateLimiter_RedisMultiError []error
Middleware_RateLimiter_RedisMultiError is an error wrapping multiple validation errors returned by Middleware_RateLimiter_Redis.ValidateAll() if the designated constraints aren't met.
func (Middleware_RateLimiter_RedisMultiError) AllErrors ¶
func (m Middleware_RateLimiter_RedisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Middleware_RateLimiter_RedisMultiError) Error ¶
func (m Middleware_RateLimiter_RedisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Middleware_RateLimiter_RedisValidationError ¶
type Middleware_RateLimiter_RedisValidationError struct {
// contains filtered or unexported fields
}
Middleware_RateLimiter_RedisValidationError is the validation error returned by Middleware_RateLimiter_Redis.Validate if the designated constraints aren't met.
func (Middleware_RateLimiter_RedisValidationError) Cause ¶
func (e Middleware_RateLimiter_RedisValidationError) Cause() error
Cause function returns cause value.
func (Middleware_RateLimiter_RedisValidationError) Error ¶
func (e Middleware_RateLimiter_RedisValidationError) Error() string
Error satisfies the builtin error interface
func (Middleware_RateLimiter_RedisValidationError) ErrorName ¶
func (e Middleware_RateLimiter_RedisValidationError) ErrorName() string
ErrorName returns error name.
func (Middleware_RateLimiter_RedisValidationError) Field ¶
func (e Middleware_RateLimiter_RedisValidationError) Field() string
Field function returns field value.
func (Middleware_RateLimiter_RedisValidationError) Key ¶
func (e Middleware_RateLimiter_RedisValidationError) Key() bool
Key function returns key value.
func (Middleware_RateLimiter_RedisValidationError) Reason ¶
func (e Middleware_RateLimiter_RedisValidationError) Reason() string
Reason function returns reason value.
type Middleware_Validator ¶
type Middleware_Validator struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` FailFast bool `protobuf:"varint,2,opt,name=fail_fast,proto3" json:"fail_fast,omitempty"` // contains filtered or unexported fields }
func (*Middleware_Validator) Descriptor
deprecated
func (*Middleware_Validator) Descriptor() ([]byte, []int)
Deprecated: Use Middleware_Validator.ProtoReflect.Descriptor instead.
func (*Middleware_Validator) GetFailFast ¶
func (x *Middleware_Validator) GetFailFast() bool
func (*Middleware_Validator) GetVersion ¶
func (x *Middleware_Validator) GetVersion() int32
func (*Middleware_Validator) ProtoMessage ¶
func (*Middleware_Validator) ProtoMessage()
func (*Middleware_Validator) ProtoReflect ¶
func (x *Middleware_Validator) ProtoReflect() protoreflect.Message
func (*Middleware_Validator) Reset ¶
func (x *Middleware_Validator) Reset()
func (*Middleware_Validator) String ¶
func (x *Middleware_Validator) String() string
func (*Middleware_Validator) Validate ¶
func (m *Middleware_Validator) Validate() error
Validate checks the field values on Middleware_Validator with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Middleware_Validator) ValidateAll ¶
func (m *Middleware_Validator) ValidateAll() error
ValidateAll checks the field values on Middleware_Validator with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_ValidatorMultiError, or nil if none found.
type Middleware_ValidatorMultiError ¶
type Middleware_ValidatorMultiError []error
Middleware_ValidatorMultiError is an error wrapping multiple validation errors returned by Middleware_Validator.ValidateAll() if the designated constraints aren't met.
func (Middleware_ValidatorMultiError) AllErrors ¶
func (m Middleware_ValidatorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Middleware_ValidatorMultiError) Error ¶
func (m Middleware_ValidatorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Middleware_ValidatorValidationError ¶
type Middleware_ValidatorValidationError struct {
// contains filtered or unexported fields
}
Middleware_ValidatorValidationError is the validation error returned by Middleware_Validator.Validate if the designated constraints aren't met.
func (Middleware_ValidatorValidationError) Cause ¶
func (e Middleware_ValidatorValidationError) Cause() error
Cause function returns cause value.
func (Middleware_ValidatorValidationError) Error ¶
func (e Middleware_ValidatorValidationError) Error() string
Error satisfies the builtin error interface
func (Middleware_ValidatorValidationError) ErrorName ¶
func (e Middleware_ValidatorValidationError) ErrorName() string
ErrorName returns error name.
func (Middleware_ValidatorValidationError) Field ¶
func (e Middleware_ValidatorValidationError) Field() string
Field function returns field value.
func (Middleware_ValidatorValidationError) Key ¶
func (e Middleware_ValidatorValidationError) Key() bool
Key function returns key value.
func (Middleware_ValidatorValidationError) Reason ¶
func (e Middleware_ValidatorValidationError) Reason() string
Reason function returns reason value.
type Registry ¶
type Registry struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type ServiceName string `protobuf:"bytes,2,opt,name=service_name,proto3" json:"service_name,omitempty"` // ServiceName Debug bool `protobuf:"varint,5,opt,name=debug,proto3" json:"debug,omitempty"` Consul *Registry_Consul `protobuf:"bytes,300,opt,name=consul,proto3,oneof" json:"consul,omitempty"` // Consul Etcd *Registry_ETCD `protobuf:"bytes,400,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"` // ETCD // contains filtered or unexported fields }
Registry
func (*Registry) Descriptor
deprecated
func (*Registry) GetConsul ¶
func (x *Registry) GetConsul() *Registry_Consul
func (*Registry) GetEtcd ¶
func (x *Registry) GetEtcd() *Registry_ETCD
func (*Registry) GetServiceName ¶
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) ProtoReflect ¶
func (x *Registry) ProtoReflect() protoreflect.Message
func (*Registry) Validate ¶
Validate checks the field values on Registry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Registry) ValidateAll ¶
ValidateAll checks the field values on Registry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegistryMultiError, or nil if none found.
type RegistryMultiError ¶
type RegistryMultiError []error
RegistryMultiError is an error wrapping multiple validation errors returned by Registry.ValidateAll() if the designated constraints aren't met.
func (RegistryMultiError) AllErrors ¶
func (m RegistryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegistryMultiError) Error ¶
func (m RegistryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegistryValidationError ¶
type RegistryValidationError struct {
// contains filtered or unexported fields
}
RegistryValidationError is the validation error returned by Registry.Validate if the designated constraints aren't met.
func (RegistryValidationError) Cause ¶
func (e RegistryValidationError) Cause() error
Cause function returns cause value.
func (RegistryValidationError) Error ¶
func (e RegistryValidationError) Error() string
Error satisfies the builtin error interface
func (RegistryValidationError) ErrorName ¶
func (e RegistryValidationError) ErrorName() string
ErrorName returns error name.
func (RegistryValidationError) Field ¶
func (e RegistryValidationError) Field() string
Field function returns field value.
func (RegistryValidationError) Key ¶
func (e RegistryValidationError) Key() bool
Key function returns key value.
func (RegistryValidationError) Reason ¶
func (e RegistryValidationError) Reason() string
Reason function returns reason value.
type Registry_Consul ¶
type Registry_Consul struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` HeartBeat bool `protobuf:"varint,4,opt,name=heart_beat,proto3" json:"heart_beat,omitempty"` HealthCheck bool `protobuf:"varint,5,opt,name=health_check,proto3" json:"health_check,omitempty"` Datacenter string `protobuf:"bytes,6,opt,name=datacenter,proto3" json:"datacenter,omitempty"` // string tag = 7 [json_name = "tag"]; HealthCheckInterval uint32 `protobuf:"varint,8,opt,name=health_check_interval,proto3" json:"health_check_interval,omitempty"` // string health_check_timeout = 9[json_name = "health_check_timeout"]; Timeout *durationpb.Duration `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"` DeregisterCriticalServiceAfter uint32 `protobuf:"varint,11,opt,name=deregister_critical_service_after,proto3" json:"deregister_critical_service_after,omitempty"` // contains filtered or unexported fields }
Consul
func (*Registry_Consul) Descriptor
deprecated
func (*Registry_Consul) Descriptor() ([]byte, []int)
Deprecated: Use Registry_Consul.ProtoReflect.Descriptor instead.
func (*Registry_Consul) GetAddress ¶
func (x *Registry_Consul) GetAddress() string
func (*Registry_Consul) GetDatacenter ¶
func (x *Registry_Consul) GetDatacenter() string
func (*Registry_Consul) GetDeregisterCriticalServiceAfter ¶
func (x *Registry_Consul) GetDeregisterCriticalServiceAfter() uint32
func (*Registry_Consul) GetHealthCheck ¶
func (x *Registry_Consul) GetHealthCheck() bool
func (*Registry_Consul) GetHealthCheckInterval ¶
func (x *Registry_Consul) GetHealthCheckInterval() uint32
func (*Registry_Consul) GetHeartBeat ¶
func (x *Registry_Consul) GetHeartBeat() bool
func (*Registry_Consul) GetScheme ¶
func (x *Registry_Consul) GetScheme() string
func (*Registry_Consul) GetTimeout ¶
func (x *Registry_Consul) GetTimeout() *durationpb.Duration
func (*Registry_Consul) GetToken ¶
func (x *Registry_Consul) GetToken() string
func (*Registry_Consul) ProtoMessage ¶
func (*Registry_Consul) ProtoMessage()
func (*Registry_Consul) ProtoReflect ¶
func (x *Registry_Consul) ProtoReflect() protoreflect.Message
func (*Registry_Consul) Reset ¶
func (x *Registry_Consul) Reset()
func (*Registry_Consul) String ¶
func (x *Registry_Consul) String() string
func (*Registry_Consul) Validate ¶
func (m *Registry_Consul) Validate() error
Validate checks the field values on Registry_Consul with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Registry_Consul) ValidateAll ¶
func (m *Registry_Consul) ValidateAll() error
ValidateAll checks the field values on Registry_Consul with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_ConsulMultiError, or nil if none found.
type Registry_ConsulMultiError ¶
type Registry_ConsulMultiError []error
Registry_ConsulMultiError is an error wrapping multiple validation errors returned by Registry_Consul.ValidateAll() if the designated constraints aren't met.
func (Registry_ConsulMultiError) AllErrors ¶
func (m Registry_ConsulMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Registry_ConsulMultiError) Error ¶
func (m Registry_ConsulMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Registry_ConsulValidationError ¶
type Registry_ConsulValidationError struct {
// contains filtered or unexported fields
}
Registry_ConsulValidationError is the validation error returned by Registry_Consul.Validate if the designated constraints aren't met.
func (Registry_ConsulValidationError) Cause ¶
func (e Registry_ConsulValidationError) Cause() error
Cause function returns cause value.
func (Registry_ConsulValidationError) Error ¶
func (e Registry_ConsulValidationError) Error() string
Error satisfies the builtin error interface
func (Registry_ConsulValidationError) ErrorName ¶
func (e Registry_ConsulValidationError) ErrorName() string
ErrorName returns error name.
func (Registry_ConsulValidationError) Field ¶
func (e Registry_ConsulValidationError) Field() string
Field function returns field value.
func (Registry_ConsulValidationError) Key ¶
func (e Registry_ConsulValidationError) Key() bool
Key function returns key value.
func (Registry_ConsulValidationError) Reason ¶
func (e Registry_ConsulValidationError) Reason() string
Reason function returns reason value.
type Registry_Custom ¶
type Registry_Custom struct { Config *anypb.Any `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Registry_Custom) Descriptor
deprecated
func (*Registry_Custom) Descriptor() ([]byte, []int)
Deprecated: Use Registry_Custom.ProtoReflect.Descriptor instead.
func (*Registry_Custom) GetConfig ¶
func (x *Registry_Custom) GetConfig() *anypb.Any
func (*Registry_Custom) ProtoMessage ¶
func (*Registry_Custom) ProtoMessage()
func (*Registry_Custom) ProtoReflect ¶
func (x *Registry_Custom) ProtoReflect() protoreflect.Message
func (*Registry_Custom) Reset ¶
func (x *Registry_Custom) Reset()
func (*Registry_Custom) String ¶
func (x *Registry_Custom) String() string
func (*Registry_Custom) Validate ¶
func (m *Registry_Custom) Validate() error
Validate checks the field values on Registry_Custom with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Registry_Custom) ValidateAll ¶
func (m *Registry_Custom) ValidateAll() error
ValidateAll checks the field values on Registry_Custom with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_CustomMultiError, or nil if none found.
type Registry_CustomMultiError ¶
type Registry_CustomMultiError []error
Registry_CustomMultiError is an error wrapping multiple validation errors returned by Registry_Custom.ValidateAll() if the designated constraints aren't met.
func (Registry_CustomMultiError) AllErrors ¶
func (m Registry_CustomMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Registry_CustomMultiError) Error ¶
func (m Registry_CustomMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Registry_CustomValidationError ¶
type Registry_CustomValidationError struct {
// contains filtered or unexported fields
}
Registry_CustomValidationError is the validation error returned by Registry_Custom.Validate if the designated constraints aren't met.
func (Registry_CustomValidationError) Cause ¶
func (e Registry_CustomValidationError) Cause() error
Cause function returns cause value.
func (Registry_CustomValidationError) Error ¶
func (e Registry_CustomValidationError) Error() string
Error satisfies the builtin error interface
func (Registry_CustomValidationError) ErrorName ¶
func (e Registry_CustomValidationError) ErrorName() string
ErrorName returns error name.
func (Registry_CustomValidationError) Field ¶
func (e Registry_CustomValidationError) Field() string
Field function returns field value.
func (Registry_CustomValidationError) Key ¶
func (e Registry_CustomValidationError) Key() bool
Key function returns key value.
func (Registry_CustomValidationError) Reason ¶
func (e Registry_CustomValidationError) Reason() string
Reason function returns reason value.
type Registry_ETCD ¶
type Registry_ETCD struct { Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
ETCD
func (*Registry_ETCD) Descriptor
deprecated
func (*Registry_ETCD) Descriptor() ([]byte, []int)
Deprecated: Use Registry_ETCD.ProtoReflect.Descriptor instead.
func (*Registry_ETCD) GetEndpoints ¶
func (x *Registry_ETCD) GetEndpoints() []string
func (*Registry_ETCD) ProtoMessage ¶
func (*Registry_ETCD) ProtoMessage()
func (*Registry_ETCD) ProtoReflect ¶
func (x *Registry_ETCD) ProtoReflect() protoreflect.Message
func (*Registry_ETCD) Reset ¶
func (x *Registry_ETCD) Reset()
func (*Registry_ETCD) String ¶
func (x *Registry_ETCD) String() string
func (*Registry_ETCD) Validate ¶
func (m *Registry_ETCD) Validate() error
Validate checks the field values on Registry_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Registry_ETCD) ValidateAll ¶
func (m *Registry_ETCD) ValidateAll() error
ValidateAll checks the field values on Registry_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_ETCDMultiError, or nil if none found.
type Registry_ETCDMultiError ¶
type Registry_ETCDMultiError []error
Registry_ETCDMultiError is an error wrapping multiple validation errors returned by Registry_ETCD.ValidateAll() if the designated constraints aren't met.
func (Registry_ETCDMultiError) AllErrors ¶
func (m Registry_ETCDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Registry_ETCDMultiError) Error ¶
func (m Registry_ETCDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Registry_ETCDValidationError ¶
type Registry_ETCDValidationError struct {
// contains filtered or unexported fields
}
Registry_ETCDValidationError is the validation error returned by Registry_ETCD.Validate if the designated constraints aren't met.
func (Registry_ETCDValidationError) Cause ¶
func (e Registry_ETCDValidationError) Cause() error
Cause function returns cause value.
func (Registry_ETCDValidationError) Error ¶
func (e Registry_ETCDValidationError) Error() string
Error satisfies the builtin error interface
func (Registry_ETCDValidationError) ErrorName ¶
func (e Registry_ETCDValidationError) ErrorName() string
ErrorName returns error name.
func (Registry_ETCDValidationError) Field ¶
func (e Registry_ETCDValidationError) Field() string
Field function returns field value.
func (Registry_ETCDValidationError) Key ¶
func (e Registry_ETCDValidationError) Key() bool
Key function returns key value.
func (Registry_ETCDValidationError) Reason ¶
func (e Registry_ETCDValidationError) Reason() string
Reason function returns reason value.
type Security ¶
type Security struct { // Direct release paths DirectReleasePaths []string `protobuf:"bytes,2,rep,name=direct_release_paths,proto3" json:"direct_release_paths,omitempty"` // JWT config for authorization Jwt *Security_JWT `protobuf:"bytes,5,opt,name=jwt,proto3" json:"jwt,omitempty"` // Casbin config for authorization Casbin *Security_Casbin `protobuf:"bytes,6,opt,name=casbin,proto3" json:"casbin,omitempty"` // contains filtered or unexported fields }
Security middleware config.
func (*Security) Descriptor
deprecated
func (*Security) GetCasbin ¶
func (x *Security) GetCasbin() *Security_Casbin
func (*Security) GetDirectReleasePaths ¶
func (*Security) GetJwt ¶
func (x *Security) GetJwt() *Security_JWT
func (*Security) ProtoMessage ¶
func (*Security) ProtoMessage()
func (*Security) ProtoReflect ¶
func (x *Security) ProtoReflect() protoreflect.Message
func (*Security) Validate ¶
Validate checks the field values on Security with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Security) ValidateAll ¶
ValidateAll checks the field values on Security with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SecurityMultiError, or nil if none found.
type SecurityMultiError ¶
type SecurityMultiError []error
SecurityMultiError is an error wrapping multiple validation errors returned by Security.ValidateAll() if the designated constraints aren't met.
func (SecurityMultiError) AllErrors ¶
func (m SecurityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SecurityMultiError) Error ¶
func (m SecurityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SecurityValidationError ¶
type SecurityValidationError struct {
// contains filtered or unexported fields
}
SecurityValidationError is the validation error returned by Security.Validate if the designated constraints aren't met.
func (SecurityValidationError) Cause ¶
func (e SecurityValidationError) Cause() error
Cause function returns cause value.
func (SecurityValidationError) Error ¶
func (e SecurityValidationError) Error() string
Error satisfies the builtin error interface
func (SecurityValidationError) ErrorName ¶
func (e SecurityValidationError) ErrorName() string
ErrorName returns error name.
func (SecurityValidationError) Field ¶
func (e SecurityValidationError) Field() string
Field function returns field value.
func (SecurityValidationError) Key ¶
func (e SecurityValidationError) Key() bool
Key function returns key value.
func (SecurityValidationError) Reason ¶
func (e SecurityValidationError) Reason() string
Reason function returns reason value.
type Security_Casbin ¶
type Security_Casbin struct { // Policy file PolicyFile string `protobuf:"bytes,3,opt,name=policy_file,proto3" json:"policy_file,omitempty"` // Model file ModelFile string `protobuf:"bytes,4,opt,name=model_file,proto3" json:"model_file,omitempty"` // contains filtered or unexported fields }
Casbin middleware config
func (*Security_Casbin) Descriptor
deprecated
func (*Security_Casbin) Descriptor() ([]byte, []int)
Deprecated: Use Security_Casbin.ProtoReflect.Descriptor instead.
func (*Security_Casbin) GetModelFile ¶
func (x *Security_Casbin) GetModelFile() string
func (*Security_Casbin) GetPolicyFile ¶
func (x *Security_Casbin) GetPolicyFile() string
func (*Security_Casbin) ProtoMessage ¶
func (*Security_Casbin) ProtoMessage()
func (*Security_Casbin) ProtoReflect ¶
func (x *Security_Casbin) ProtoReflect() protoreflect.Message
func (*Security_Casbin) Reset ¶
func (x *Security_Casbin) Reset()
func (*Security_Casbin) String ¶
func (x *Security_Casbin) String() string
func (*Security_Casbin) Validate ¶
func (m *Security_Casbin) Validate() error
Validate checks the field values on Security_Casbin with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Security_Casbin) ValidateAll ¶
func (m *Security_Casbin) ValidateAll() error
ValidateAll checks the field values on Security_Casbin with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Security_CasbinMultiError, or nil if none found.
type Security_CasbinMultiError ¶
type Security_CasbinMultiError []error
Security_CasbinMultiError is an error wrapping multiple validation errors returned by Security_Casbin.ValidateAll() if the designated constraints aren't met.
func (Security_CasbinMultiError) AllErrors ¶
func (m Security_CasbinMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Security_CasbinMultiError) Error ¶
func (m Security_CasbinMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Security_CasbinValidationError ¶
type Security_CasbinValidationError struct {
// contains filtered or unexported fields
}
Security_CasbinValidationError is the validation error returned by Security_Casbin.Validate if the designated constraints aren't met.
func (Security_CasbinValidationError) Cause ¶
func (e Security_CasbinValidationError) Cause() error
Cause function returns cause value.
func (Security_CasbinValidationError) Error ¶
func (e Security_CasbinValidationError) Error() string
Error satisfies the builtin error interface
func (Security_CasbinValidationError) ErrorName ¶
func (e Security_CasbinValidationError) ErrorName() string
ErrorName returns error name.
func (Security_CasbinValidationError) Field ¶
func (e Security_CasbinValidationError) Field() string
Field function returns field value.
func (Security_CasbinValidationError) Key ¶
func (e Security_CasbinValidationError) Key() bool
Key function returns key value.
func (Security_CasbinValidationError) Reason ¶
func (e Security_CasbinValidationError) Reason() string
Reason function returns reason value.
type Security_JWT ¶
type Security_JWT struct { // Signing method SigningMethod string `protobuf:"bytes,3,opt,name=signing_method,proto3" json:"signing_method,omitempty"` // Signing key SigningKey string `protobuf:"bytes,4,opt,name=signing_key,proto3" json:"signing_key,omitempty"` // Old signing key OldSigningKey string `protobuf:"bytes,5,opt,name=old_signing_key,proto3" json:"old_signing_key,omitempty"` // Token expiration time ExpiredTime *durationpb.Duration `protobuf:"bytes,6,opt,name=expired_time,proto3" json:"expired_time,omitempty"` // contains filtered or unexported fields }
Authorization middleware config
func (*Security_JWT) Descriptor
deprecated
func (*Security_JWT) Descriptor() ([]byte, []int)
Deprecated: Use Security_JWT.ProtoReflect.Descriptor instead.
func (*Security_JWT) GetExpiredTime ¶
func (x *Security_JWT) GetExpiredTime() *durationpb.Duration
func (*Security_JWT) GetOldSigningKey ¶
func (x *Security_JWT) GetOldSigningKey() string
func (*Security_JWT) GetSigningKey ¶
func (x *Security_JWT) GetSigningKey() string
func (*Security_JWT) GetSigningMethod ¶
func (x *Security_JWT) GetSigningMethod() string
func (*Security_JWT) ProtoMessage ¶
func (*Security_JWT) ProtoMessage()
func (*Security_JWT) ProtoReflect ¶
func (x *Security_JWT) ProtoReflect() protoreflect.Message
func (*Security_JWT) Reset ¶
func (x *Security_JWT) Reset()
func (*Security_JWT) String ¶
func (x *Security_JWT) String() string
func (*Security_JWT) Validate ¶
func (m *Security_JWT) Validate() error
Validate checks the field values on Security_JWT with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Security_JWT) ValidateAll ¶
func (m *Security_JWT) ValidateAll() error
ValidateAll checks the field values on Security_JWT with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Security_JWTMultiError, or nil if none found.
type Security_JWTMultiError ¶
type Security_JWTMultiError []error
Security_JWTMultiError is an error wrapping multiple validation errors returned by Security_JWT.ValidateAll() if the designated constraints aren't met.
func (Security_JWTMultiError) AllErrors ¶
func (m Security_JWTMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Security_JWTMultiError) Error ¶
func (m Security_JWTMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Security_JWTValidationError ¶
type Security_JWTValidationError struct {
// contains filtered or unexported fields
}
Security_JWTValidationError is the validation error returned by Security_JWT.Validate if the designated constraints aren't met.
func (Security_JWTValidationError) Cause ¶
func (e Security_JWTValidationError) Cause() error
Cause function returns cause value.
func (Security_JWTValidationError) Error ¶
func (e Security_JWTValidationError) Error() string
Error satisfies the builtin error interface
func (Security_JWTValidationError) ErrorName ¶
func (e Security_JWTValidationError) ErrorName() string
ErrorName returns error name.
func (Security_JWTValidationError) Field ¶
func (e Security_JWTValidationError) Field() string
Field function returns field value.
func (Security_JWTValidationError) Key ¶
func (e Security_JWTValidationError) Key() bool
Key function returns key value.
func (Security_JWTValidationError) Reason ¶
func (e Security_JWTValidationError) Reason() string
Reason function returns reason value.
type Service ¶
type Service struct { // Service name for service discovery Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DynamicEndpoint bool `protobuf:"varint,2,opt,name=dynamic_endpoint,proto3" json:"dynamic_endpoint,omitempty"` Grpc *Service_GRPC `protobuf:"bytes,10,opt,name=grpc,proto3" json:"grpc,omitempty"` Http *Service_HTTP `protobuf:"bytes,20,opt,name=http,proto3" json:"http,omitempty"` Gins *Service_GINS `protobuf:"bytes,30,opt,name=gins,proto3" json:"gins,omitempty"` Websocket *WebSocket `protobuf:"bytes,100,opt,name=websocket,proto3" json:"websocket,omitempty"` Message *Message `protobuf:"bytes,200,opt,name=message,proto3" json:"message,omitempty"` Task *Task `protobuf:"bytes,300,opt,name=task,proto3" json:"task,omitempty"` Middleware *Middleware `protobuf:"bytes,400,opt,name=middleware,proto3" json:"middleware,omitempty"` Selector *Service_Selector `protobuf:"bytes,500,opt,name=selector,proto3" json:"selector,omitempty"` Host string `protobuf:"bytes,99,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetDynamicEndpoint ¶ added in v0.0.3
func (*Service) GetGins ¶
func (x *Service) GetGins() *Service_GINS
func (*Service) GetGrpc ¶
func (x *Service) GetGrpc() *Service_GRPC
func (*Service) GetHttp ¶
func (x *Service) GetHttp() *Service_HTTP
func (*Service) GetMessage ¶
func (*Service) GetMiddleware ¶
func (x *Service) GetMiddleware() *Middleware
func (*Service) GetSelector ¶
func (x *Service) GetSelector() *Service_Selector
func (*Service) GetWebsocket ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) Validate ¶
Validate checks the field values on Service with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Service) ValidateAll ¶
ValidateAll checks the field values on Service with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceMultiError, or nil if none found.
type ServiceMultiError ¶
type ServiceMultiError []error
ServiceMultiError is an error wrapping multiple validation errors returned by Service.ValidateAll() if the designated constraints aren't met.
func (ServiceMultiError) AllErrors ¶
func (m ServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMultiError) Error ¶
func (m ServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceValidationError ¶
type ServiceValidationError struct {
// contains filtered or unexported fields
}
ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.
func (ServiceValidationError) Cause ¶
func (e ServiceValidationError) Cause() error
Cause function returns cause value.
func (ServiceValidationError) Error ¶
func (e ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceValidationError) ErrorName ¶
func (e ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceValidationError) Field ¶
func (e ServiceValidationError) Field() string
Field function returns field value.
func (ServiceValidationError) Key ¶
func (e ServiceValidationError) Key() bool
Key function returns key value.
func (ServiceValidationError) Reason ¶
func (e ServiceValidationError) Reason() string
Reason function returns reason value.
type Service_GINS ¶
type Service_GINS struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` UseTls bool `protobuf:"varint,3,opt,name=use_tls,proto3" json:"use_tls,omitempty"` CertFile string `protobuf:"bytes,4,opt,name=cert_file,proto3" json:"cert_file,omitempty"` KeyFile string `protobuf:"bytes,5,opt,name=key_file,proto3" json:"key_file,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` ShutdownTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=shutdown_timeout,proto3,oneof" json:"shutdown_timeout,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=read_timeout,proto3,oneof" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=write_timeout,proto3,oneof" json:"write_timeout,omitempty"` IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,proto3,oneof" json:"idle_timeout,omitempty"` Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
GINS
func (*Service_GINS) Descriptor
deprecated
func (*Service_GINS) Descriptor() ([]byte, []int)
Deprecated: Use Service_GINS.ProtoReflect.Descriptor instead.
func (*Service_GINS) GetAddr ¶
func (x *Service_GINS) GetAddr() string
func (*Service_GINS) GetCertFile ¶
func (x *Service_GINS) GetCertFile() string
func (*Service_GINS) GetEndpoint ¶
func (x *Service_GINS) GetEndpoint() string
func (*Service_GINS) GetIdleTimeout ¶
func (x *Service_GINS) GetIdleTimeout() *durationpb.Duration
func (*Service_GINS) GetKeyFile ¶
func (x *Service_GINS) GetKeyFile() string
func (*Service_GINS) GetNetwork ¶
func (x *Service_GINS) GetNetwork() string
func (*Service_GINS) GetReadTimeout ¶
func (x *Service_GINS) GetReadTimeout() *durationpb.Duration
func (*Service_GINS) GetShutdownTimeout ¶
func (x *Service_GINS) GetShutdownTimeout() *durationpb.Duration
func (*Service_GINS) GetTimeout ¶
func (x *Service_GINS) GetTimeout() *durationpb.Duration
func (*Service_GINS) GetUseTls ¶
func (x *Service_GINS) GetUseTls() bool
func (*Service_GINS) GetWriteTimeout ¶
func (x *Service_GINS) GetWriteTimeout() *durationpb.Duration
func (*Service_GINS) ProtoMessage ¶
func (*Service_GINS) ProtoMessage()
func (*Service_GINS) ProtoReflect ¶
func (x *Service_GINS) ProtoReflect() protoreflect.Message
func (*Service_GINS) Reset ¶
func (x *Service_GINS) Reset()
func (*Service_GINS) String ¶
func (x *Service_GINS) String() string
func (*Service_GINS) Validate ¶
func (m *Service_GINS) Validate() error
Validate checks the field values on Service_GINS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Service_GINS) ValidateAll ¶
func (m *Service_GINS) ValidateAll() error
ValidateAll checks the field values on Service_GINS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Service_GINSMultiError, or nil if none found.
type Service_GINSMultiError ¶
type Service_GINSMultiError []error
Service_GINSMultiError is an error wrapping multiple validation errors returned by Service_GINS.ValidateAll() if the designated constraints aren't met.
func (Service_GINSMultiError) AllErrors ¶
func (m Service_GINSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_GINSMultiError) Error ¶
func (m Service_GINSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_GINSValidationError ¶
type Service_GINSValidationError struct {
// contains filtered or unexported fields
}
Service_GINSValidationError is the validation error returned by Service_GINS.Validate if the designated constraints aren't met.
func (Service_GINSValidationError) Cause ¶
func (e Service_GINSValidationError) Cause() error
Cause function returns cause value.
func (Service_GINSValidationError) Error ¶
func (e Service_GINSValidationError) Error() string
Error satisfies the builtin error interface
func (Service_GINSValidationError) ErrorName ¶
func (e Service_GINSValidationError) ErrorName() string
ErrorName returns error name.
func (Service_GINSValidationError) Field ¶
func (e Service_GINSValidationError) Field() string
Field function returns field value.
func (Service_GINSValidationError) Key ¶
func (e Service_GINSValidationError) Key() bool
Key function returns key value.
func (Service_GINSValidationError) Reason ¶
func (e Service_GINSValidationError) Reason() string
Reason function returns reason value.
type Service_GRPC ¶
type Service_GRPC struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` UseTls bool `protobuf:"varint,3,opt,name=use_tls,proto3" json:"use_tls,omitempty"` CertFile string `protobuf:"bytes,4,opt,name=cert_file,proto3" json:"cert_file,omitempty"` KeyFile string `protobuf:"bytes,5,opt,name=key_file,proto3" json:"key_file,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` ShutdownTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=shutdown_timeout,proto3,oneof" json:"shutdown_timeout,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=read_timeout,proto3,oneof" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=write_timeout,proto3,oneof" json:"write_timeout,omitempty"` IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,proto3,oneof" json:"idle_timeout,omitempty"` Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
GRPC
func (*Service_GRPC) Descriptor
deprecated
func (*Service_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use Service_GRPC.ProtoReflect.Descriptor instead.
func (*Service_GRPC) GetAddr ¶
func (x *Service_GRPC) GetAddr() string
func (*Service_GRPC) GetCertFile ¶
func (x *Service_GRPC) GetCertFile() string
func (*Service_GRPC) GetEndpoint ¶
func (x *Service_GRPC) GetEndpoint() string
func (*Service_GRPC) GetIdleTimeout ¶
func (x *Service_GRPC) GetIdleTimeout() *durationpb.Duration
func (*Service_GRPC) GetKeyFile ¶
func (x *Service_GRPC) GetKeyFile() string
func (*Service_GRPC) GetNetwork ¶
func (x *Service_GRPC) GetNetwork() string
func (*Service_GRPC) GetReadTimeout ¶
func (x *Service_GRPC) GetReadTimeout() *durationpb.Duration
func (*Service_GRPC) GetShutdownTimeout ¶
func (x *Service_GRPC) GetShutdownTimeout() *durationpb.Duration
func (*Service_GRPC) GetTimeout ¶
func (x *Service_GRPC) GetTimeout() *durationpb.Duration
func (*Service_GRPC) GetUseTls ¶
func (x *Service_GRPC) GetUseTls() bool
func (*Service_GRPC) GetWriteTimeout ¶
func (x *Service_GRPC) GetWriteTimeout() *durationpb.Duration
func (*Service_GRPC) ProtoMessage ¶
func (*Service_GRPC) ProtoMessage()
func (*Service_GRPC) ProtoReflect ¶
func (x *Service_GRPC) ProtoReflect() protoreflect.Message
func (*Service_GRPC) Reset ¶
func (x *Service_GRPC) Reset()
func (*Service_GRPC) String ¶
func (x *Service_GRPC) String() string
func (*Service_GRPC) Validate ¶
func (m *Service_GRPC) Validate() error
Validate checks the field values on Service_GRPC with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Service_GRPC) ValidateAll ¶
func (m *Service_GRPC) ValidateAll() error
ValidateAll checks the field values on Service_GRPC with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Service_GRPCMultiError, or nil if none found.
type Service_GRPCMultiError ¶
type Service_GRPCMultiError []error
Service_GRPCMultiError is an error wrapping multiple validation errors returned by Service_GRPC.ValidateAll() if the designated constraints aren't met.
func (Service_GRPCMultiError) AllErrors ¶
func (m Service_GRPCMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_GRPCMultiError) Error ¶
func (m Service_GRPCMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_GRPCValidationError ¶
type Service_GRPCValidationError struct {
// contains filtered or unexported fields
}
Service_GRPCValidationError is the validation error returned by Service_GRPC.Validate if the designated constraints aren't met.
func (Service_GRPCValidationError) Cause ¶
func (e Service_GRPCValidationError) Cause() error
Cause function returns cause value.
func (Service_GRPCValidationError) Error ¶
func (e Service_GRPCValidationError) Error() string
Error satisfies the builtin error interface
func (Service_GRPCValidationError) ErrorName ¶
func (e Service_GRPCValidationError) ErrorName() string
ErrorName returns error name.
func (Service_GRPCValidationError) Field ¶
func (e Service_GRPCValidationError) Field() string
Field function returns field value.
func (Service_GRPCValidationError) Key ¶
func (e Service_GRPCValidationError) Key() bool
Key function returns key value.
func (Service_GRPCValidationError) Reason ¶
func (e Service_GRPCValidationError) Reason() string
Reason function returns reason value.
type Service_HTTP ¶
type Service_HTTP struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` UseTls bool `protobuf:"varint,3,opt,name=use_tls,proto3" json:"use_tls,omitempty"` CertFile string `protobuf:"bytes,4,opt,name=cert_file,proto3" json:"cert_file,omitempty"` KeyFile string `protobuf:"bytes,5,opt,name=key_file,proto3" json:"key_file,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` ShutdownTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=shutdown_timeout,proto3" json:"shutdown_timeout,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"` IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,proto3" json:"idle_timeout,omitempty"` Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
HTTP
func (*Service_HTTP) Descriptor
deprecated
func (*Service_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Service_HTTP.ProtoReflect.Descriptor instead.
func (*Service_HTTP) GetAddr ¶
func (x *Service_HTTP) GetAddr() string
func (*Service_HTTP) GetCertFile ¶
func (x *Service_HTTP) GetCertFile() string
func (*Service_HTTP) GetEndpoint ¶
func (x *Service_HTTP) GetEndpoint() string
func (*Service_HTTP) GetIdleTimeout ¶
func (x *Service_HTTP) GetIdleTimeout() *durationpb.Duration
func (*Service_HTTP) GetKeyFile ¶
func (x *Service_HTTP) GetKeyFile() string
func (*Service_HTTP) GetNetwork ¶
func (x *Service_HTTP) GetNetwork() string
func (*Service_HTTP) GetReadTimeout ¶
func (x *Service_HTTP) GetReadTimeout() *durationpb.Duration
func (*Service_HTTP) GetShutdownTimeout ¶
func (x *Service_HTTP) GetShutdownTimeout() *durationpb.Duration
func (*Service_HTTP) GetTimeout ¶
func (x *Service_HTTP) GetTimeout() *durationpb.Duration
func (*Service_HTTP) GetUseTls ¶
func (x *Service_HTTP) GetUseTls() bool
func (*Service_HTTP) GetWriteTimeout ¶
func (x *Service_HTTP) GetWriteTimeout() *durationpb.Duration
func (*Service_HTTP) ProtoMessage ¶
func (*Service_HTTP) ProtoMessage()
func (*Service_HTTP) ProtoReflect ¶
func (x *Service_HTTP) ProtoReflect() protoreflect.Message
func (*Service_HTTP) Reset ¶
func (x *Service_HTTP) Reset()
func (*Service_HTTP) String ¶
func (x *Service_HTTP) String() string
func (*Service_HTTP) Validate ¶
func (m *Service_HTTP) Validate() error
Validate checks the field values on Service_HTTP with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Service_HTTP) ValidateAll ¶
func (m *Service_HTTP) ValidateAll() error
ValidateAll checks the field values on Service_HTTP with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Service_HTTPMultiError, or nil if none found.
type Service_HTTPMultiError ¶
type Service_HTTPMultiError []error
Service_HTTPMultiError is an error wrapping multiple validation errors returned by Service_HTTP.ValidateAll() if the designated constraints aren't met.
func (Service_HTTPMultiError) AllErrors ¶
func (m Service_HTTPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_HTTPMultiError) Error ¶
func (m Service_HTTPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_HTTPValidationError ¶
type Service_HTTPValidationError struct {
// contains filtered or unexported fields
}
Service_HTTPValidationError is the validation error returned by Service_HTTP.Validate if the designated constraints aren't met.
func (Service_HTTPValidationError) Cause ¶
func (e Service_HTTPValidationError) Cause() error
Cause function returns cause value.
func (Service_HTTPValidationError) Error ¶
func (e Service_HTTPValidationError) Error() string
Error satisfies the builtin error interface
func (Service_HTTPValidationError) ErrorName ¶
func (e Service_HTTPValidationError) ErrorName() string
ErrorName returns error name.
func (Service_HTTPValidationError) Field ¶
func (e Service_HTTPValidationError) Field() string
Field function returns field value.
func (Service_HTTPValidationError) Key ¶
func (e Service_HTTPValidationError) Key() bool
Key function returns key value.
func (Service_HTTPValidationError) Reason ¶
func (e Service_HTTPValidationError) Reason() string
Reason function returns reason value.
type Service_Selector ¶
type Service_Selector struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Builder string `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` // contains filtered or unexported fields }
Selector
func (*Service_Selector) Descriptor
deprecated
func (*Service_Selector) Descriptor() ([]byte, []int)
Deprecated: Use Service_Selector.ProtoReflect.Descriptor instead.
func (*Service_Selector) GetBuilder ¶
func (x *Service_Selector) GetBuilder() string
func (*Service_Selector) GetVersion ¶
func (x *Service_Selector) GetVersion() string
func (*Service_Selector) ProtoMessage ¶
func (*Service_Selector) ProtoMessage()
func (*Service_Selector) ProtoReflect ¶
func (x *Service_Selector) ProtoReflect() protoreflect.Message
func (*Service_Selector) Reset ¶
func (x *Service_Selector) Reset()
func (*Service_Selector) String ¶
func (x *Service_Selector) String() string
func (*Service_Selector) Validate ¶
func (m *Service_Selector) Validate() error
Validate checks the field values on Service_Selector with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Service_Selector) ValidateAll ¶
func (m *Service_Selector) ValidateAll() error
ValidateAll checks the field values on Service_Selector with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Service_SelectorMultiError, or nil if none found.
type Service_SelectorMultiError ¶
type Service_SelectorMultiError []error
Service_SelectorMultiError is an error wrapping multiple validation errors returned by Service_Selector.ValidateAll() if the designated constraints aren't met.
func (Service_SelectorMultiError) AllErrors ¶
func (m Service_SelectorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_SelectorMultiError) Error ¶
func (m Service_SelectorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_SelectorValidationError ¶
type Service_SelectorValidationError struct {
// contains filtered or unexported fields
}
Service_SelectorValidationError is the validation error returned by Service_Selector.Validate if the designated constraints aren't met.
func (Service_SelectorValidationError) Cause ¶
func (e Service_SelectorValidationError) Cause() error
Cause function returns cause value.
func (Service_SelectorValidationError) Error ¶
func (e Service_SelectorValidationError) Error() string
Error satisfies the builtin error interface
func (Service_SelectorValidationError) ErrorName ¶
func (e Service_SelectorValidationError) ErrorName() string
ErrorName returns error name.
func (Service_SelectorValidationError) Field ¶
func (e Service_SelectorValidationError) Field() string
Field function returns field value.
func (Service_SelectorValidationError) Key ¶
func (e Service_SelectorValidationError) Key() bool
Key function returns key value.
func (Service_SelectorValidationError) Reason ¶
func (e Service_SelectorValidationError) Reason() string
Reason function returns reason value.
type SourceConfig ¶
type SourceConfig struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type // name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // set the supported file format, if not set, all formats are supported Formats []string `protobuf:"bytes,3,rep,name=formats,proto3" json:"formats,omitempty"` // set the environment variable name EnvArgs map[string]string `` /* 157-byte string literal not displayed */ // set the environment variable prefix EnvPrefixes []string `protobuf:"bytes,8,rep,name=env_prefixes,proto3" json:"env_prefixes,omitempty"` File *SourceConfig_File `protobuf:"bytes,100,opt,name=file,proto3,oneof" json:"file,omitempty"` Consul *SourceConfig_Consul `protobuf:"bytes,200,opt,name=consul,proto3,oneof" json:"consul,omitempty"` Etcd *SourceConfig_ETCD `protobuf:"bytes,300,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"` // contains filtered or unexported fields }
SourceConfig is the source file for load configuration
func (*SourceConfig) Descriptor
deprecated
func (*SourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig.ProtoReflect.Descriptor instead.
func (*SourceConfig) GetConsul ¶
func (x *SourceConfig) GetConsul() *SourceConfig_Consul
func (*SourceConfig) GetEnvArgs ¶
func (x *SourceConfig) GetEnvArgs() map[string]string
func (*SourceConfig) GetEnvPrefixes ¶
func (x *SourceConfig) GetEnvPrefixes() []string
func (*SourceConfig) GetEtcd ¶
func (x *SourceConfig) GetEtcd() *SourceConfig_ETCD
func (*SourceConfig) GetFile ¶
func (x *SourceConfig) GetFile() *SourceConfig_File
func (*SourceConfig) GetFormats ¶
func (x *SourceConfig) GetFormats() []string
func (*SourceConfig) GetName ¶
func (x *SourceConfig) GetName() string
func (*SourceConfig) GetType ¶
func (x *SourceConfig) GetType() string
func (*SourceConfig) ProtoMessage ¶
func (*SourceConfig) ProtoMessage()
func (*SourceConfig) ProtoReflect ¶
func (x *SourceConfig) ProtoReflect() protoreflect.Message
func (*SourceConfig) Reset ¶
func (x *SourceConfig) Reset()
func (*SourceConfig) String ¶
func (x *SourceConfig) String() string
func (*SourceConfig) Validate ¶
func (m *SourceConfig) Validate() error
Validate checks the field values on SourceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig) ValidateAll ¶
func (m *SourceConfig) ValidateAll() error
ValidateAll checks the field values on SourceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfigMultiError, or nil if none found.
type SourceConfigMultiError ¶
type SourceConfigMultiError []error
SourceConfigMultiError is an error wrapping multiple validation errors returned by SourceConfig.ValidateAll() if the designated constraints aren't met.
func (SourceConfigMultiError) AllErrors ¶
func (m SourceConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfigMultiError) Error ¶
func (m SourceConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfigValidationError ¶
type SourceConfigValidationError struct {
// contains filtered or unexported fields
}
SourceConfigValidationError is the validation error returned by SourceConfig.Validate if the designated constraints aren't met.
func (SourceConfigValidationError) Cause ¶
func (e SourceConfigValidationError) Cause() error
Cause function returns cause value.
func (SourceConfigValidationError) Error ¶
func (e SourceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfigValidationError) ErrorName ¶
func (e SourceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfigValidationError) Field ¶
func (e SourceConfigValidationError) Field() string
Field function returns field value.
func (SourceConfigValidationError) Key ¶
func (e SourceConfigValidationError) Key() bool
Key function returns key value.
func (SourceConfigValidationError) Reason ¶
func (e SourceConfigValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_Consul ¶
type SourceConfig_Consul struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Consul
func (*SourceConfig_Consul) Descriptor
deprecated
func (*SourceConfig_Consul) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_Consul.ProtoReflect.Descriptor instead.
func (*SourceConfig_Consul) GetAddress ¶
func (x *SourceConfig_Consul) GetAddress() string
func (*SourceConfig_Consul) GetPath ¶
func (x *SourceConfig_Consul) GetPath() string
func (*SourceConfig_Consul) GetScheme ¶
func (x *SourceConfig_Consul) GetScheme() string
func (*SourceConfig_Consul) GetToken ¶
func (x *SourceConfig_Consul) GetToken() string
func (*SourceConfig_Consul) ProtoMessage ¶
func (*SourceConfig_Consul) ProtoMessage()
func (*SourceConfig_Consul) ProtoReflect ¶
func (x *SourceConfig_Consul) ProtoReflect() protoreflect.Message
func (*SourceConfig_Consul) Reset ¶
func (x *SourceConfig_Consul) Reset()
func (*SourceConfig_Consul) String ¶
func (x *SourceConfig_Consul) String() string
func (*SourceConfig_Consul) Validate ¶
func (m *SourceConfig_Consul) Validate() error
Validate checks the field values on SourceConfig_Consul with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig_Consul) ValidateAll ¶
func (m *SourceConfig_Consul) ValidateAll() error
ValidateAll checks the field values on SourceConfig_Consul with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfig_ConsulMultiError, or nil if none found.
type SourceConfig_ConsulMultiError ¶
type SourceConfig_ConsulMultiError []error
SourceConfig_ConsulMultiError is an error wrapping multiple validation errors returned by SourceConfig_Consul.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_ConsulMultiError) AllErrors ¶
func (m SourceConfig_ConsulMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_ConsulMultiError) Error ¶
func (m SourceConfig_ConsulMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_ConsulValidationError ¶
type SourceConfig_ConsulValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_ConsulValidationError is the validation error returned by SourceConfig_Consul.Validate if the designated constraints aren't met.
func (SourceConfig_ConsulValidationError) Cause ¶
func (e SourceConfig_ConsulValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_ConsulValidationError) Error ¶
func (e SourceConfig_ConsulValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_ConsulValidationError) ErrorName ¶
func (e SourceConfig_ConsulValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_ConsulValidationError) Field ¶
func (e SourceConfig_ConsulValidationError) Field() string
Field function returns field value.
func (SourceConfig_ConsulValidationError) Key ¶
func (e SourceConfig_ConsulValidationError) Key() bool
Key function returns key value.
func (SourceConfig_ConsulValidationError) Reason ¶
func (e SourceConfig_ConsulValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_ETCD ¶
type SourceConfig_ETCD struct { Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
ETCD
func (*SourceConfig_ETCD) Descriptor
deprecated
func (*SourceConfig_ETCD) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_ETCD.ProtoReflect.Descriptor instead.
func (*SourceConfig_ETCD) GetEndpoints ¶
func (x *SourceConfig_ETCD) GetEndpoints() []string
func (*SourceConfig_ETCD) ProtoMessage ¶
func (*SourceConfig_ETCD) ProtoMessage()
func (*SourceConfig_ETCD) ProtoReflect ¶
func (x *SourceConfig_ETCD) ProtoReflect() protoreflect.Message
func (*SourceConfig_ETCD) Reset ¶
func (x *SourceConfig_ETCD) Reset()
func (*SourceConfig_ETCD) String ¶
func (x *SourceConfig_ETCD) String() string
func (*SourceConfig_ETCD) Validate ¶
func (m *SourceConfig_ETCD) Validate() error
Validate checks the field values on SourceConfig_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig_ETCD) ValidateAll ¶
func (m *SourceConfig_ETCD) ValidateAll() error
ValidateAll checks the field values on SourceConfig_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfig_ETCDMultiError, or nil if none found.
type SourceConfig_ETCDMultiError ¶
type SourceConfig_ETCDMultiError []error
SourceConfig_ETCDMultiError is an error wrapping multiple validation errors returned by SourceConfig_ETCD.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_ETCDMultiError) AllErrors ¶
func (m SourceConfig_ETCDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_ETCDMultiError) Error ¶
func (m SourceConfig_ETCDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_ETCDValidationError ¶
type SourceConfig_ETCDValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_ETCDValidationError is the validation error returned by SourceConfig_ETCD.Validate if the designated constraints aren't met.
func (SourceConfig_ETCDValidationError) Cause ¶
func (e SourceConfig_ETCDValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_ETCDValidationError) Error ¶
func (e SourceConfig_ETCDValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_ETCDValidationError) ErrorName ¶
func (e SourceConfig_ETCDValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_ETCDValidationError) Field ¶
func (e SourceConfig_ETCDValidationError) Field() string
Field function returns field value.
func (SourceConfig_ETCDValidationError) Key ¶
func (e SourceConfig_ETCDValidationError) Key() bool
Key function returns key value.
func (SourceConfig_ETCDValidationError) Reason ¶
func (e SourceConfig_ETCDValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_File ¶
type SourceConfig_File struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
File
func (*SourceConfig_File) Descriptor
deprecated
func (*SourceConfig_File) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_File.ProtoReflect.Descriptor instead.
func (*SourceConfig_File) GetFormat ¶
func (x *SourceConfig_File) GetFormat() string
func (*SourceConfig_File) GetPath ¶
func (x *SourceConfig_File) GetPath() string
func (*SourceConfig_File) ProtoMessage ¶
func (*SourceConfig_File) ProtoMessage()
func (*SourceConfig_File) ProtoReflect ¶
func (x *SourceConfig_File) ProtoReflect() protoreflect.Message
func (*SourceConfig_File) Reset ¶
func (x *SourceConfig_File) Reset()
func (*SourceConfig_File) String ¶
func (x *SourceConfig_File) String() string
func (*SourceConfig_File) Validate ¶
func (m *SourceConfig_File) Validate() error
Validate checks the field values on SourceConfig_File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig_File) ValidateAll ¶
func (m *SourceConfig_File) ValidateAll() error
ValidateAll checks the field values on SourceConfig_File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfig_FileMultiError, or nil if none found.
type SourceConfig_FileMultiError ¶
type SourceConfig_FileMultiError []error
SourceConfig_FileMultiError is an error wrapping multiple validation errors returned by SourceConfig_File.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_FileMultiError) AllErrors ¶
func (m SourceConfig_FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_FileMultiError) Error ¶
func (m SourceConfig_FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_FileValidationError ¶
type SourceConfig_FileValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_FileValidationError is the validation error returned by SourceConfig_File.Validate if the designated constraints aren't met.
func (SourceConfig_FileValidationError) Cause ¶
func (e SourceConfig_FileValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_FileValidationError) Error ¶
func (e SourceConfig_FileValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_FileValidationError) ErrorName ¶
func (e SourceConfig_FileValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_FileValidationError) Field ¶
func (e SourceConfig_FileValidationError) Field() string
Field function returns field value.
func (SourceConfig_FileValidationError) Key ¶
func (e SourceConfig_FileValidationError) Key() bool
Key function returns key value.
func (SourceConfig_FileValidationError) Reason ¶
func (e SourceConfig_FileValidationError) Reason() string
Reason function returns reason value.
type TLSConfig ¶
type TLSConfig struct { File *TLSConfig_File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Pem *TLSConfig_PEM `protobuf:"bytes,2,opt,name=pem,proto3" json:"pem,omitempty"` // contains filtered or unexported fields }
TLSConfig
func (*TLSConfig) Descriptor
deprecated
func (*TLSConfig) GetFile ¶
func (x *TLSConfig) GetFile() *TLSConfig_File
func (*TLSConfig) GetPem ¶
func (x *TLSConfig) GetPem() *TLSConfig_PEM
func (*TLSConfig) ProtoMessage ¶
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) ProtoReflect ¶
func (x *TLSConfig) ProtoReflect() protoreflect.Message
func (*TLSConfig) Validate ¶
Validate checks the field values on TLSConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TLSConfig) ValidateAll ¶
ValidateAll checks the field values on TLSConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSConfigMultiError, or nil if none found.
type TLSConfigMultiError ¶
type TLSConfigMultiError []error
TLSConfigMultiError is an error wrapping multiple validation errors returned by TLSConfig.ValidateAll() if the designated constraints aren't met.
func (TLSConfigMultiError) AllErrors ¶
func (m TLSConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSConfigMultiError) Error ¶
func (m TLSConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSConfigValidationError ¶
type TLSConfigValidationError struct {
// contains filtered or unexported fields
}
TLSConfigValidationError is the validation error returned by TLSConfig.Validate if the designated constraints aren't met.
func (TLSConfigValidationError) Cause ¶
func (e TLSConfigValidationError) Cause() error
Cause function returns cause value.
func (TLSConfigValidationError) Error ¶
func (e TLSConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TLSConfigValidationError) ErrorName ¶
func (e TLSConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TLSConfigValidationError) Field ¶
func (e TLSConfigValidationError) Field() string
Field function returns field value.
func (TLSConfigValidationError) Key ¶
func (e TLSConfigValidationError) Key() bool
Key function returns key value.
func (TLSConfigValidationError) Reason ¶
func (e TLSConfigValidationError) Reason() string
Reason function returns reason value.
type TLSConfig_File ¶
type TLSConfig_File struct { Cert string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Ca string `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"` // contains filtered or unexported fields }
func (*TLSConfig_File) Descriptor
deprecated
func (*TLSConfig_File) Descriptor() ([]byte, []int)
Deprecated: Use TLSConfig_File.ProtoReflect.Descriptor instead.
func (*TLSConfig_File) GetCa ¶
func (x *TLSConfig_File) GetCa() string
func (*TLSConfig_File) GetCert ¶
func (x *TLSConfig_File) GetCert() string
func (*TLSConfig_File) GetKey ¶
func (x *TLSConfig_File) GetKey() string
func (*TLSConfig_File) ProtoMessage ¶
func (*TLSConfig_File) ProtoMessage()
func (*TLSConfig_File) ProtoReflect ¶
func (x *TLSConfig_File) ProtoReflect() protoreflect.Message
func (*TLSConfig_File) Reset ¶
func (x *TLSConfig_File) Reset()
func (*TLSConfig_File) String ¶
func (x *TLSConfig_File) String() string
func (*TLSConfig_File) Validate ¶
func (m *TLSConfig_File) Validate() error
Validate checks the field values on TLSConfig_File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TLSConfig_File) ValidateAll ¶
func (m *TLSConfig_File) ValidateAll() error
ValidateAll checks the field values on TLSConfig_File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSConfig_FileMultiError, or nil if none found.
type TLSConfig_FileMultiError ¶
type TLSConfig_FileMultiError []error
TLSConfig_FileMultiError is an error wrapping multiple validation errors returned by TLSConfig_File.ValidateAll() if the designated constraints aren't met.
func (TLSConfig_FileMultiError) AllErrors ¶
func (m TLSConfig_FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSConfig_FileMultiError) Error ¶
func (m TLSConfig_FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSConfig_FileValidationError ¶
type TLSConfig_FileValidationError struct {
// contains filtered or unexported fields
}
TLSConfig_FileValidationError is the validation error returned by TLSConfig_File.Validate if the designated constraints aren't met.
func (TLSConfig_FileValidationError) Cause ¶
func (e TLSConfig_FileValidationError) Cause() error
Cause function returns cause value.
func (TLSConfig_FileValidationError) Error ¶
func (e TLSConfig_FileValidationError) Error() string
Error satisfies the builtin error interface
func (TLSConfig_FileValidationError) ErrorName ¶
func (e TLSConfig_FileValidationError) ErrorName() string
ErrorName returns error name.
func (TLSConfig_FileValidationError) Field ¶
func (e TLSConfig_FileValidationError) Field() string
Field function returns field value.
func (TLSConfig_FileValidationError) Key ¶
func (e TLSConfig_FileValidationError) Key() bool
Key function returns key value.
func (TLSConfig_FileValidationError) Reason ¶
func (e TLSConfig_FileValidationError) Reason() string
Reason function returns reason value.
type TLSConfig_PEM ¶
type TLSConfig_PEM struct { Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Ca []byte `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"` // contains filtered or unexported fields }
func (*TLSConfig_PEM) Descriptor
deprecated
func (*TLSConfig_PEM) Descriptor() ([]byte, []int)
Deprecated: Use TLSConfig_PEM.ProtoReflect.Descriptor instead.
func (*TLSConfig_PEM) GetCa ¶
func (x *TLSConfig_PEM) GetCa() []byte
func (*TLSConfig_PEM) GetCert ¶
func (x *TLSConfig_PEM) GetCert() []byte
func (*TLSConfig_PEM) GetKey ¶
func (x *TLSConfig_PEM) GetKey() []byte
func (*TLSConfig_PEM) ProtoMessage ¶
func (*TLSConfig_PEM) ProtoMessage()
func (*TLSConfig_PEM) ProtoReflect ¶
func (x *TLSConfig_PEM) ProtoReflect() protoreflect.Message
func (*TLSConfig_PEM) Reset ¶
func (x *TLSConfig_PEM) Reset()
func (*TLSConfig_PEM) String ¶
func (x *TLSConfig_PEM) String() string
func (*TLSConfig_PEM) Validate ¶
func (m *TLSConfig_PEM) Validate() error
Validate checks the field values on TLSConfig_PEM with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TLSConfig_PEM) ValidateAll ¶
func (m *TLSConfig_PEM) ValidateAll() error
ValidateAll checks the field values on TLSConfig_PEM with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSConfig_PEMMultiError, or nil if none found.
type TLSConfig_PEMMultiError ¶
type TLSConfig_PEMMultiError []error
TLSConfig_PEMMultiError is an error wrapping multiple validation errors returned by TLSConfig_PEM.ValidateAll() if the designated constraints aren't met.
func (TLSConfig_PEMMultiError) AllErrors ¶
func (m TLSConfig_PEMMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSConfig_PEMMultiError) Error ¶
func (m TLSConfig_PEMMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSConfig_PEMValidationError ¶
type TLSConfig_PEMValidationError struct {
// contains filtered or unexported fields
}
TLSConfig_PEMValidationError is the validation error returned by TLSConfig_PEM.Validate if the designated constraints aren't met.
func (TLSConfig_PEMValidationError) Cause ¶
func (e TLSConfig_PEMValidationError) Cause() error
Cause function returns cause value.
func (TLSConfig_PEMValidationError) Error ¶
func (e TLSConfig_PEMValidationError) Error() string
Error satisfies the builtin error interface
func (TLSConfig_PEMValidationError) ErrorName ¶
func (e TLSConfig_PEMValidationError) ErrorName() string
ErrorName returns error name.
func (TLSConfig_PEMValidationError) Field ¶
func (e TLSConfig_PEMValidationError) Field() string
Field function returns field value.
func (TLSConfig_PEMValidationError) Key ¶
func (e TLSConfig_PEMValidationError) Key() bool
Key function returns key value.
func (TLSConfig_PEMValidationError) Reason ¶
func (e TLSConfig_PEMValidationError) Reason() string
Reason function returns reason value.
type Task ¶
type Task struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Asynq *Task_Asynq `protobuf:"bytes,3,opt,name=asynq,proto3" json:"asynq,omitempty"` Machinery *Task_Machinery `protobuf:"bytes,4,opt,name=machinery,proto3" json:"machinery,omitempty"` Cron *Task_Cron `protobuf:"bytes,5,opt,name=cron,proto3" json:"cron,omitempty"` // contains filtered or unexported fields }
Task config
func (*Task) Descriptor
deprecated
func (*Task) GetAsynq ¶
func (x *Task) GetAsynq() *Task_Asynq
func (*Task) GetMachinery ¶
func (x *Task) GetMachinery() *Task_Machinery
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
func (*Task) Validate ¶
Validate checks the field values on Task with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Task) ValidateAll ¶
ValidateAll checks the field values on Task with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TaskMultiError, or nil if none found.
type TaskMultiError ¶
type TaskMultiError []error
TaskMultiError is an error wrapping multiple validation errors returned by Task.ValidateAll() if the designated constraints aren't met.
func (TaskMultiError) AllErrors ¶
func (m TaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskMultiError) Error ¶
func (m TaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskValidationError ¶
type TaskValidationError struct {
// contains filtered or unexported fields
}
TaskValidationError is the validation error returned by Task.Validate if the designated constraints aren't met.
func (TaskValidationError) Cause ¶
func (e TaskValidationError) Cause() error
Cause function returns cause value.
func (TaskValidationError) Error ¶
func (e TaskValidationError) Error() string
Error satisfies the builtin error interface
func (TaskValidationError) ErrorName ¶
func (e TaskValidationError) ErrorName() string
ErrorName returns error name.
func (TaskValidationError) Field ¶
func (e TaskValidationError) Field() string
Field function returns field value.
func (TaskValidationError) Key ¶
func (e TaskValidationError) Key() bool
Key function returns key value.
func (TaskValidationError) Reason ¶
func (e TaskValidationError) Reason() string
Reason function returns reason value.
type Task_Asynq ¶
type Task_Asynq struct { // endpoint is peer network address Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // login password Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // database index Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"` // timezone location Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Asynq config
func (*Task_Asynq) Descriptor
deprecated
func (*Task_Asynq) Descriptor() ([]byte, []int)
Deprecated: Use Task_Asynq.ProtoReflect.Descriptor instead.
func (*Task_Asynq) GetDb ¶
func (x *Task_Asynq) GetDb() int32
func (*Task_Asynq) GetEndpoint ¶
func (x *Task_Asynq) GetEndpoint() string
func (*Task_Asynq) GetLocation ¶
func (x *Task_Asynq) GetLocation() string
func (*Task_Asynq) GetPassword ¶
func (x *Task_Asynq) GetPassword() string
func (*Task_Asynq) ProtoMessage ¶
func (*Task_Asynq) ProtoMessage()
func (*Task_Asynq) ProtoReflect ¶
func (x *Task_Asynq) ProtoReflect() protoreflect.Message
func (*Task_Asynq) Reset ¶
func (x *Task_Asynq) Reset()
func (*Task_Asynq) String ¶
func (x *Task_Asynq) String() string
func (*Task_Asynq) Validate ¶
func (m *Task_Asynq) Validate() error
Validate checks the field values on Task_Asynq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Task_Asynq) ValidateAll ¶
func (m *Task_Asynq) ValidateAll() error
ValidateAll checks the field values on Task_Asynq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Task_AsynqMultiError, or nil if none found.
type Task_AsynqMultiError ¶
type Task_AsynqMultiError []error
Task_AsynqMultiError is an error wrapping multiple validation errors returned by Task_Asynq.ValidateAll() if the designated constraints aren't met.
func (Task_AsynqMultiError) AllErrors ¶
func (m Task_AsynqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_AsynqMultiError) Error ¶
func (m Task_AsynqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_AsynqValidationError ¶
type Task_AsynqValidationError struct {
// contains filtered or unexported fields
}
Task_AsynqValidationError is the validation error returned by Task_Asynq.Validate if the designated constraints aren't met.
func (Task_AsynqValidationError) Cause ¶
func (e Task_AsynqValidationError) Cause() error
Cause function returns cause value.
func (Task_AsynqValidationError) Error ¶
func (e Task_AsynqValidationError) Error() string
Error satisfies the builtin error interface
func (Task_AsynqValidationError) ErrorName ¶
func (e Task_AsynqValidationError) ErrorName() string
ErrorName returns error name.
func (Task_AsynqValidationError) Field ¶
func (e Task_AsynqValidationError) Field() string
Field function returns field value.
func (Task_AsynqValidationError) Key ¶
func (e Task_AsynqValidationError) Key() bool
Key function returns key value.
func (Task_AsynqValidationError) Reason ¶
func (e Task_AsynqValidationError) Reason() string
Reason function returns reason value.
type Task_Cron ¶
type Task_Cron struct { // addr is peer network address Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
Cron config
func (*Task_Cron) Descriptor
deprecated
func (*Task_Cron) ProtoMessage ¶
func (*Task_Cron) ProtoMessage()
func (*Task_Cron) ProtoReflect ¶
func (x *Task_Cron) ProtoReflect() protoreflect.Message
func (*Task_Cron) Validate ¶
Validate checks the field values on Task_Cron with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Task_Cron) ValidateAll ¶
ValidateAll checks the field values on Task_Cron with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Task_CronMultiError, or nil if none found.
type Task_CronMultiError ¶
type Task_CronMultiError []error
Task_CronMultiError is an error wrapping multiple validation errors returned by Task_Cron.ValidateAll() if the designated constraints aren't met.
func (Task_CronMultiError) AllErrors ¶
func (m Task_CronMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_CronMultiError) Error ¶
func (m Task_CronMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_CronValidationError ¶
type Task_CronValidationError struct {
// contains filtered or unexported fields
}
Task_CronValidationError is the validation error returned by Task_Cron.Validate if the designated constraints aren't met.
func (Task_CronValidationError) Cause ¶
func (e Task_CronValidationError) Cause() error
Cause function returns cause value.
func (Task_CronValidationError) Error ¶
func (e Task_CronValidationError) Error() string
Error satisfies the builtin error interface
func (Task_CronValidationError) ErrorName ¶
func (e Task_CronValidationError) ErrorName() string
ErrorName returns error name.
func (Task_CronValidationError) Field ¶
func (e Task_CronValidationError) Field() string
Field function returns field value.
func (Task_CronValidationError) Key ¶
func (e Task_CronValidationError) Key() bool
Key function returns key value.
func (Task_CronValidationError) Reason ¶
func (e Task_CronValidationError) Reason() string
Reason function returns reason value.
type Task_Machinery ¶
type Task_Machinery struct { // brokers address, which can be specified as Redis, AMQP, or AWS SQS according to the actual storage medium used Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"` // backends configures the media for storing results. The value can be Redis, memcached, or mongodb as required Backends []string `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"` // contains filtered or unexported fields }
Machinery config
func (*Task_Machinery) Descriptor
deprecated
func (*Task_Machinery) Descriptor() ([]byte, []int)
Deprecated: Use Task_Machinery.ProtoReflect.Descriptor instead.
func (*Task_Machinery) GetBackends ¶
func (x *Task_Machinery) GetBackends() []string
func (*Task_Machinery) GetBrokers ¶
func (x *Task_Machinery) GetBrokers() []string
func (*Task_Machinery) ProtoMessage ¶
func (*Task_Machinery) ProtoMessage()
func (*Task_Machinery) ProtoReflect ¶
func (x *Task_Machinery) ProtoReflect() protoreflect.Message
func (*Task_Machinery) Reset ¶
func (x *Task_Machinery) Reset()
func (*Task_Machinery) String ¶
func (x *Task_Machinery) String() string
func (*Task_Machinery) Validate ¶
func (m *Task_Machinery) Validate() error
Validate checks the field values on Task_Machinery with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Task_Machinery) ValidateAll ¶
func (m *Task_Machinery) ValidateAll() error
ValidateAll checks the field values on Task_Machinery with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Task_MachineryMultiError, or nil if none found.
type Task_MachineryMultiError ¶
type Task_MachineryMultiError []error
Task_MachineryMultiError is an error wrapping multiple validation errors returned by Task_Machinery.ValidateAll() if the designated constraints aren't met.
func (Task_MachineryMultiError) AllErrors ¶
func (m Task_MachineryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_MachineryMultiError) Error ¶
func (m Task_MachineryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_MachineryValidationError ¶
type Task_MachineryValidationError struct {
// contains filtered or unexported fields
}
Task_MachineryValidationError is the validation error returned by Task_Machinery.Validate if the designated constraints aren't met.
func (Task_MachineryValidationError) Cause ¶
func (e Task_MachineryValidationError) Cause() error
Cause function returns cause value.
func (Task_MachineryValidationError) Error ¶
func (e Task_MachineryValidationError) Error() string
Error satisfies the builtin error interface
func (Task_MachineryValidationError) ErrorName ¶
func (e Task_MachineryValidationError) ErrorName() string
ErrorName returns error name.
func (Task_MachineryValidationError) Field ¶
func (e Task_MachineryValidationError) Field() string
Field function returns field value.
func (Task_MachineryValidationError) Key ¶
func (e Task_MachineryValidationError) Key() bool
Key function returns key value.
func (Task_MachineryValidationError) Reason ¶
func (e Task_MachineryValidationError) Reason() string
Reason function returns reason value.
type Trace ¶
type Trace struct { // name of trace service Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // endpoint is the endpoint of trace service Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
Trace config.
func (*Trace) Descriptor
deprecated
func (*Trace) GetEndpoint ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
func (*Trace) Validate ¶
Validate checks the field values on Trace with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Trace) ValidateAll ¶
ValidateAll checks the field values on Trace with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraceMultiError, or nil if none found.
type TraceMultiError ¶
type TraceMultiError []error
TraceMultiError is an error wrapping multiple validation errors returned by Trace.ValidateAll() if the designated constraints aren't met.
func (TraceMultiError) AllErrors ¶
func (m TraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraceMultiError) Error ¶
func (m TraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraceValidationError ¶
type TraceValidationError struct {
// contains filtered or unexported fields
}
TraceValidationError is the validation error returned by Trace.Validate if the designated constraints aren't met.
func (TraceValidationError) Cause ¶
func (e TraceValidationError) Cause() error
Cause function returns cause value.
func (TraceValidationError) Error ¶
func (e TraceValidationError) Error() string
Error satisfies the builtin error interface
func (TraceValidationError) ErrorName ¶
func (e TraceValidationError) ErrorName() string
ErrorName returns error name.
func (TraceValidationError) Field ¶
func (e TraceValidationError) Field() string
Field function returns field value.
func (TraceValidationError) Key ¶
func (e TraceValidationError) Key() bool
Key function returns key value.
func (TraceValidationError) Reason ¶
func (e TraceValidationError) Reason() string
Reason function returns reason value.
type UserMetric ¶
type UserMetric struct { // Timestamp: indicates the time of indicator data Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Indicator name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Indicator value Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // Indicator label for classification or filtering Labels map[string]string `` /* 153-byte string literal not displayed */ // Indicator unit Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"` Type UserMetric_MetricType `protobuf:"varint,6,opt,name=type,proto3,enum=config.v1.UserMetric_MetricType" json:"type,omitempty"` // Description of indicators Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // Indicator context information Context string `protobuf:"bytes,8,opt,name=context,proto3" json:"context,omitempty"` // Additional information for metrics that can be used to store arbitrary metadata Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
UserMetric: used to report user-defined metrics Example:
request_count := UserMetric { timestamp: 1633072800, name: "request_count", value: 12345, labels: { "service": "api_service", "endpoint": "/users" }, unit: "requests", type: COUNTER, description: "Number of requests to the API service", context: "Production environment", metadata: { "region": "us-west-1", "instance_id": "i-0123456789abcdef0" } }; response_time := UserMetric { timestamp: 1633072800, name: "response_time", value: 0.25, labels: { "service": "api_service", "endpoint": "/users" }, unit: "seconds", type: GAUGE, description: "Average response time of the API service", context: "Production environment", metadata: { "region": "us-west-1", "instance_id": "i-0123456789abcdef0" } };
func (*UserMetric) Descriptor
deprecated
func (*UserMetric) Descriptor() ([]byte, []int)
Deprecated: Use UserMetric.ProtoReflect.Descriptor instead.
func (*UserMetric) GetContext ¶
func (x *UserMetric) GetContext() string
func (*UserMetric) GetDescription ¶
func (x *UserMetric) GetDescription() string
func (*UserMetric) GetLabels ¶
func (x *UserMetric) GetLabels() map[string]string
func (*UserMetric) GetMetadata ¶
func (x *UserMetric) GetMetadata() map[string]string
func (*UserMetric) GetName ¶
func (x *UserMetric) GetName() string
func (*UserMetric) GetTimestamp ¶
func (x *UserMetric) GetTimestamp() *timestamppb.Timestamp
func (*UserMetric) GetType ¶
func (x *UserMetric) GetType() UserMetric_MetricType
func (*UserMetric) GetUnit ¶
func (x *UserMetric) GetUnit() string
func (*UserMetric) GetValue ¶
func (x *UserMetric) GetValue() float64
func (*UserMetric) ProtoMessage ¶
func (*UserMetric) ProtoMessage()
func (*UserMetric) ProtoReflect ¶
func (x *UserMetric) ProtoReflect() protoreflect.Message
func (*UserMetric) Reset ¶
func (x *UserMetric) Reset()
func (*UserMetric) String ¶
func (x *UserMetric) String() string
func (*UserMetric) Validate ¶
func (m *UserMetric) Validate() error
Validate checks the field values on UserMetric with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserMetric) ValidateAll ¶
func (m *UserMetric) ValidateAll() error
ValidateAll checks the field values on UserMetric with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMetricMultiError, or nil if none found.
type UserMetricMultiError ¶
type UserMetricMultiError []error
UserMetricMultiError is an error wrapping multiple validation errors returned by UserMetric.ValidateAll() if the designated constraints aren't met.
func (UserMetricMultiError) AllErrors ¶
func (m UserMetricMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMetricMultiError) Error ¶
func (m UserMetricMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserMetricValidationError ¶
type UserMetricValidationError struct {
// contains filtered or unexported fields
}
UserMetricValidationError is the validation error returned by UserMetric.Validate if the designated constraints aren't met.
func (UserMetricValidationError) Cause ¶
func (e UserMetricValidationError) Cause() error
Cause function returns cause value.
func (UserMetricValidationError) Error ¶
func (e UserMetricValidationError) Error() string
Error satisfies the builtin error interface
func (UserMetricValidationError) ErrorName ¶
func (e UserMetricValidationError) ErrorName() string
ErrorName returns error name.
func (UserMetricValidationError) Field ¶
func (e UserMetricValidationError) Field() string
Field function returns field value.
func (UserMetricValidationError) Key ¶
func (e UserMetricValidationError) Key() bool
Key function returns key value.
func (UserMetricValidationError) Reason ¶
func (e UserMetricValidationError) Reason() string
Reason function returns reason value.
type UserMetric_MetricType ¶
type UserMetric_MetricType int32
Type of indicator (e.g. counter, timer, histogram, etc.)
const ( UserMetric_COUNTER UserMetric_MetricType = 0 UserMetric_GAUGE UserMetric_MetricType = 1 UserMetric_HISTOGRAM UserMetric_MetricType = 2 UserMetric_SUMMARY UserMetric_MetricType = 3 )
func (UserMetric_MetricType) Descriptor ¶
func (UserMetric_MetricType) Descriptor() protoreflect.EnumDescriptor
func (UserMetric_MetricType) Enum ¶
func (x UserMetric_MetricType) Enum() *UserMetric_MetricType
func (UserMetric_MetricType) EnumDescriptor
deprecated
func (UserMetric_MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserMetric_MetricType.Descriptor instead.
func (UserMetric_MetricType) Number ¶
func (x UserMetric_MetricType) Number() protoreflect.EnumNumber
func (UserMetric_MetricType) String ¶
func (x UserMetric_MetricType) String() string
func (UserMetric_MetricType) Type ¶
func (UserMetric_MetricType) Type() protoreflect.EnumType
type WebSocket ¶
type WebSocket struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Codec string `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*WebSocket) Descriptor
deprecated
func (*WebSocket) GetNetwork ¶
func (*WebSocket) GetTimeout ¶
func (x *WebSocket) GetTimeout() *durationpb.Duration
func (*WebSocket) ProtoMessage ¶
func (*WebSocket) ProtoMessage()
func (*WebSocket) ProtoReflect ¶
func (x *WebSocket) ProtoReflect() protoreflect.Message
func (*WebSocket) Validate ¶
Validate checks the field values on WebSocket with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*WebSocket) ValidateAll ¶
ValidateAll checks the field values on WebSocket with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WebSocketMultiError, or nil if none found.
type WebSocketMultiError ¶
type WebSocketMultiError []error
WebSocketMultiError is an error wrapping multiple validation errors returned by WebSocket.ValidateAll() if the designated constraints aren't met.
func (WebSocketMultiError) AllErrors ¶
func (m WebSocketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebSocketMultiError) Error ¶
func (m WebSocketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebSocketValidationError ¶
type WebSocketValidationError struct {
// contains filtered or unexported fields
}
WebSocketValidationError is the validation error returned by WebSocket.Validate if the designated constraints aren't met.
func (WebSocketValidationError) Cause ¶
func (e WebSocketValidationError) Cause() error
Cause function returns cause value.
func (WebSocketValidationError) Error ¶
func (e WebSocketValidationError) Error() string
Error satisfies the builtin error interface
func (WebSocketValidationError) ErrorName ¶
func (e WebSocketValidationError) ErrorName() string
ErrorName returns error name.
func (WebSocketValidationError) Field ¶
func (e WebSocketValidationError) Field() string
Field function returns field value.
func (WebSocketValidationError) Key ¶
func (e WebSocketValidationError) Key() bool
Key function returns key value.
func (WebSocketValidationError) Reason ¶
func (e WebSocketValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- cors.pb.go
- cors.pb.validate.go
- customize.pb.go
- customize.pb.validate.go
- data.pb.go
- data.pb.validate.go
- logger.pb.go
- logger.pb.validate.go
- mail.pb.go
- mail.pb.validate.go
- message.pb.go
- message.pb.validate.go
- middleware.pb.go
- middleware.pb.validate.go
- registry.pb.go
- registry.pb.validate.go
- security.pb.go
- security.pb.validate.go
- service.pb.go
- service.pb.validate.go
- source.pb.go
- source.pb.validate.go
- task.pb.go
- task.pb.validate.go
- tlsconfig.pb.go
- tlsconfig.pb.validate.go
- tracer.pb.go
- tracer.pb.validate.go
- websocket.pb.go
- websocket.pb.validate.go