config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LoggerConfig_Level_name = map[int32]string{
		0: "LEVEL_UNSPECIFIED",
		1: "LEVEL_DEBUG",
		2: "LEVEL_INFO",
		3: "LEVEL_WARN",
		4: "LEVEL_ERROR",
		5: "LEVEL_FATAL",
	}
	LoggerConfig_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 LoggerConfig_Level.

View Source
var File_config_v1_cors_proto protoreflect.FileDescriptor
View Source
var File_config_v1_data_proto protoreflect.FileDescriptor
View Source
var File_config_v1_logger_proto protoreflect.FileDescriptor
View Source
var File_config_v1_metrics_proto protoreflect.FileDescriptor
View Source
var File_config_v1_middleware_proto protoreflect.FileDescriptor
View Source
var File_config_v1_registry_proto protoreflect.FileDescriptor
View Source
var File_config_v1_security_proto protoreflect.FileDescriptor
View Source
var File_config_v1_service_proto protoreflect.FileDescriptor
View Source
var File_config_v1_source_proto protoreflect.FileDescriptor
View Source
var File_config_v1_tracer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthorizationConfig

type AuthorizationConfig struct {
	AllowedMethodPaths []string             `protobuf:"bytes,2,rep,name=allowed_method_paths,proto3" json:"allowed_method_paths,omitempty"` // Direct release method paths
	SigningMethod      string               `protobuf:"bytes,3,opt,name=signing_method,proto3" json:"signing_method,omitempty"`
	SigningKey         string               `protobuf:"bytes,4,opt,name=signing_key,proto3" json:"signing_key,omitempty"`
	OldSigningKey      string               `protobuf:"bytes,5,opt,name=old_signing_key,proto3" json:"old_signing_key,omitempty"`
	ExpiredTime        *durationpb.Duration `protobuf:"bytes,6,opt,name=expired_time,proto3" json:"expired_time,omitempty"` // Expired time
	// contains filtered or unexported fields
}

func (*AuthorizationConfig) Descriptor deprecated

func (*AuthorizationConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizationConfig.ProtoReflect.Descriptor instead.

func (*AuthorizationConfig) GetAllowedMethodPaths

func (x *AuthorizationConfig) GetAllowedMethodPaths() []string

func (*AuthorizationConfig) GetExpiredTime

func (x *AuthorizationConfig) GetExpiredTime() *durationpb.Duration

func (*AuthorizationConfig) GetOldSigningKey

func (x *AuthorizationConfig) GetOldSigningKey() string

func (*AuthorizationConfig) GetSigningKey

func (x *AuthorizationConfig) GetSigningKey() string

func (*AuthorizationConfig) GetSigningMethod

func (x *AuthorizationConfig) GetSigningMethod() string

func (*AuthorizationConfig) ProtoMessage

func (*AuthorizationConfig) ProtoMessage()

func (*AuthorizationConfig) ProtoReflect

func (x *AuthorizationConfig) ProtoReflect() protoreflect.Message

func (*AuthorizationConfig) Reset

func (x *AuthorizationConfig) Reset()

func (*AuthorizationConfig) String

func (x *AuthorizationConfig) String() string

func (*AuthorizationConfig) Validate

func (m *AuthorizationConfig) Validate() error

Validate checks the field values on AuthorizationConfig 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 (*AuthorizationConfig) ValidateAll

func (m *AuthorizationConfig) ValidateAll() error

ValidateAll checks the field values on AuthorizationConfig 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 AuthorizationConfigMultiError, or nil if none found.

type AuthorizationConfigMultiError

type AuthorizationConfigMultiError []error

AuthorizationConfigMultiError is an error wrapping multiple validation errors returned by AuthorizationConfig.ValidateAll() if the designated constraints aren't met.

func (AuthorizationConfigMultiError) AllErrors

func (m AuthorizationConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorizationConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AuthorizationConfigValidationError

type AuthorizationConfigValidationError struct {
	// contains filtered or unexported fields
}

AuthorizationConfigValidationError is the validation error returned by AuthorizationConfig.Validate if the designated constraints aren't met.

func (AuthorizationConfigValidationError) Cause

Cause function returns cause value.

func (AuthorizationConfigValidationError) Error

Error satisfies the builtin error interface

func (AuthorizationConfigValidationError) ErrorName

ErrorName returns error name.

func (AuthorizationConfigValidationError) Field

Field function returns field value.

func (AuthorizationConfigValidationError) Key

Key function returns key value.

func (AuthorizationConfigValidationError) Reason

Reason function returns reason value.

type CasbinConfig

type CasbinConfig struct {
	AllowedMethodPaths []string `protobuf:"bytes,2,rep,name=allowed_method_paths,proto3" json:"allowed_method_paths,omitempty"` // Direct release method paths
	PolicyFile         string   `protobuf:"bytes,3,opt,name=policy_file,proto3" json:"policy_file,omitempty"`                   // Policy file
	ModelFile          string   `protobuf:"bytes,4,opt,name=model_file,proto3" json:"model_file,omitempty"`                     // Model file
	// contains filtered or unexported fields
}

func (*CasbinConfig) Descriptor deprecated

func (*CasbinConfig) Descriptor() ([]byte, []int)

Deprecated: Use CasbinConfig.ProtoReflect.Descriptor instead.

func (*CasbinConfig) GetAllowedMethodPaths

func (x *CasbinConfig) GetAllowedMethodPaths() []string

func (*CasbinConfig) GetModelFile

func (x *CasbinConfig) GetModelFile() string

func (*CasbinConfig) GetPolicyFile

func (x *CasbinConfig) GetPolicyFile() string

func (*CasbinConfig) ProtoMessage

func (*CasbinConfig) ProtoMessage()

func (*CasbinConfig) ProtoReflect

func (x *CasbinConfig) ProtoReflect() protoreflect.Message

func (*CasbinConfig) Reset

func (x *CasbinConfig) Reset()

func (*CasbinConfig) String

func (x *CasbinConfig) String() string

func (*CasbinConfig) Validate

func (m *CasbinConfig) Validate() error

Validate checks the field values on CasbinConfig 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 (*CasbinConfig) ValidateAll

func (m *CasbinConfig) ValidateAll() error

ValidateAll checks the field values on CasbinConfig 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 CasbinConfigMultiError, or nil if none found.

type CasbinConfigMultiError

type CasbinConfigMultiError []error

CasbinConfigMultiError is an error wrapping multiple validation errors returned by CasbinConfig.ValidateAll() if the designated constraints aren't met.

func (CasbinConfigMultiError) AllErrors

func (m CasbinConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CasbinConfigMultiError) Error

func (m CasbinConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CasbinConfigValidationError

type CasbinConfigValidationError struct {
	// contains filtered or unexported fields
}

CasbinConfigValidationError is the validation error returned by CasbinConfig.Validate if the designated constraints aren't met.

func (CasbinConfigValidationError) Cause

Cause function returns cause value.

func (CasbinConfigValidationError) Error

Error satisfies the builtin error interface

func (CasbinConfigValidationError) ErrorName

func (e CasbinConfigValidationError) ErrorName() string

ErrorName returns error name.

func (CasbinConfigValidationError) Field

Field function returns field value.

func (CasbinConfigValidationError) Key

Key function returns key value.

func (CasbinConfigValidationError) Reason

Reason function returns reason value.

type CorsConfig

type CorsConfig struct {

	// 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 config.

func (*CorsConfig) Descriptor deprecated

func (*CorsConfig) Descriptor() ([]byte, []int)

Deprecated: Use CorsConfig.ProtoReflect.Descriptor instead.

func (*CorsConfig) GetAllowBrowserExtensions

func (x *CorsConfig) GetAllowBrowserExtensions() bool

func (*CorsConfig) GetAllowCredentials

func (x *CorsConfig) GetAllowCredentials() bool

func (*CorsConfig) GetAllowFiles

func (x *CorsConfig) GetAllowFiles() bool

func (*CorsConfig) GetAllowHeaders

func (x *CorsConfig) GetAllowHeaders() []string

func (*CorsConfig) GetAllowMethods

func (x *CorsConfig) GetAllowMethods() []string

func (*CorsConfig) GetAllowOrigins

func (x *CorsConfig) GetAllowOrigins() []string

func (*CorsConfig) GetAllowPrivateNetwork

func (x *CorsConfig) GetAllowPrivateNetwork() bool

func (*CorsConfig) GetAllowWebSockets

func (x *CorsConfig) GetAllowWebSockets() bool

func (*CorsConfig) GetAllowWildcard

func (x *CorsConfig) GetAllowWildcard() bool

func (*CorsConfig) GetExposeHeaders

func (x *CorsConfig) GetExposeHeaders() []string

func (*CorsConfig) GetMaxAge

func (x *CorsConfig) GetMaxAge() *durationpb.Duration

func (*CorsConfig) ProtoMessage

func (*CorsConfig) ProtoMessage()

func (*CorsConfig) ProtoReflect

func (x *CorsConfig) ProtoReflect() protoreflect.Message

func (*CorsConfig) Reset

func (x *CorsConfig) Reset()

func (*CorsConfig) String

func (x *CorsConfig) String() string

func (*CorsConfig) Validate

func (m *CorsConfig) Validate() error

Validate checks the field values on CorsConfig 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 (*CorsConfig) ValidateAll

func (m *CorsConfig) ValidateAll() error

ValidateAll checks the field values on CorsConfig 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 CorsConfigMultiError, or nil if none found.

type CorsConfigMultiError

type CorsConfigMultiError []error

CorsConfigMultiError is an error wrapping multiple validation errors returned by CorsConfig.ValidateAll() if the designated constraints aren't met.

func (CorsConfigMultiError) AllErrors

func (m CorsConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CorsConfigMultiError) Error

func (m CorsConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CorsConfigValidationError

type CorsConfigValidationError struct {
	// contains filtered or unexported fields
}

CorsConfigValidationError is the validation error returned by CorsConfig.Validate if the designated constraints aren't met.

func (CorsConfigValidationError) Cause

func (e CorsConfigValidationError) Cause() error

Cause function returns cause value.

func (CorsConfigValidationError) Error

Error satisfies the builtin error interface

func (CorsConfigValidationError) ErrorName

func (e CorsConfigValidationError) ErrorName() string

ErrorName returns error name.

func (CorsConfigValidationError) Field

Field function returns field value.

func (CorsConfigValidationError) Key

Key function returns key value.

func (CorsConfigValidationError) Reason

func (e CorsConfigValidationError) Reason() string

Reason function returns reason value.

type DataConfig

type DataConfig struct {
	// contains filtered or unexported fields
}

func (*DataConfig) Descriptor deprecated

func (*DataConfig) Descriptor() ([]byte, []int)

Deprecated: Use DataConfig.ProtoReflect.Descriptor instead.

func (*DataConfig) ProtoMessage

func (*DataConfig) ProtoMessage()

func (*DataConfig) ProtoReflect

func (x *DataConfig) ProtoReflect() protoreflect.Message

func (*DataConfig) Reset

func (x *DataConfig) Reset()

func (*DataConfig) String

func (x *DataConfig) String() string

func (*DataConfig) Validate

func (m *DataConfig) Validate() error

Validate checks the field values on DataConfig 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 (*DataConfig) ValidateAll

func (m *DataConfig) ValidateAll() error

ValidateAll checks the field values on DataConfig 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 DataConfigMultiError, or nil if none found.

type DataConfigMultiError

type DataConfigMultiError []error

DataConfigMultiError is an error wrapping multiple validation errors returned by DataConfig.ValidateAll() if the designated constraints aren't met.

func (DataConfigMultiError) AllErrors

func (m DataConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataConfigMultiError) Error

func (m DataConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DataConfigValidationError

type DataConfigValidationError struct {
	// contains filtered or unexported fields
}

DataConfigValidationError is the validation error returned by DataConfig.Validate if the designated constraints aren't met.

func (DataConfigValidationError) Cause

func (e DataConfigValidationError) Cause() error

Cause function returns cause value.

func (DataConfigValidationError) Error

Error satisfies the builtin error interface

func (DataConfigValidationError) ErrorName

func (e DataConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DataConfigValidationError) Field

Field function returns field value.

func (DataConfigValidationError) Key

Key function returns key value.

func (DataConfigValidationError) Reason

func (e DataConfigValidationError) Reason() string

Reason function returns reason value.

type DataConfig_Database

type DataConfig_Database struct {
	Debug                 bool                 `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"`                                                        // Debugging
	Driver                string               `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`                                                       // Driver name: mysql, postgresql, mongodb, sqlite......
	Source                string               `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`                                                       // Data source (DSN string)
	Migrate               bool                 `protobuf:"varint,10,opt,name=migrate,proto3" json:"migrate,omitempty"`                                                   // Data migration switch
	EnableTrace           bool                 `protobuf:"varint,12,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"`                        // Link tracking switch
	EnableMetrics         bool                 `protobuf:"varint,13,opt,name=enable_metrics,json=enableMetrics,proto3" json:"enable_metrics,omitempty"`                  // Performance analysis switch
	MaxIdleConnections    int32                `protobuf:"varint,20,opt,name=max_idle_connections,json=maxIdleConnections,proto3" json:"max_idle_connections,omitempty"` // Maximum number of free connections in the connection pool
	MaxOpenConnections    int32                `protobuf:"varint,21,opt,name=max_open_connections,json=maxOpenConnections,proto3" json:"max_open_connections,omitempty"` // Maximum number of open connections in the connection pool
	ConnectionMaxLifetime *durationpb.Duration ``                                                                                                                        // Maximum length of time that the connection can be reused
	/* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

Database

func (*DataConfig_Database) Descriptor deprecated

func (*DataConfig_Database) Descriptor() ([]byte, []int)

Deprecated: Use DataConfig_Database.ProtoReflect.Descriptor instead.

func (*DataConfig_Database) GetConnectionMaxLifetime

func (x *DataConfig_Database) GetConnectionMaxLifetime() *durationpb.Duration

func (*DataConfig_Database) GetDebug

func (x *DataConfig_Database) GetDebug() bool

func (*DataConfig_Database) GetDriver

func (x *DataConfig_Database) GetDriver() string

func (*DataConfig_Database) GetEnableMetrics

func (x *DataConfig_Database) GetEnableMetrics() bool

func (*DataConfig_Database) GetEnableTrace

func (x *DataConfig_Database) GetEnableTrace() bool

func (*DataConfig_Database) GetMaxIdleConnections

func (x *DataConfig_Database) GetMaxIdleConnections() int32

func (*DataConfig_Database) GetMaxOpenConnections

func (x *DataConfig_Database) GetMaxOpenConnections() int32

func (*DataConfig_Database) GetMigrate

func (x *DataConfig_Database) GetMigrate() bool

func (*DataConfig_Database) GetSource

func (x *DataConfig_Database) GetSource() string

func (*DataConfig_Database) ProtoMessage

func (*DataConfig_Database) ProtoMessage()

func (*DataConfig_Database) ProtoReflect

func (x *DataConfig_Database) ProtoReflect() protoreflect.Message

func (*DataConfig_Database) Reset

func (x *DataConfig_Database) Reset()

func (*DataConfig_Database) String

func (x *DataConfig_Database) String() string

func (*DataConfig_Database) Validate

func (m *DataConfig_Database) Validate() error

Validate checks the field values on DataConfig_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 (*DataConfig_Database) ValidateAll

func (m *DataConfig_Database) ValidateAll() error

ValidateAll checks the field values on DataConfig_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 DataConfig_DatabaseMultiError, or nil if none found.

type DataConfig_DatabaseMultiError

type DataConfig_DatabaseMultiError []error

DataConfig_DatabaseMultiError is an error wrapping multiple validation errors returned by DataConfig_Database.ValidateAll() if the designated constraints aren't met.

func (DataConfig_DatabaseMultiError) AllErrors

func (m DataConfig_DatabaseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataConfig_DatabaseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataConfig_DatabaseValidationError

type DataConfig_DatabaseValidationError struct {
	// contains filtered or unexported fields
}

DataConfig_DatabaseValidationError is the validation error returned by DataConfig_Database.Validate if the designated constraints aren't met.

func (DataConfig_DatabaseValidationError) Cause

Cause function returns cause value.

func (DataConfig_DatabaseValidationError) Error

Error satisfies the builtin error interface

func (DataConfig_DatabaseValidationError) ErrorName

ErrorName returns error name.

func (DataConfig_DatabaseValidationError) Field

Field function returns field value.

func (DataConfig_DatabaseValidationError) Key

Key function returns key value.

func (DataConfig_DatabaseValidationError) Reason

Reason function returns reason value.

type EntrySelectorConfig

type EntrySelectorConfig struct {
	Global  bool   `protobuf:"varint,2,opt,name=global,proto3" json:"global,omitempty"`
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*EntrySelectorConfig) Descriptor deprecated

func (*EntrySelectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use EntrySelectorConfig.ProtoReflect.Descriptor instead.

func (*EntrySelectorConfig) GetGlobal

func (x *EntrySelectorConfig) GetGlobal() bool

func (*EntrySelectorConfig) GetName

func (x *EntrySelectorConfig) GetName() string

func (*EntrySelectorConfig) GetVersion

func (x *EntrySelectorConfig) GetVersion() string

func (*EntrySelectorConfig) ProtoMessage

func (*EntrySelectorConfig) ProtoMessage()

func (*EntrySelectorConfig) ProtoReflect

func (x *EntrySelectorConfig) ProtoReflect() protoreflect.Message

func (*EntrySelectorConfig) Reset

func (x *EntrySelectorConfig) Reset()

func (*EntrySelectorConfig) String

func (x *EntrySelectorConfig) String() string

func (*EntrySelectorConfig) Validate

func (m *EntrySelectorConfig) Validate() error

Validate checks the field values on EntrySelectorConfig 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 (*EntrySelectorConfig) ValidateAll

func (m *EntrySelectorConfig) ValidateAll() error

ValidateAll checks the field values on EntrySelectorConfig 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 EntrySelectorConfigMultiError, or nil if none found.

type EntrySelectorConfigMultiError

type EntrySelectorConfigMultiError []error

EntrySelectorConfigMultiError is an error wrapping multiple validation errors returned by EntrySelectorConfig.ValidateAll() if the designated constraints aren't met.

func (EntrySelectorConfigMultiError) AllErrors

func (m EntrySelectorConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EntrySelectorConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EntrySelectorConfigValidationError

type EntrySelectorConfigValidationError struct {
	// contains filtered or unexported fields
}

EntrySelectorConfigValidationError is the validation error returned by EntrySelectorConfig.Validate if the designated constraints aren't met.

func (EntrySelectorConfigValidationError) Cause

Cause function returns cause value.

func (EntrySelectorConfigValidationError) Error

Error satisfies the builtin error interface

func (EntrySelectorConfigValidationError) ErrorName

ErrorName returns error name.

func (EntrySelectorConfigValidationError) Field

Field function returns field value.

func (EntrySelectorConfigValidationError) Key

Key function returns key value.

func (EntrySelectorConfigValidationError) Reason

Reason function returns reason value.

type LoggerConfig

type LoggerConfig struct {
	Name  string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Level LoggerConfig_Level `protobuf:"varint,3,opt,name=level,proto3,enum=config.v1.LoggerConfig_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

logger config.

func (*LoggerConfig) Descriptor deprecated

func (*LoggerConfig) Descriptor() ([]byte, []int)

Deprecated: Use LoggerConfig.ProtoReflect.Descriptor instead.

func (*LoggerConfig) GetLevel

func (x *LoggerConfig) GetLevel() LoggerConfig_Level

func (*LoggerConfig) GetName

func (x *LoggerConfig) GetName() string

func (*LoggerConfig) ProtoMessage

func (*LoggerConfig) ProtoMessage()

func (*LoggerConfig) ProtoReflect

func (x *LoggerConfig) ProtoReflect() protoreflect.Message

func (*LoggerConfig) Reset

func (x *LoggerConfig) Reset()

func (*LoggerConfig) String

func (x *LoggerConfig) String() string

func (*LoggerConfig) Validate

func (m *LoggerConfig) Validate() error

Validate checks the field values on LoggerConfig 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 (*LoggerConfig) ValidateAll

func (m *LoggerConfig) ValidateAll() error

ValidateAll checks the field values on LoggerConfig 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 LoggerConfigMultiError, or nil if none found.

type LoggerConfigMultiError

type LoggerConfigMultiError []error

LoggerConfigMultiError is an error wrapping multiple validation errors returned by LoggerConfig.ValidateAll() if the designated constraints aren't met.

func (LoggerConfigMultiError) AllErrors

func (m LoggerConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoggerConfigMultiError) Error

func (m LoggerConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LoggerConfigValidationError

type LoggerConfigValidationError struct {
	// contains filtered or unexported fields
}

LoggerConfigValidationError is the validation error returned by LoggerConfig.Validate if the designated constraints aren't met.

func (LoggerConfigValidationError) Cause

Cause function returns cause value.

func (LoggerConfigValidationError) Error

Error satisfies the builtin error interface

func (LoggerConfigValidationError) ErrorName

func (e LoggerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (LoggerConfigValidationError) Field

Field function returns field value.

func (LoggerConfigValidationError) Key

Key function returns key value.

func (LoggerConfigValidationError) Reason

Reason function returns reason value.

type LoggerConfig_Level

type LoggerConfig_Level int32
const (
	LoggerConfig_LEVEL_UNSPECIFIED LoggerConfig_Level = 0
	LoggerConfig_LEVEL_DEBUG       LoggerConfig_Level = 1
	LoggerConfig_LEVEL_INFO        LoggerConfig_Level = 2
	LoggerConfig_LEVEL_WARN        LoggerConfig_Level = 3
	LoggerConfig_LEVEL_ERROR       LoggerConfig_Level = 4
	LoggerConfig_LEVEL_FATAL       LoggerConfig_Level = 5
)

func (LoggerConfig_Level) Descriptor

func (LoggerConfig_Level) Enum

func (LoggerConfig_Level) EnumDescriptor deprecated

func (LoggerConfig_Level) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoggerConfig_Level.Descriptor instead.

func (LoggerConfig_Level) Number

func (LoggerConfig_Level) String

func (x LoggerConfig_Level) String() string

func (LoggerConfig_Level) Type

type MessageConfig

type MessageConfig struct {
	Name     string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Mqtt     *MessageConfig_MQTT     `protobuf:"bytes,3,opt,name=mqtt,proto3" json:"mqtt,omitempty"`
	Kafka    *MessageConfig_Kafka    `protobuf:"bytes,4,opt,name=kafka,proto3" json:"kafka,omitempty"`
	Rabbitmq *MessageConfig_RabbitMQ `protobuf:"bytes,5,opt,name=rabbitmq,proto3" json:"rabbitmq,omitempty"`
	Activemq *MessageConfig_ActiveMQ `protobuf:"bytes,6,opt,name=activemq,proto3" json:"activemq,omitempty"`
	Nats     *MessageConfig_NATS     `protobuf:"bytes,7,opt,name=nats,proto3" json:"nats,omitempty"`
	Nsq      *MessageConfig_NSQ      `protobuf:"bytes,8,opt,name=nsq,proto3" json:"nsq,omitempty"`
	Pulsar   *MessageConfig_Pulsar   `protobuf:"bytes,9,opt,name=pulsar,proto3" json:"pulsar,omitempty"`
	Redis    *MessageConfig_Redis    `protobuf:"bytes,10,opt,name=redis,proto3" json:"redis,omitempty"`
	Rocketmq *MessageConfig_RocketMQ `protobuf:"bytes,11,opt,name=rocketmq,proto3" json:"rocketmq,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageConfig) Descriptor deprecated

func (*MessageConfig) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig.ProtoReflect.Descriptor instead.

func (*MessageConfig) GetActivemq

func (x *MessageConfig) GetActivemq() *MessageConfig_ActiveMQ

func (*MessageConfig) GetKafka

func (x *MessageConfig) GetKafka() *MessageConfig_Kafka

func (*MessageConfig) GetMqtt

func (x *MessageConfig) GetMqtt() *MessageConfig_MQTT

func (*MessageConfig) GetName

func (x *MessageConfig) GetName() string

func (*MessageConfig) GetNats

func (x *MessageConfig) GetNats() *MessageConfig_NATS

func (*MessageConfig) GetNsq

func (x *MessageConfig) GetNsq() *MessageConfig_NSQ

func (*MessageConfig) GetPulsar

func (x *MessageConfig) GetPulsar() *MessageConfig_Pulsar

func (*MessageConfig) GetRabbitmq

func (x *MessageConfig) GetRabbitmq() *MessageConfig_RabbitMQ

func (*MessageConfig) GetRedis

func (x *MessageConfig) GetRedis() *MessageConfig_Redis

func (*MessageConfig) GetRocketmq

func (x *MessageConfig) GetRocketmq() *MessageConfig_RocketMQ

func (*MessageConfig) ProtoMessage

func (*MessageConfig) ProtoMessage()

func (*MessageConfig) ProtoReflect

func (x *MessageConfig) ProtoReflect() protoreflect.Message

func (*MessageConfig) Reset

func (x *MessageConfig) Reset()

func (*MessageConfig) String

func (x *MessageConfig) String() string

func (*MessageConfig) Validate

func (m *MessageConfig) Validate() error

Validate checks the field values on MessageConfig 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 (*MessageConfig) ValidateAll

func (m *MessageConfig) ValidateAll() error

ValidateAll checks the field values on MessageConfig 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 MessageConfigMultiError, or nil if none found.

type MessageConfigMultiError

type MessageConfigMultiError []error

MessageConfigMultiError is an error wrapping multiple validation errors returned by MessageConfig.ValidateAll() if the designated constraints aren't met.

func (MessageConfigMultiError) AllErrors

func (m MessageConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfigMultiError) Error

func (m MessageConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MessageConfigValidationError

type MessageConfigValidationError struct {
	// contains filtered or unexported fields
}

MessageConfigValidationError is the validation error returned by MessageConfig.Validate if the designated constraints aren't met.

func (MessageConfigValidationError) Cause

Cause function returns cause value.

func (MessageConfigValidationError) Error

Error satisfies the builtin error interface

func (MessageConfigValidationError) ErrorName

func (e MessageConfigValidationError) ErrorName() string

ErrorName returns error name.

func (MessageConfigValidationError) Field

Field function returns field value.

func (MessageConfigValidationError) Key

Key function returns key value.

func (MessageConfigValidationError) Reason

Reason function returns reason value.

type MessageConfig_ActiveMQ

type MessageConfig_ActiveMQ struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

func (*MessageConfig_ActiveMQ) Descriptor deprecated

func (*MessageConfig_ActiveMQ) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_ActiveMQ.ProtoReflect.Descriptor instead.

func (*MessageConfig_ActiveMQ) GetCodec

func (x *MessageConfig_ActiveMQ) GetCodec() string

func (*MessageConfig_ActiveMQ) GetEndpoint

func (x *MessageConfig_ActiveMQ) GetEndpoint() string

func (*MessageConfig_ActiveMQ) ProtoMessage

func (*MessageConfig_ActiveMQ) ProtoMessage()

func (*MessageConfig_ActiveMQ) ProtoReflect

func (x *MessageConfig_ActiveMQ) ProtoReflect() protoreflect.Message

func (*MessageConfig_ActiveMQ) Reset

func (x *MessageConfig_ActiveMQ) Reset()

func (*MessageConfig_ActiveMQ) String

func (x *MessageConfig_ActiveMQ) String() string

func (*MessageConfig_ActiveMQ) Validate

func (m *MessageConfig_ActiveMQ) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_ActiveMQ) ValidateAll

func (m *MessageConfig_ActiveMQ) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_ActiveMQMultiError, or nil if none found.

type MessageConfig_ActiveMQMultiError

type MessageConfig_ActiveMQMultiError []error

MessageConfig_ActiveMQMultiError is an error wrapping multiple validation errors returned by MessageConfig_ActiveMQ.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_ActiveMQMultiError) AllErrors

func (m MessageConfig_ActiveMQMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_ActiveMQMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_ActiveMQValidationError

type MessageConfig_ActiveMQValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_ActiveMQValidationError is the validation error returned by MessageConfig_ActiveMQ.Validate if the designated constraints aren't met.

func (MessageConfig_ActiveMQValidationError) Cause

Cause function returns cause value.

func (MessageConfig_ActiveMQValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_ActiveMQValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_ActiveMQValidationError) Field

Field function returns field value.

func (MessageConfig_ActiveMQValidationError) Key

Key function returns key value.

func (MessageConfig_ActiveMQValidationError) Reason

Reason function returns reason value.

type MessageConfig_Kafka

type MessageConfig_Kafka struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

Kafka

func (*MessageConfig_Kafka) Descriptor deprecated

func (*MessageConfig_Kafka) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_Kafka.ProtoReflect.Descriptor instead.

func (*MessageConfig_Kafka) GetCodec

func (x *MessageConfig_Kafka) GetCodec() string

func (*MessageConfig_Kafka) GetEndpoint

func (x *MessageConfig_Kafka) GetEndpoint() string

func (*MessageConfig_Kafka) ProtoMessage

func (*MessageConfig_Kafka) ProtoMessage()

func (*MessageConfig_Kafka) ProtoReflect

func (x *MessageConfig_Kafka) ProtoReflect() protoreflect.Message

func (*MessageConfig_Kafka) Reset

func (x *MessageConfig_Kafka) Reset()

func (*MessageConfig_Kafka) String

func (x *MessageConfig_Kafka) String() string

func (*MessageConfig_Kafka) Validate

func (m *MessageConfig_Kafka) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_Kafka) ValidateAll

func (m *MessageConfig_Kafka) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_KafkaMultiError, or nil if none found.

type MessageConfig_KafkaMultiError

type MessageConfig_KafkaMultiError []error

MessageConfig_KafkaMultiError is an error wrapping multiple validation errors returned by MessageConfig_Kafka.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_KafkaMultiError) AllErrors

func (m MessageConfig_KafkaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_KafkaMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_KafkaValidationError

type MessageConfig_KafkaValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_KafkaValidationError is the validation error returned by MessageConfig_Kafka.Validate if the designated constraints aren't met.

func (MessageConfig_KafkaValidationError) Cause

Cause function returns cause value.

func (MessageConfig_KafkaValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_KafkaValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_KafkaValidationError) Field

Field function returns field value.

func (MessageConfig_KafkaValidationError) Key

Key function returns key value.

func (MessageConfig_KafkaValidationError) Reason

Reason function returns reason value.

type MessageConfig_MQTT

type MessageConfig_MQTT struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

MQTT

func (*MessageConfig_MQTT) Descriptor deprecated

func (*MessageConfig_MQTT) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_MQTT.ProtoReflect.Descriptor instead.

func (*MessageConfig_MQTT) GetCodec

func (x *MessageConfig_MQTT) GetCodec() string

func (*MessageConfig_MQTT) GetEndpoint

func (x *MessageConfig_MQTT) GetEndpoint() string

func (*MessageConfig_MQTT) ProtoMessage

func (*MessageConfig_MQTT) ProtoMessage()

func (*MessageConfig_MQTT) ProtoReflect

func (x *MessageConfig_MQTT) ProtoReflect() protoreflect.Message

func (*MessageConfig_MQTT) Reset

func (x *MessageConfig_MQTT) Reset()

func (*MessageConfig_MQTT) String

func (x *MessageConfig_MQTT) String() string

func (*MessageConfig_MQTT) Validate

func (m *MessageConfig_MQTT) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_MQTT) ValidateAll

func (m *MessageConfig_MQTT) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_MQTTMultiError, or nil if none found.

type MessageConfig_MQTTMultiError

type MessageConfig_MQTTMultiError []error

MessageConfig_MQTTMultiError is an error wrapping multiple validation errors returned by MessageConfig_MQTT.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_MQTTMultiError) AllErrors

func (m MessageConfig_MQTTMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_MQTTMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_MQTTValidationError

type MessageConfig_MQTTValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_MQTTValidationError is the validation error returned by MessageConfig_MQTT.Validate if the designated constraints aren't met.

func (MessageConfig_MQTTValidationError) Cause

Cause function returns cause value.

func (MessageConfig_MQTTValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_MQTTValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_MQTTValidationError) Field

Field function returns field value.

func (MessageConfig_MQTTValidationError) Key

Key function returns key value.

func (MessageConfig_MQTTValidationError) Reason

Reason function returns reason value.

type MessageConfig_NATS

type MessageConfig_NATS struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

func (*MessageConfig_NATS) Descriptor deprecated

func (*MessageConfig_NATS) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_NATS.ProtoReflect.Descriptor instead.

func (*MessageConfig_NATS) GetCodec

func (x *MessageConfig_NATS) GetCodec() string

func (*MessageConfig_NATS) GetEndpoint

func (x *MessageConfig_NATS) GetEndpoint() string

func (*MessageConfig_NATS) ProtoMessage

func (*MessageConfig_NATS) ProtoMessage()

func (*MessageConfig_NATS) ProtoReflect

func (x *MessageConfig_NATS) ProtoReflect() protoreflect.Message

func (*MessageConfig_NATS) Reset

func (x *MessageConfig_NATS) Reset()

func (*MessageConfig_NATS) String

func (x *MessageConfig_NATS) String() string

func (*MessageConfig_NATS) Validate

func (m *MessageConfig_NATS) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_NATS) ValidateAll

func (m *MessageConfig_NATS) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_NATSMultiError, or nil if none found.

type MessageConfig_NATSMultiError

type MessageConfig_NATSMultiError []error

MessageConfig_NATSMultiError is an error wrapping multiple validation errors returned by MessageConfig_NATS.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_NATSMultiError) AllErrors

func (m MessageConfig_NATSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_NATSMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_NATSValidationError

type MessageConfig_NATSValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_NATSValidationError is the validation error returned by MessageConfig_NATS.Validate if the designated constraints aren't met.

func (MessageConfig_NATSValidationError) Cause

Cause function returns cause value.

func (MessageConfig_NATSValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_NATSValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_NATSValidationError) Field

Field function returns field value.

func (MessageConfig_NATSValidationError) Key

Key function returns key value.

func (MessageConfig_NATSValidationError) Reason

Reason function returns reason value.

type MessageConfig_NSQ

type MessageConfig_NSQ struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

func (*MessageConfig_NSQ) Descriptor deprecated

func (*MessageConfig_NSQ) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_NSQ.ProtoReflect.Descriptor instead.

func (*MessageConfig_NSQ) GetCodec

func (x *MessageConfig_NSQ) GetCodec() string

func (*MessageConfig_NSQ) GetEndpoint

func (x *MessageConfig_NSQ) GetEndpoint() string

func (*MessageConfig_NSQ) ProtoMessage

func (*MessageConfig_NSQ) ProtoMessage()

func (*MessageConfig_NSQ) ProtoReflect

func (x *MessageConfig_NSQ) ProtoReflect() protoreflect.Message

func (*MessageConfig_NSQ) Reset

func (x *MessageConfig_NSQ) Reset()

func (*MessageConfig_NSQ) String

func (x *MessageConfig_NSQ) String() string

func (*MessageConfig_NSQ) Validate

func (m *MessageConfig_NSQ) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_NSQ) ValidateAll

func (m *MessageConfig_NSQ) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_NSQMultiError, or nil if none found.

type MessageConfig_NSQMultiError

type MessageConfig_NSQMultiError []error

MessageConfig_NSQMultiError is an error wrapping multiple validation errors returned by MessageConfig_NSQ.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_NSQMultiError) AllErrors

func (m MessageConfig_NSQMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_NSQMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_NSQValidationError

type MessageConfig_NSQValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_NSQValidationError is the validation error returned by MessageConfig_NSQ.Validate if the designated constraints aren't met.

func (MessageConfig_NSQValidationError) Cause

Cause function returns cause value.

func (MessageConfig_NSQValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_NSQValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_NSQValidationError) Field

Field function returns field value.

func (MessageConfig_NSQValidationError) Key

Key function returns key value.

func (MessageConfig_NSQValidationError) Reason

Reason function returns reason value.

type MessageConfig_Pulsar

type MessageConfig_Pulsar struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

func (*MessageConfig_Pulsar) Descriptor deprecated

func (*MessageConfig_Pulsar) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_Pulsar.ProtoReflect.Descriptor instead.

func (*MessageConfig_Pulsar) GetCodec

func (x *MessageConfig_Pulsar) GetCodec() string

func (*MessageConfig_Pulsar) GetEndpoint

func (x *MessageConfig_Pulsar) GetEndpoint() string

func (*MessageConfig_Pulsar) ProtoMessage

func (*MessageConfig_Pulsar) ProtoMessage()

func (*MessageConfig_Pulsar) ProtoReflect

func (x *MessageConfig_Pulsar) ProtoReflect() protoreflect.Message

func (*MessageConfig_Pulsar) Reset

func (x *MessageConfig_Pulsar) Reset()

func (*MessageConfig_Pulsar) String

func (x *MessageConfig_Pulsar) String() string

func (*MessageConfig_Pulsar) Validate

func (m *MessageConfig_Pulsar) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_Pulsar) ValidateAll

func (m *MessageConfig_Pulsar) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_PulsarMultiError, or nil if none found.

type MessageConfig_PulsarMultiError

type MessageConfig_PulsarMultiError []error

MessageConfig_PulsarMultiError is an error wrapping multiple validation errors returned by MessageConfig_Pulsar.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_PulsarMultiError) AllErrors

func (m MessageConfig_PulsarMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_PulsarMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_PulsarValidationError

type MessageConfig_PulsarValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_PulsarValidationError is the validation error returned by MessageConfig_Pulsar.Validate if the designated constraints aren't met.

func (MessageConfig_PulsarValidationError) Cause

Cause function returns cause value.

func (MessageConfig_PulsarValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_PulsarValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_PulsarValidationError) Field

Field function returns field value.

func (MessageConfig_PulsarValidationError) Key

Key function returns key value.

func (MessageConfig_PulsarValidationError) Reason

Reason function returns reason value.

type MessageConfig_RabbitMQ

type MessageConfig_RabbitMQ struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

RabbitMQ

func (*MessageConfig_RabbitMQ) Descriptor deprecated

func (*MessageConfig_RabbitMQ) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_RabbitMQ.ProtoReflect.Descriptor instead.

func (*MessageConfig_RabbitMQ) GetCodec

func (x *MessageConfig_RabbitMQ) GetCodec() string

func (*MessageConfig_RabbitMQ) GetEndpoint

func (x *MessageConfig_RabbitMQ) GetEndpoint() string

func (*MessageConfig_RabbitMQ) ProtoMessage

func (*MessageConfig_RabbitMQ) ProtoMessage()

func (*MessageConfig_RabbitMQ) ProtoReflect

func (x *MessageConfig_RabbitMQ) ProtoReflect() protoreflect.Message

func (*MessageConfig_RabbitMQ) Reset

func (x *MessageConfig_RabbitMQ) Reset()

func (*MessageConfig_RabbitMQ) String

func (x *MessageConfig_RabbitMQ) String() string

func (*MessageConfig_RabbitMQ) Validate

func (m *MessageConfig_RabbitMQ) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_RabbitMQ) ValidateAll

func (m *MessageConfig_RabbitMQ) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_RabbitMQMultiError, or nil if none found.

type MessageConfig_RabbitMQMultiError

type MessageConfig_RabbitMQMultiError []error

MessageConfig_RabbitMQMultiError is an error wrapping multiple validation errors returned by MessageConfig_RabbitMQ.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_RabbitMQMultiError) AllErrors

func (m MessageConfig_RabbitMQMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_RabbitMQMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_RabbitMQValidationError

type MessageConfig_RabbitMQValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_RabbitMQValidationError is the validation error returned by MessageConfig_RabbitMQ.Validate if the designated constraints aren't met.

func (MessageConfig_RabbitMQValidationError) Cause

Cause function returns cause value.

func (MessageConfig_RabbitMQValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_RabbitMQValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_RabbitMQValidationError) Field

Field function returns field value.

func (MessageConfig_RabbitMQValidationError) Key

Key function returns key value.

func (MessageConfig_RabbitMQValidationError) Reason

Reason function returns reason value.

type MessageConfig_Redis

type MessageConfig_Redis struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec    string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	// contains filtered or unexported fields
}

func (*MessageConfig_Redis) Descriptor deprecated

func (*MessageConfig_Redis) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_Redis.ProtoReflect.Descriptor instead.

func (*MessageConfig_Redis) GetCodec

func (x *MessageConfig_Redis) GetCodec() string

func (*MessageConfig_Redis) GetEndpoint

func (x *MessageConfig_Redis) GetEndpoint() string

func (*MessageConfig_Redis) ProtoMessage

func (*MessageConfig_Redis) ProtoMessage()

func (*MessageConfig_Redis) ProtoReflect

func (x *MessageConfig_Redis) ProtoReflect() protoreflect.Message

func (*MessageConfig_Redis) Reset

func (x *MessageConfig_Redis) Reset()

func (*MessageConfig_Redis) String

func (x *MessageConfig_Redis) String() string

func (*MessageConfig_Redis) Validate

func (m *MessageConfig_Redis) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_Redis) ValidateAll

func (m *MessageConfig_Redis) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_RedisMultiError, or nil if none found.

type MessageConfig_RedisMultiError

type MessageConfig_RedisMultiError []error

MessageConfig_RedisMultiError is an error wrapping multiple validation errors returned by MessageConfig_Redis.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_RedisMultiError) AllErrors

func (m MessageConfig_RedisMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_RedisMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_RedisValidationError

type MessageConfig_RedisValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_RedisValidationError is the validation error returned by MessageConfig_Redis.Validate if the designated constraints aren't met.

func (MessageConfig_RedisValidationError) Cause

Cause function returns cause value.

func (MessageConfig_RedisValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_RedisValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_RedisValidationError) Field

Field function returns field value.

func (MessageConfig_RedisValidationError) Key

Key function returns key value.

func (MessageConfig_RedisValidationError) Reason

Reason function returns reason value.

type MessageConfig_RocketMQ

type MessageConfig_RocketMQ struct {
	Endpoint         string   `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Codec            string   `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`       // Codec: json,xml,yaml...
	EnableTrace      bool     `protobuf:"varint,3,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"`
	NameServers      []string `protobuf:"bytes,4,rep,name=name_servers,json=nameServers,proto3" json:"name_servers,omitempty"`
	NameServerDomain string   `protobuf:"bytes,5,opt,name=name_server_domain,json=nameServerDomain,proto3" json:"name_server_domain,omitempty"`
	AccessKey        string   `protobuf:"bytes,6,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey        string   `protobuf:"bytes,7,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	SecurityToken    string   `protobuf:"bytes,8,opt,name=security_token,json=securityToken,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,json=instanceName,proto3" json:"instance_name,omitempty"`
	GroupName        string   `protobuf:"bytes,11,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageConfig_RocketMQ) Descriptor deprecated

func (*MessageConfig_RocketMQ) Descriptor() ([]byte, []int)

Deprecated: Use MessageConfig_RocketMQ.ProtoReflect.Descriptor instead.

func (*MessageConfig_RocketMQ) GetAccessKey

func (x *MessageConfig_RocketMQ) GetAccessKey() string

func (*MessageConfig_RocketMQ) GetCodec

func (x *MessageConfig_RocketMQ) GetCodec() string

func (*MessageConfig_RocketMQ) GetEnableTrace

func (x *MessageConfig_RocketMQ) GetEnableTrace() bool

func (*MessageConfig_RocketMQ) GetEndpoint

func (x *MessageConfig_RocketMQ) GetEndpoint() string

func (*MessageConfig_RocketMQ) GetGroupName

func (x *MessageConfig_RocketMQ) GetGroupName() string

func (*MessageConfig_RocketMQ) GetInstanceName

func (x *MessageConfig_RocketMQ) GetInstanceName() string

func (*MessageConfig_RocketMQ) GetNameServerDomain

func (x *MessageConfig_RocketMQ) GetNameServerDomain() string

func (*MessageConfig_RocketMQ) GetNameServers

func (x *MessageConfig_RocketMQ) GetNameServers() []string

func (*MessageConfig_RocketMQ) GetNamespace

func (x *MessageConfig_RocketMQ) GetNamespace() string

func (*MessageConfig_RocketMQ) GetSecretKey

func (x *MessageConfig_RocketMQ) GetSecretKey() string

func (*MessageConfig_RocketMQ) GetSecurityToken

func (x *MessageConfig_RocketMQ) GetSecurityToken() string

func (*MessageConfig_RocketMQ) ProtoMessage

func (*MessageConfig_RocketMQ) ProtoMessage()

func (*MessageConfig_RocketMQ) ProtoReflect

func (x *MessageConfig_RocketMQ) ProtoReflect() protoreflect.Message

func (*MessageConfig_RocketMQ) Reset

func (x *MessageConfig_RocketMQ) Reset()

func (*MessageConfig_RocketMQ) String

func (x *MessageConfig_RocketMQ) String() string

func (*MessageConfig_RocketMQ) Validate

func (m *MessageConfig_RocketMQ) Validate() error

Validate checks the field values on MessageConfig_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 (*MessageConfig_RocketMQ) ValidateAll

func (m *MessageConfig_RocketMQ) ValidateAll() error

ValidateAll checks the field values on MessageConfig_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 MessageConfig_RocketMQMultiError, or nil if none found.

type MessageConfig_RocketMQMultiError

type MessageConfig_RocketMQMultiError []error

MessageConfig_RocketMQMultiError is an error wrapping multiple validation errors returned by MessageConfig_RocketMQ.ValidateAll() if the designated constraints aren't met.

func (MessageConfig_RocketMQMultiError) AllErrors

func (m MessageConfig_RocketMQMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageConfig_RocketMQMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MessageConfig_RocketMQValidationError

type MessageConfig_RocketMQValidationError struct {
	// contains filtered or unexported fields
}

MessageConfig_RocketMQValidationError is the validation error returned by MessageConfig_RocketMQ.Validate if the designated constraints aren't met.

func (MessageConfig_RocketMQValidationError) Cause

Cause function returns cause value.

func (MessageConfig_RocketMQValidationError) Error

Error satisfies the builtin error interface

func (MessageConfig_RocketMQValidationError) ErrorName

ErrorName returns error name.

func (MessageConfig_RocketMQValidationError) Field

Field function returns field value.

func (MessageConfig_RocketMQValidationError) Key

Key function returns key value.

func (MessageConfig_RocketMQValidationError) Reason

Reason function returns reason value.

type MetricConfig

type MetricConfig struct {
	Includes []string `protobuf:"bytes,2,rep,name=includes,proto3" json:"includes,omitempty"`
	Name     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

metric config.

func (*MetricConfig) Descriptor deprecated

func (*MetricConfig) Descriptor() ([]byte, []int)

Deprecated: Use MetricConfig.ProtoReflect.Descriptor instead.

func (*MetricConfig) GetIncludes

func (x *MetricConfig) GetIncludes() []string

func (*MetricConfig) GetName

func (x *MetricConfig) GetName() string

func (*MetricConfig) ProtoMessage

func (*MetricConfig) ProtoMessage()

func (*MetricConfig) ProtoReflect

func (x *MetricConfig) ProtoReflect() protoreflect.Message

func (*MetricConfig) Reset

func (x *MetricConfig) Reset()

func (*MetricConfig) String

func (x *MetricConfig) String() string

func (*MetricConfig) Validate

func (m *MetricConfig) Validate() error

Validate checks the field values on MetricConfig 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 (*MetricConfig) ValidateAll

func (m *MetricConfig) ValidateAll() error

ValidateAll checks the field values on MetricConfig 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 MetricConfigMultiError, or nil if none found.

type MetricConfigMultiError

type MetricConfigMultiError []error

MetricConfigMultiError is an error wrapping multiple validation errors returned by MetricConfig.ValidateAll() if the designated constraints aren't met.

func (MetricConfigMultiError) AllErrors

func (m MetricConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetricConfigMultiError) Error

func (m MetricConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetricConfigValidationError

type MetricConfigValidationError struct {
	// contains filtered or unexported fields
}

MetricConfigValidationError is the validation error returned by MetricConfig.Validate if the designated constraints aren't met.

func (MetricConfigValidationError) Cause

Cause function returns cause value.

func (MetricConfigValidationError) Error

Error satisfies the builtin error interface

func (MetricConfigValidationError) ErrorName

func (e MetricConfigValidationError) ErrorName() string

ErrorName returns error name.

func (MetricConfigValidationError) Field

Field function returns field value.

func (MetricConfigValidationError) Key

Key function returns key value.

func (MetricConfigValidationError) Reason

Reason function returns reason value.

type MiddlewareConfig

type MiddlewareConfig struct {
	Cors     *CorsConfig          `protobuf:"bytes,1,opt,name=cors,proto3" json:"cors,omitempty"`
	Metric   *MetricConfig        `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"`
	Logger   *LoggerConfig        `protobuf:"bytes,3,opt,name=logger,proto3" json:"logger,omitempty"`
	Security *SecurityConfig      `protobuf:"bytes,4,opt,name=security,proto3" json:"security,omitempty"`
	Timeout  *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*MiddlewareConfig) Descriptor deprecated

func (*MiddlewareConfig) Descriptor() ([]byte, []int)

Deprecated: Use MiddlewareConfig.ProtoReflect.Descriptor instead.

func (*MiddlewareConfig) GetCors

func (x *MiddlewareConfig) GetCors() *CorsConfig

func (*MiddlewareConfig) GetLogger

func (x *MiddlewareConfig) GetLogger() *LoggerConfig

func (*MiddlewareConfig) GetMetric

func (x *MiddlewareConfig) GetMetric() *MetricConfig

func (*MiddlewareConfig) GetSecurity

func (x *MiddlewareConfig) GetSecurity() *SecurityConfig

func (*MiddlewareConfig) GetTimeout

func (x *MiddlewareConfig) GetTimeout() *durationpb.Duration

func (*MiddlewareConfig) ProtoMessage

func (*MiddlewareConfig) ProtoMessage()

func (*MiddlewareConfig) ProtoReflect

func (x *MiddlewareConfig) ProtoReflect() protoreflect.Message

func (*MiddlewareConfig) Reset

func (x *MiddlewareConfig) Reset()

func (*MiddlewareConfig) String

func (x *MiddlewareConfig) String() string

func (*MiddlewareConfig) Validate

func (m *MiddlewareConfig) Validate() error

Validate checks the field values on MiddlewareConfig 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 (*MiddlewareConfig) ValidateAll

func (m *MiddlewareConfig) ValidateAll() error

ValidateAll checks the field values on MiddlewareConfig 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 MiddlewareConfigMultiError, or nil if none found.

type MiddlewareConfigMultiError

type MiddlewareConfigMultiError []error

MiddlewareConfigMultiError is an error wrapping multiple validation errors returned by MiddlewareConfig.ValidateAll() if the designated constraints aren't met.

func (MiddlewareConfigMultiError) AllErrors

func (m MiddlewareConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MiddlewareConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MiddlewareConfigValidationError

type MiddlewareConfigValidationError struct {
	// contains filtered or unexported fields
}

MiddlewareConfigValidationError is the validation error returned by MiddlewareConfig.Validate if the designated constraints aren't met.

func (MiddlewareConfigValidationError) Cause

Cause function returns cause value.

func (MiddlewareConfigValidationError) Error

Error satisfies the builtin error interface

func (MiddlewareConfigValidationError) ErrorName

ErrorName returns error name.

func (MiddlewareConfigValidationError) Field

Field function returns field value.

func (MiddlewareConfigValidationError) Key

Key function returns key value.

func (MiddlewareConfigValidationError) Reason

Reason function returns reason value.

type RegistryConfig

type RegistryConfig struct {
	Type   string                 `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`           // Type
	Name   string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`           // Name
	Consul *RegistryConfig_Consul `protobuf:"bytes,3,opt,name=consul,proto3,oneof" json:"consul,omitempty"` // Consul
	Etcd   *RegistryConfig_ETCD   `protobuf:"bytes,4,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"`     // ETCD
	// contains filtered or unexported fields
}

Registration registry center

func (*RegistryConfig) Descriptor deprecated

func (*RegistryConfig) Descriptor() ([]byte, []int)

Deprecated: Use RegistryConfig.ProtoReflect.Descriptor instead.

func (*RegistryConfig) GetConsul

func (x *RegistryConfig) GetConsul() *RegistryConfig_Consul

func (*RegistryConfig) GetEtcd

func (x *RegistryConfig) GetEtcd() *RegistryConfig_ETCD

func (*RegistryConfig) GetName

func (x *RegistryConfig) GetName() string

func (*RegistryConfig) GetType

func (x *RegistryConfig) GetType() string

func (*RegistryConfig) ProtoMessage

func (*RegistryConfig) ProtoMessage()

func (*RegistryConfig) ProtoReflect

func (x *RegistryConfig) ProtoReflect() protoreflect.Message

func (*RegistryConfig) Reset

func (x *RegistryConfig) Reset()

func (*RegistryConfig) String

func (x *RegistryConfig) String() string

func (*RegistryConfig) Validate

func (m *RegistryConfig) Validate() error

Validate checks the field values on RegistryConfig 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 (*RegistryConfig) ValidateAll

func (m *RegistryConfig) ValidateAll() error

ValidateAll checks the field values on RegistryConfig 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 RegistryConfigMultiError, or nil if none found.

type RegistryConfigMultiError

type RegistryConfigMultiError []error

RegistryConfigMultiError is an error wrapping multiple validation errors returned by RegistryConfig.ValidateAll() if the designated constraints aren't met.

func (RegistryConfigMultiError) AllErrors

func (m RegistryConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegistryConfigMultiError) Error

func (m RegistryConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RegistryConfigValidationError

type RegistryConfigValidationError struct {
	// contains filtered or unexported fields
}

RegistryConfigValidationError is the validation error returned by RegistryConfig.Validate if the designated constraints aren't met.

func (RegistryConfigValidationError) Cause

Cause function returns cause value.

func (RegistryConfigValidationError) Error

Error satisfies the builtin error interface

func (RegistryConfigValidationError) ErrorName

func (e RegistryConfigValidationError) ErrorName() string

ErrorName returns error name.

func (RegistryConfigValidationError) Field

Field function returns field value.

func (RegistryConfigValidationError) Key

Key function returns key value.

func (RegistryConfigValidationError) Reason

Reason function returns reason value.

type RegistryConfig_Consul

type RegistryConfig_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 (*RegistryConfig_Consul) Descriptor deprecated

func (*RegistryConfig_Consul) Descriptor() ([]byte, []int)

Deprecated: Use RegistryConfig_Consul.ProtoReflect.Descriptor instead.

func (*RegistryConfig_Consul) GetAddress

func (x *RegistryConfig_Consul) GetAddress() string

func (*RegistryConfig_Consul) GetDatacenter

func (x *RegistryConfig_Consul) GetDatacenter() string

func (*RegistryConfig_Consul) GetDeregisterCriticalServiceAfter

func (x *RegistryConfig_Consul) GetDeregisterCriticalServiceAfter() uint32

func (*RegistryConfig_Consul) GetHealthCheck

func (x *RegistryConfig_Consul) GetHealthCheck() bool

func (*RegistryConfig_Consul) GetHealthCheckInterval

func (x *RegistryConfig_Consul) GetHealthCheckInterval() uint32

func (*RegistryConfig_Consul) GetHeartBeat

func (x *RegistryConfig_Consul) GetHeartBeat() bool

func (*RegistryConfig_Consul) GetScheme

func (x *RegistryConfig_Consul) GetScheme() string

func (*RegistryConfig_Consul) GetTimeout

func (x *RegistryConfig_Consul) GetTimeout() *durationpb.Duration

func (*RegistryConfig_Consul) GetToken

func (x *RegistryConfig_Consul) GetToken() string

func (*RegistryConfig_Consul) ProtoMessage

func (*RegistryConfig_Consul) ProtoMessage()

func (*RegistryConfig_Consul) ProtoReflect

func (x *RegistryConfig_Consul) ProtoReflect() protoreflect.Message

func (*RegistryConfig_Consul) Reset

func (x *RegistryConfig_Consul) Reset()

func (*RegistryConfig_Consul) String

func (x *RegistryConfig_Consul) String() string

func (*RegistryConfig_Consul) Validate

func (m *RegistryConfig_Consul) Validate() error

Validate checks the field values on RegistryConfig_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 (*RegistryConfig_Consul) ValidateAll

func (m *RegistryConfig_Consul) ValidateAll() error

ValidateAll checks the field values on RegistryConfig_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 RegistryConfig_ConsulMultiError, or nil if none found.

type RegistryConfig_ConsulMultiError

type RegistryConfig_ConsulMultiError []error

RegistryConfig_ConsulMultiError is an error wrapping multiple validation errors returned by RegistryConfig_Consul.ValidateAll() if the designated constraints aren't met.

func (RegistryConfig_ConsulMultiError) AllErrors

func (m RegistryConfig_ConsulMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegistryConfig_ConsulMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegistryConfig_ConsulValidationError

type RegistryConfig_ConsulValidationError struct {
	// contains filtered or unexported fields
}

RegistryConfig_ConsulValidationError is the validation error returned by RegistryConfig_Consul.Validate if the designated constraints aren't met.

func (RegistryConfig_ConsulValidationError) Cause

Cause function returns cause value.

func (RegistryConfig_ConsulValidationError) Error

Error satisfies the builtin error interface

func (RegistryConfig_ConsulValidationError) ErrorName

ErrorName returns error name.

func (RegistryConfig_ConsulValidationError) Field

Field function returns field value.

func (RegistryConfig_ConsulValidationError) Key

Key function returns key value.

func (RegistryConfig_ConsulValidationError) Reason

Reason function returns reason value.

type RegistryConfig_ETCD

type RegistryConfig_ETCD struct {
	Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistryConfig_ETCD) Descriptor deprecated

func (*RegistryConfig_ETCD) Descriptor() ([]byte, []int)

Deprecated: Use RegistryConfig_ETCD.ProtoReflect.Descriptor instead.

func (*RegistryConfig_ETCD) GetEndpoints

func (x *RegistryConfig_ETCD) GetEndpoints() []string

func (*RegistryConfig_ETCD) ProtoMessage

func (*RegistryConfig_ETCD) ProtoMessage()

func (*RegistryConfig_ETCD) ProtoReflect

func (x *RegistryConfig_ETCD) ProtoReflect() protoreflect.Message

func (*RegistryConfig_ETCD) Reset

func (x *RegistryConfig_ETCD) Reset()

func (*RegistryConfig_ETCD) String

func (x *RegistryConfig_ETCD) String() string

func (*RegistryConfig_ETCD) Validate

func (m *RegistryConfig_ETCD) Validate() error

Validate checks the field values on RegistryConfig_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 (*RegistryConfig_ETCD) ValidateAll

func (m *RegistryConfig_ETCD) ValidateAll() error

ValidateAll checks the field values on RegistryConfig_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 RegistryConfig_ETCDMultiError, or nil if none found.

type RegistryConfig_ETCDMultiError

type RegistryConfig_ETCDMultiError []error

RegistryConfig_ETCDMultiError is an error wrapping multiple validation errors returned by RegistryConfig_ETCD.ValidateAll() if the designated constraints aren't met.

func (RegistryConfig_ETCDMultiError) AllErrors

func (m RegistryConfig_ETCDMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegistryConfig_ETCDMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegistryConfig_ETCDValidationError

type RegistryConfig_ETCDValidationError struct {
	// contains filtered or unexported fields
}

RegistryConfig_ETCDValidationError is the validation error returned by RegistryConfig_ETCD.Validate if the designated constraints aren't met.

func (RegistryConfig_ETCDValidationError) Cause

Cause function returns cause value.

func (RegistryConfig_ETCDValidationError) Error

Error satisfies the builtin error interface

func (RegistryConfig_ETCDValidationError) ErrorName

ErrorName returns error name.

func (RegistryConfig_ETCDValidationError) Field

Field function returns field value.

func (RegistryConfig_ETCDValidationError) Key

Key function returns key value.

func (RegistryConfig_ETCDValidationError) Reason

Reason function returns reason value.

type SecurityConfig

type SecurityConfig struct {
	AllowedMethodPaths []string             `protobuf:"bytes,2,rep,name=allowed_method_paths,proto3" json:"allowed_method_paths,omitempty"` // Direct release method paths
	Authorization      *AuthorizationConfig `protobuf:"bytes,5,opt,name=authorization,proto3" json:"authorization,omitempty"`               // AuthorizationConfig
	Casbin             *CasbinConfig        `protobuf:"bytes,6,opt,name=casbin,proto3" json:"casbin,omitempty"`                             // CasbinConfig
	// contains filtered or unexported fields
}

Security middleware config.

func (*SecurityConfig) Descriptor deprecated

func (*SecurityConfig) Descriptor() ([]byte, []int)

Deprecated: Use SecurityConfig.ProtoReflect.Descriptor instead.

func (*SecurityConfig) GetAllowedMethodPaths

func (x *SecurityConfig) GetAllowedMethodPaths() []string

func (*SecurityConfig) GetAuthorization

func (x *SecurityConfig) GetAuthorization() *AuthorizationConfig

func (*SecurityConfig) GetCasbin

func (x *SecurityConfig) GetCasbin() *CasbinConfig

func (*SecurityConfig) ProtoMessage

func (*SecurityConfig) ProtoMessage()

func (*SecurityConfig) ProtoReflect

func (x *SecurityConfig) ProtoReflect() protoreflect.Message

func (*SecurityConfig) Reset

func (x *SecurityConfig) Reset()

func (*SecurityConfig) String

func (x *SecurityConfig) String() string

func (*SecurityConfig) Validate

func (m *SecurityConfig) Validate() error

Validate checks the field values on SecurityConfig 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 (*SecurityConfig) ValidateAll

func (m *SecurityConfig) ValidateAll() error

ValidateAll checks the field values on SecurityConfig 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 SecurityConfigMultiError, or nil if none found.

type SecurityConfigMultiError

type SecurityConfigMultiError []error

SecurityConfigMultiError is an error wrapping multiple validation errors returned by SecurityConfig.ValidateAll() if the designated constraints aren't met.

func (SecurityConfigMultiError) AllErrors

func (m SecurityConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SecurityConfigMultiError) Error

func (m SecurityConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SecurityConfigValidationError

type SecurityConfigValidationError struct {
	// contains filtered or unexported fields
}

SecurityConfigValidationError is the validation error returned by SecurityConfig.Validate if the designated constraints aren't met.

func (SecurityConfigValidationError) Cause

Cause function returns cause value.

func (SecurityConfigValidationError) Error

Error satisfies the builtin error interface

func (SecurityConfigValidationError) ErrorName

func (e SecurityConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SecurityConfigValidationError) Field

Field function returns field value.

func (SecurityConfigValidationError) Key

Key function returns key value.

func (SecurityConfigValidationError) Reason

Reason function returns reason value.

type ServiceConfig

type ServiceConfig struct {
	Entry     *ServiceConfig_Entry     `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Gins      *ServiceConfig_GINS      `protobuf:"bytes,2,opt,name=gins,proto3" json:"gins,omitempty"`
	Http      *ServiceConfig_HTTP      `protobuf:"bytes,3,opt,name=http,proto3" json:"http,omitempty"`
	Grpc      *ServiceConfig_GRPC      `protobuf:"bytes,4,opt,name=grpc,proto3" json:"grpc,omitempty"`
	Websocket *ServiceConfig_Websocket `protobuf:"bytes,5,opt,name=websocket,proto3" json:"websocket,omitempty"`
	Message   *MessageConfig           `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"`
	Task      *TaskConfig              `protobuf:"bytes,20,opt,name=task,proto3" json:"task,omitempty"`
	Host      string                   `protobuf:"bytes,99,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConfig) Descriptor deprecated

func (*ServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.

func (*ServiceConfig) GetEntry

func (x *ServiceConfig) GetEntry() *ServiceConfig_Entry

func (*ServiceConfig) GetGins

func (x *ServiceConfig) GetGins() *ServiceConfig_GINS

func (*ServiceConfig) GetGrpc

func (x *ServiceConfig) GetGrpc() *ServiceConfig_GRPC

func (*ServiceConfig) GetHost

func (x *ServiceConfig) GetHost() string

func (*ServiceConfig) GetHttp

func (x *ServiceConfig) GetHttp() *ServiceConfig_HTTP

func (*ServiceConfig) GetMessage

func (x *ServiceConfig) GetMessage() *MessageConfig

func (*ServiceConfig) GetTask

func (x *ServiceConfig) GetTask() *TaskConfig

func (*ServiceConfig) GetWebsocket

func (x *ServiceConfig) GetWebsocket() *ServiceConfig_Websocket

func (*ServiceConfig) ProtoMessage

func (*ServiceConfig) ProtoMessage()

func (*ServiceConfig) ProtoReflect

func (x *ServiceConfig) ProtoReflect() protoreflect.Message

func (*ServiceConfig) Reset

func (x *ServiceConfig) Reset()

func (*ServiceConfig) String

func (x *ServiceConfig) String() string

func (*ServiceConfig) Validate

func (m *ServiceConfig) Validate() error

Validate checks the field values on ServiceConfig 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 (*ServiceConfig) ValidateAll

func (m *ServiceConfig) ValidateAll() error

ValidateAll checks the field values on ServiceConfig 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 ServiceConfigMultiError, or nil if none found.

type ServiceConfigMultiError

type ServiceConfigMultiError []error

ServiceConfigMultiError is an error wrapping multiple validation errors returned by ServiceConfig.ValidateAll() if the designated constraints aren't met.

func (ServiceConfigMultiError) AllErrors

func (m ServiceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfigMultiError) Error

func (m ServiceConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ServiceConfigValidationError

type ServiceConfigValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfigValidationError is the validation error returned by ServiceConfig.Validate if the designated constraints aren't met.

func (ServiceConfigValidationError) Cause

Cause function returns cause value.

func (ServiceConfigValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfigValidationError) ErrorName

func (e ServiceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ServiceConfigValidationError) Field

Field function returns field value.

func (ServiceConfigValidationError) Key

Key function returns key value.

func (ServiceConfigValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Entry

type ServiceConfig_Entry struct {
	Name          string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Addr          string               `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Network       string               `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Weight        string               `protobuf:"bytes,4,opt,name=weight,proto3" json:"weight,omitempty"`
	Timeout       *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
	EnableSwagger bool                 `protobuf:"varint,6,opt,name=enable_swagger,proto3" json:"enable_swagger,omitempty"`
	EnablePprof   bool                 `protobuf:"varint,7,opt,name=enable_pprof,proto3" json:"enable_pprof,omitempty"`
	Selector      *EntrySelectorConfig `protobuf:"bytes,8,opt,name=selector,proto3" json:"selector,omitempty"`
	// contains filtered or unexported fields
}

Entry

func (*ServiceConfig_Entry) Descriptor deprecated

func (*ServiceConfig_Entry) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Entry.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Entry) GetAddr

func (x *ServiceConfig_Entry) GetAddr() string

func (*ServiceConfig_Entry) GetEnablePprof

func (x *ServiceConfig_Entry) GetEnablePprof() bool

func (*ServiceConfig_Entry) GetEnableSwagger

func (x *ServiceConfig_Entry) GetEnableSwagger() bool

func (*ServiceConfig_Entry) GetName

func (x *ServiceConfig_Entry) GetName() string

func (*ServiceConfig_Entry) GetNetwork

func (x *ServiceConfig_Entry) GetNetwork() string

func (*ServiceConfig_Entry) GetSelector

func (x *ServiceConfig_Entry) GetSelector() *EntrySelectorConfig

func (*ServiceConfig_Entry) GetTimeout

func (x *ServiceConfig_Entry) GetTimeout() *durationpb.Duration

func (*ServiceConfig_Entry) GetWeight

func (x *ServiceConfig_Entry) GetWeight() string

func (*ServiceConfig_Entry) ProtoMessage

func (*ServiceConfig_Entry) ProtoMessage()

func (*ServiceConfig_Entry) ProtoReflect

func (x *ServiceConfig_Entry) ProtoReflect() protoreflect.Message

func (*ServiceConfig_Entry) Reset

func (x *ServiceConfig_Entry) Reset()

func (*ServiceConfig_Entry) String

func (x *ServiceConfig_Entry) String() string

func (*ServiceConfig_Entry) Validate

func (m *ServiceConfig_Entry) Validate() error

Validate checks the field values on ServiceConfig_Entry 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 (*ServiceConfig_Entry) ValidateAll

func (m *ServiceConfig_Entry) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_Entry 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 ServiceConfig_EntryMultiError, or nil if none found.

type ServiceConfig_EntryMultiError

type ServiceConfig_EntryMultiError []error

ServiceConfig_EntryMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Entry.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_EntryMultiError) AllErrors

func (m ServiceConfig_EntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfig_EntryMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_EntryValidationError

type ServiceConfig_EntryValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_EntryValidationError is the validation error returned by ServiceConfig_Entry.Validate if the designated constraints aren't met.

func (ServiceConfig_EntryValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_EntryValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_EntryValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_EntryValidationError) Field

Field function returns field value.

func (ServiceConfig_EntryValidationError) Key

Key function returns key value.

func (ServiceConfig_EntryValidationError) Reason

Reason function returns reason value.

type ServiceConfig_GINS

type ServiceConfig_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 (*ServiceConfig_GINS) Descriptor deprecated

func (*ServiceConfig_GINS) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_GINS.ProtoReflect.Descriptor instead.

func (*ServiceConfig_GINS) GetAddr

func (x *ServiceConfig_GINS) GetAddr() string

func (*ServiceConfig_GINS) GetCertFile

func (x *ServiceConfig_GINS) GetCertFile() string

func (*ServiceConfig_GINS) GetEndpoint

func (x *ServiceConfig_GINS) GetEndpoint() string

func (*ServiceConfig_GINS) GetIdleTimeout

func (x *ServiceConfig_GINS) GetIdleTimeout() *durationpb.Duration

func (*ServiceConfig_GINS) GetKeyFile

func (x *ServiceConfig_GINS) GetKeyFile() string

func (*ServiceConfig_GINS) GetNetwork

func (x *ServiceConfig_GINS) GetNetwork() string

func (*ServiceConfig_GINS) GetReadTimeout

func (x *ServiceConfig_GINS) GetReadTimeout() *durationpb.Duration

func (*ServiceConfig_GINS) GetShutdownTimeout

func (x *ServiceConfig_GINS) GetShutdownTimeout() *durationpb.Duration

func (*ServiceConfig_GINS) GetTimeout

func (x *ServiceConfig_GINS) GetTimeout() *durationpb.Duration

func (*ServiceConfig_GINS) GetUseTls

func (x *ServiceConfig_GINS) GetUseTls() bool

func (*ServiceConfig_GINS) GetWriteTimeout

func (x *ServiceConfig_GINS) GetWriteTimeout() *durationpb.Duration

func (*ServiceConfig_GINS) ProtoMessage

func (*ServiceConfig_GINS) ProtoMessage()

func (*ServiceConfig_GINS) ProtoReflect

func (x *ServiceConfig_GINS) ProtoReflect() protoreflect.Message

func (*ServiceConfig_GINS) Reset

func (x *ServiceConfig_GINS) Reset()

func (*ServiceConfig_GINS) String

func (x *ServiceConfig_GINS) String() string

func (*ServiceConfig_GINS) Validate

func (m *ServiceConfig_GINS) Validate() error

Validate checks the field values on ServiceConfig_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 (*ServiceConfig_GINS) ValidateAll

func (m *ServiceConfig_GINS) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_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 ServiceConfig_GINSMultiError, or nil if none found.

type ServiceConfig_GINSMultiError

type ServiceConfig_GINSMultiError []error

ServiceConfig_GINSMultiError is an error wrapping multiple validation errors returned by ServiceConfig_GINS.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_GINSMultiError) AllErrors

func (m ServiceConfig_GINSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfig_GINSMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_GINSValidationError

type ServiceConfig_GINSValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_GINSValidationError is the validation error returned by ServiceConfig_GINS.Validate if the designated constraints aren't met.

func (ServiceConfig_GINSValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_GINSValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_GINSValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_GINSValidationError) Field

Field function returns field value.

func (ServiceConfig_GINSValidationError) Key

Key function returns key value.

func (ServiceConfig_GINSValidationError) Reason

Reason function returns reason value.

type ServiceConfig_GRPC

type ServiceConfig_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 (*ServiceConfig_GRPC) Descriptor deprecated

func (*ServiceConfig_GRPC) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_GRPC.ProtoReflect.Descriptor instead.

func (*ServiceConfig_GRPC) GetAddr

func (x *ServiceConfig_GRPC) GetAddr() string

func (*ServiceConfig_GRPC) GetCertFile

func (x *ServiceConfig_GRPC) GetCertFile() string

func (*ServiceConfig_GRPC) GetEndpoint

func (x *ServiceConfig_GRPC) GetEndpoint() string

func (*ServiceConfig_GRPC) GetIdleTimeout

func (x *ServiceConfig_GRPC) GetIdleTimeout() *durationpb.Duration

func (*ServiceConfig_GRPC) GetKeyFile

func (x *ServiceConfig_GRPC) GetKeyFile() string

func (*ServiceConfig_GRPC) GetNetwork

func (x *ServiceConfig_GRPC) GetNetwork() string

func (*ServiceConfig_GRPC) GetReadTimeout

func (x *ServiceConfig_GRPC) GetReadTimeout() *durationpb.Duration

func (*ServiceConfig_GRPC) GetShutdownTimeout

func (x *ServiceConfig_GRPC) GetShutdownTimeout() *durationpb.Duration

func (*ServiceConfig_GRPC) GetTimeout

func (x *ServiceConfig_GRPC) GetTimeout() *durationpb.Duration

func (*ServiceConfig_GRPC) GetUseTls

func (x *ServiceConfig_GRPC) GetUseTls() bool

func (*ServiceConfig_GRPC) GetWriteTimeout

func (x *ServiceConfig_GRPC) GetWriteTimeout() *durationpb.Duration

func (*ServiceConfig_GRPC) ProtoMessage

func (*ServiceConfig_GRPC) ProtoMessage()

func (*ServiceConfig_GRPC) ProtoReflect

func (x *ServiceConfig_GRPC) ProtoReflect() protoreflect.Message

func (*ServiceConfig_GRPC) Reset

func (x *ServiceConfig_GRPC) Reset()

func (*ServiceConfig_GRPC) String

func (x *ServiceConfig_GRPC) String() string

func (*ServiceConfig_GRPC) Validate

func (m *ServiceConfig_GRPC) Validate() error

Validate checks the field values on ServiceConfig_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 (*ServiceConfig_GRPC) ValidateAll

func (m *ServiceConfig_GRPC) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_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 ServiceConfig_GRPCMultiError, or nil if none found.

type ServiceConfig_GRPCMultiError

type ServiceConfig_GRPCMultiError []error

ServiceConfig_GRPCMultiError is an error wrapping multiple validation errors returned by ServiceConfig_GRPC.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_GRPCMultiError) AllErrors

func (m ServiceConfig_GRPCMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfig_GRPCMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_GRPCValidationError

type ServiceConfig_GRPCValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_GRPCValidationError is the validation error returned by ServiceConfig_GRPC.Validate if the designated constraints aren't met.

func (ServiceConfig_GRPCValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_GRPCValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_GRPCValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_GRPCValidationError) Field

Field function returns field value.

func (ServiceConfig_GRPCValidationError) Key

Key function returns key value.

func (ServiceConfig_GRPCValidationError) Reason

Reason function returns reason value.

type ServiceConfig_HTTP

type ServiceConfig_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 (*ServiceConfig_HTTP) Descriptor deprecated

func (*ServiceConfig_HTTP) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_HTTP.ProtoReflect.Descriptor instead.

func (*ServiceConfig_HTTP) GetAddr

func (x *ServiceConfig_HTTP) GetAddr() string

func (*ServiceConfig_HTTP) GetCertFile

func (x *ServiceConfig_HTTP) GetCertFile() string

func (*ServiceConfig_HTTP) GetEndpoint

func (x *ServiceConfig_HTTP) GetEndpoint() string

func (*ServiceConfig_HTTP) GetIdleTimeout

func (x *ServiceConfig_HTTP) GetIdleTimeout() *durationpb.Duration

func (*ServiceConfig_HTTP) GetKeyFile

func (x *ServiceConfig_HTTP) GetKeyFile() string

func (*ServiceConfig_HTTP) GetNetwork

func (x *ServiceConfig_HTTP) GetNetwork() string

func (*ServiceConfig_HTTP) GetReadTimeout

func (x *ServiceConfig_HTTP) GetReadTimeout() *durationpb.Duration

func (*ServiceConfig_HTTP) GetShutdownTimeout

func (x *ServiceConfig_HTTP) GetShutdownTimeout() *durationpb.Duration

func (*ServiceConfig_HTTP) GetTimeout

func (x *ServiceConfig_HTTP) GetTimeout() *durationpb.Duration

func (*ServiceConfig_HTTP) GetUseTls

func (x *ServiceConfig_HTTP) GetUseTls() bool

func (*ServiceConfig_HTTP) GetWriteTimeout

func (x *ServiceConfig_HTTP) GetWriteTimeout() *durationpb.Duration

func (*ServiceConfig_HTTP) ProtoMessage

func (*ServiceConfig_HTTP) ProtoMessage()

func (*ServiceConfig_HTTP) ProtoReflect

func (x *ServiceConfig_HTTP) ProtoReflect() protoreflect.Message

func (*ServiceConfig_HTTP) Reset

func (x *ServiceConfig_HTTP) Reset()

func (*ServiceConfig_HTTP) String

func (x *ServiceConfig_HTTP) String() string

func (*ServiceConfig_HTTP) Validate

func (m *ServiceConfig_HTTP) Validate() error

Validate checks the field values on ServiceConfig_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 (*ServiceConfig_HTTP) ValidateAll

func (m *ServiceConfig_HTTP) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_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 ServiceConfig_HTTPMultiError, or nil if none found.

type ServiceConfig_HTTPMultiError

type ServiceConfig_HTTPMultiError []error

ServiceConfig_HTTPMultiError is an error wrapping multiple validation errors returned by ServiceConfig_HTTP.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_HTTPMultiError) AllErrors

func (m ServiceConfig_HTTPMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfig_HTTPMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_HTTPValidationError

type ServiceConfig_HTTPValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_HTTPValidationError is the validation error returned by ServiceConfig_HTTP.Validate if the designated constraints aren't met.

func (ServiceConfig_HTTPValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_HTTPValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_HTTPValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_HTTPValidationError) Field

Field function returns field value.

func (ServiceConfig_HTTPValidationError) Key

Key function returns key value.

func (ServiceConfig_HTTPValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Middleware

type ServiceConfig_Middleware struct {
	Cors    *ServiceConfig_Middleware_Cors    `protobuf:"bytes,1,opt,name=cors,proto3" json:"cors,omitempty"`
	Metrics *ServiceConfig_Middleware_Metrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
	Traces  *ServiceConfig_Middleware_Traces  `protobuf:"bytes,3,opt,name=traces,proto3" json:"traces,omitempty"`
	Logger  *ServiceConfig_Middleware_Logger  `protobuf:"bytes,4,opt,name=logger,proto3" json:"logger,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConfig_Middleware) Descriptor deprecated

func (*ServiceConfig_Middleware) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Middleware.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Middleware) GetCors

func (*ServiceConfig_Middleware) GetLogger

func (*ServiceConfig_Middleware) GetMetrics

func (*ServiceConfig_Middleware) GetTraces

func (*ServiceConfig_Middleware) ProtoMessage

func (*ServiceConfig_Middleware) ProtoMessage()

func (*ServiceConfig_Middleware) ProtoReflect

func (x *ServiceConfig_Middleware) ProtoReflect() protoreflect.Message

func (*ServiceConfig_Middleware) Reset

func (x *ServiceConfig_Middleware) Reset()

func (*ServiceConfig_Middleware) String

func (x *ServiceConfig_Middleware) String() string

func (*ServiceConfig_Middleware) Validate

func (m *ServiceConfig_Middleware) Validate() error

Validate checks the field values on ServiceConfig_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 (*ServiceConfig_Middleware) ValidateAll

func (m *ServiceConfig_Middleware) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_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 ServiceConfig_MiddlewareMultiError, or nil if none found.

type ServiceConfig_MiddlewareMultiError

type ServiceConfig_MiddlewareMultiError []error

ServiceConfig_MiddlewareMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_MiddlewareMultiError) AllErrors

func (m ServiceConfig_MiddlewareMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfig_MiddlewareMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_MiddlewareValidationError

type ServiceConfig_MiddlewareValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_MiddlewareValidationError is the validation error returned by ServiceConfig_Middleware.Validate if the designated constraints aren't met.

func (ServiceConfig_MiddlewareValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_MiddlewareValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_MiddlewareValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_MiddlewareValidationError) Field

Field function returns field value.

func (ServiceConfig_MiddlewareValidationError) Key

Key function returns key value.

func (ServiceConfig_MiddlewareValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Middleware_Cors

type ServiceConfig_Middleware_Cors struct {
	AllowAllOrigins        bool     `protobuf:"varint,2,opt,name=allow_all_origins,proto3" json:"allow_all_origins,omitempty"`
	AllowOrigins           []string `protobuf:"bytes,3,rep,name=allow_origins,proto3" json:"allow_origins,omitempty"`
	AllowMethods           []string `protobuf:"bytes,4,rep,name=allow_methods,proto3" json:"allow_methods,omitempty"`
	AllowHeaders           []string `protobuf:"bytes,5,rep,name=allow_headers,proto3" json:"allow_headers,omitempty"`
	AllowCredentials       bool     `protobuf:"varint,6,opt,name=allow_credentials,proto3" json:"allow_credentials,omitempty"`
	ExposeHeaders          []string `protobuf:"bytes,7,rep,name=expose_headers,proto3" json:"expose_headers,omitempty"`
	MaxAge                 int32    `protobuf:"varint,8,opt,name=max_age,proto3" json:"max_age,omitempty"`
	AllowWildcard          bool     `protobuf:"varint,9,opt,name=allow_wildcard,proto3" json:"allow_wildcard,omitempty"`
	AllowBrowserExtensions bool     `protobuf:"varint,10,opt,name=allow_browser_extensions,proto3" json:"allow_browser_extensions,omitempty"`
	AllowWebSockets        bool     `protobuf:"varint,11,opt,name=allow_web_sockets,proto3" json:"allow_web_sockets,omitempty"`
	AllowFiles             bool     `protobuf:"varint,12,opt,name=allow_files,proto3" json:"allow_files,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConfig_Middleware_Cors) Descriptor deprecated

func (*ServiceConfig_Middleware_Cors) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Middleware_Cors.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Middleware_Cors) GetAllowAllOrigins

func (x *ServiceConfig_Middleware_Cors) GetAllowAllOrigins() bool

func (*ServiceConfig_Middleware_Cors) GetAllowBrowserExtensions

func (x *ServiceConfig_Middleware_Cors) GetAllowBrowserExtensions() bool

func (*ServiceConfig_Middleware_Cors) GetAllowCredentials

func (x *ServiceConfig_Middleware_Cors) GetAllowCredentials() bool

func (*ServiceConfig_Middleware_Cors) GetAllowFiles

func (x *ServiceConfig_Middleware_Cors) GetAllowFiles() bool

func (*ServiceConfig_Middleware_Cors) GetAllowHeaders

func (x *ServiceConfig_Middleware_Cors) GetAllowHeaders() []string

func (*ServiceConfig_Middleware_Cors) GetAllowMethods

func (x *ServiceConfig_Middleware_Cors) GetAllowMethods() []string

func (*ServiceConfig_Middleware_Cors) GetAllowOrigins

func (x *ServiceConfig_Middleware_Cors) GetAllowOrigins() []string

func (*ServiceConfig_Middleware_Cors) GetAllowWebSockets

func (x *ServiceConfig_Middleware_Cors) GetAllowWebSockets() bool

func (*ServiceConfig_Middleware_Cors) GetAllowWildcard

func (x *ServiceConfig_Middleware_Cors) GetAllowWildcard() bool

func (*ServiceConfig_Middleware_Cors) GetExposeHeaders

func (x *ServiceConfig_Middleware_Cors) GetExposeHeaders() []string

func (*ServiceConfig_Middleware_Cors) GetMaxAge

func (x *ServiceConfig_Middleware_Cors) GetMaxAge() int32

func (*ServiceConfig_Middleware_Cors) ProtoMessage

func (*ServiceConfig_Middleware_Cors) ProtoMessage()

func (*ServiceConfig_Middleware_Cors) ProtoReflect

func (*ServiceConfig_Middleware_Cors) Reset

func (x *ServiceConfig_Middleware_Cors) Reset()

func (*ServiceConfig_Middleware_Cors) String

func (*ServiceConfig_Middleware_Cors) Validate

func (m *ServiceConfig_Middleware_Cors) Validate() error

Validate checks the field values on ServiceConfig_Middleware_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 (*ServiceConfig_Middleware_Cors) ValidateAll

func (m *ServiceConfig_Middleware_Cors) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_Middleware_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 ServiceConfig_Middleware_CorsMultiError, or nil if none found.

type ServiceConfig_Middleware_CorsMultiError

type ServiceConfig_Middleware_CorsMultiError []error

ServiceConfig_Middleware_CorsMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Cors.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_Middleware_CorsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ServiceConfig_Middleware_CorsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_Middleware_CorsValidationError

type ServiceConfig_Middleware_CorsValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_Middleware_CorsValidationError is the validation error returned by ServiceConfig_Middleware_Cors.Validate if the designated constraints aren't met.

func (ServiceConfig_Middleware_CorsValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_Middleware_CorsValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_Middleware_CorsValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_Middleware_CorsValidationError) Field

Field function returns field value.

func (ServiceConfig_Middleware_CorsValidationError) Key

Key function returns key value.

func (ServiceConfig_Middleware_CorsValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Middleware_Logger

type ServiceConfig_Middleware_Logger struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConfig_Middleware_Logger) Descriptor deprecated

func (*ServiceConfig_Middleware_Logger) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Middleware_Logger.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Middleware_Logger) GetName

func (*ServiceConfig_Middleware_Logger) ProtoMessage

func (*ServiceConfig_Middleware_Logger) ProtoMessage()

func (*ServiceConfig_Middleware_Logger) ProtoReflect

func (*ServiceConfig_Middleware_Logger) Reset

func (*ServiceConfig_Middleware_Logger) String

func (*ServiceConfig_Middleware_Logger) Validate

func (m *ServiceConfig_Middleware_Logger) Validate() error

Validate checks the field values on ServiceConfig_Middleware_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 (*ServiceConfig_Middleware_Logger) ValidateAll

func (m *ServiceConfig_Middleware_Logger) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_Middleware_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 ServiceConfig_Middleware_LoggerMultiError, or nil if none found.

type ServiceConfig_Middleware_LoggerMultiError

type ServiceConfig_Middleware_LoggerMultiError []error

ServiceConfig_Middleware_LoggerMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Logger.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_Middleware_LoggerMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ServiceConfig_Middleware_LoggerMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_Middleware_LoggerValidationError

type ServiceConfig_Middleware_LoggerValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_Middleware_LoggerValidationError is the validation error returned by ServiceConfig_Middleware_Logger.Validate if the designated constraints aren't met.

func (ServiceConfig_Middleware_LoggerValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_Middleware_LoggerValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_Middleware_LoggerValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_Middleware_LoggerValidationError) Field

Field function returns field value.

func (ServiceConfig_Middleware_LoggerValidationError) Key

Key function returns key value.

func (ServiceConfig_Middleware_LoggerValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Middleware_Metrics

type ServiceConfig_Middleware_Metrics struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConfig_Middleware_Metrics) Descriptor deprecated

func (*ServiceConfig_Middleware_Metrics) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Middleware_Metrics.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Middleware_Metrics) GetName

func (*ServiceConfig_Middleware_Metrics) ProtoMessage

func (*ServiceConfig_Middleware_Metrics) ProtoMessage()

func (*ServiceConfig_Middleware_Metrics) ProtoReflect

func (*ServiceConfig_Middleware_Metrics) Reset

func (*ServiceConfig_Middleware_Metrics) String

func (*ServiceConfig_Middleware_Metrics) Validate

Validate checks the field values on ServiceConfig_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 (*ServiceConfig_Middleware_Metrics) ValidateAll

func (m *ServiceConfig_Middleware_Metrics) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_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 ServiceConfig_Middleware_MetricsMultiError, or nil if none found.

type ServiceConfig_Middleware_MetricsMultiError

type ServiceConfig_Middleware_MetricsMultiError []error

ServiceConfig_Middleware_MetricsMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Metrics.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_Middleware_MetricsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ServiceConfig_Middleware_MetricsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_Middleware_MetricsValidationError

type ServiceConfig_Middleware_MetricsValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_Middleware_MetricsValidationError is the validation error returned by ServiceConfig_Middleware_Metrics.Validate if the designated constraints aren't met.

func (ServiceConfig_Middleware_MetricsValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_Middleware_MetricsValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_Middleware_MetricsValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_Middleware_MetricsValidationError) Field

Field function returns field value.

func (ServiceConfig_Middleware_MetricsValidationError) Key

Key function returns key value.

func (ServiceConfig_Middleware_MetricsValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Middleware_Traces

type ServiceConfig_Middleware_Traces struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceConfig_Middleware_Traces) Descriptor deprecated

func (*ServiceConfig_Middleware_Traces) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Middleware_Traces.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Middleware_Traces) GetName

func (*ServiceConfig_Middleware_Traces) ProtoMessage

func (*ServiceConfig_Middleware_Traces) ProtoMessage()

func (*ServiceConfig_Middleware_Traces) ProtoReflect

func (*ServiceConfig_Middleware_Traces) Reset

func (*ServiceConfig_Middleware_Traces) String

func (*ServiceConfig_Middleware_Traces) Validate

func (m *ServiceConfig_Middleware_Traces) Validate() error

Validate checks the field values on ServiceConfig_Middleware_Traces 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 (*ServiceConfig_Middleware_Traces) ValidateAll

func (m *ServiceConfig_Middleware_Traces) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_Middleware_Traces 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 ServiceConfig_Middleware_TracesMultiError, or nil if none found.

type ServiceConfig_Middleware_TracesMultiError

type ServiceConfig_Middleware_TracesMultiError []error

ServiceConfig_Middleware_TracesMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Traces.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_Middleware_TracesMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ServiceConfig_Middleware_TracesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_Middleware_TracesValidationError

type ServiceConfig_Middleware_TracesValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_Middleware_TracesValidationError is the validation error returned by ServiceConfig_Middleware_Traces.Validate if the designated constraints aren't met.

func (ServiceConfig_Middleware_TracesValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_Middleware_TracesValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_Middleware_TracesValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_Middleware_TracesValidationError) Field

Field function returns field value.

func (ServiceConfig_Middleware_TracesValidationError) Key

Key function returns key value.

func (ServiceConfig_Middleware_TracesValidationError) Reason

Reason function returns reason value.

type ServiceConfig_Websocket

type ServiceConfig_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
}

Websocket

func (*ServiceConfig_Websocket) Descriptor deprecated

func (*ServiceConfig_Websocket) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_Websocket.ProtoReflect.Descriptor instead.

func (*ServiceConfig_Websocket) GetAddr

func (x *ServiceConfig_Websocket) GetAddr() string

func (*ServiceConfig_Websocket) GetCodec

func (x *ServiceConfig_Websocket) GetCodec() string

func (*ServiceConfig_Websocket) GetNetwork

func (x *ServiceConfig_Websocket) GetNetwork() string

func (*ServiceConfig_Websocket) GetPath

func (x *ServiceConfig_Websocket) GetPath() string

func (*ServiceConfig_Websocket) GetTimeout

func (x *ServiceConfig_Websocket) GetTimeout() *durationpb.Duration

func (*ServiceConfig_Websocket) ProtoMessage

func (*ServiceConfig_Websocket) ProtoMessage()

func (*ServiceConfig_Websocket) ProtoReflect

func (x *ServiceConfig_Websocket) ProtoReflect() protoreflect.Message

func (*ServiceConfig_Websocket) Reset

func (x *ServiceConfig_Websocket) Reset()

func (*ServiceConfig_Websocket) String

func (x *ServiceConfig_Websocket) String() string

func (*ServiceConfig_Websocket) Validate

func (m *ServiceConfig_Websocket) Validate() error

Validate checks the field values on ServiceConfig_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 (*ServiceConfig_Websocket) ValidateAll

func (m *ServiceConfig_Websocket) ValidateAll() error

ValidateAll checks the field values on ServiceConfig_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 ServiceConfig_WebsocketMultiError, or nil if none found.

type ServiceConfig_WebsocketMultiError

type ServiceConfig_WebsocketMultiError []error

ServiceConfig_WebsocketMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Websocket.ValidateAll() if the designated constraints aren't met.

func (ServiceConfig_WebsocketMultiError) AllErrors

func (m ServiceConfig_WebsocketMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServiceConfig_WebsocketMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ServiceConfig_WebsocketValidationError

type ServiceConfig_WebsocketValidationError struct {
	// contains filtered or unexported fields
}

ServiceConfig_WebsocketValidationError is the validation error returned by ServiceConfig_Websocket.Validate if the designated constraints aren't met.

func (ServiceConfig_WebsocketValidationError) Cause

Cause function returns cause value.

func (ServiceConfig_WebsocketValidationError) Error

Error satisfies the builtin error interface

func (ServiceConfig_WebsocketValidationError) ErrorName

ErrorName returns error name.

func (ServiceConfig_WebsocketValidationError) Field

Field function returns field value.

func (ServiceConfig_WebsocketValidationError) Key

Key function returns key value.

func (ServiceConfig_WebsocketValidationError) Reason

Reason function returns reason value.

type SourceConfig

type SourceConfig struct {
	Type        string               `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type
	Name        string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name
	File        *SourceConfig_File   `protobuf:"bytes,3,opt,name=file,proto3,oneof" json:"file,omitempty"`
	Consul      *SourceConfig_Consul `protobuf:"bytes,4,opt,name=consul,proto3,oneof" json:"consul,omitempty"` // Consul
	Etcd        *SourceConfig_ETCD   `protobuf:"bytes,5,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"`     // ETCD
	Formats     []string             `protobuf:"bytes,6,rep,name=formats,proto3" json:"formats,omitempty"`
	EnvPrefixes []string             `protobuf:"bytes,8,rep,name=env_prefixes,proto3" json:"env_prefixes,omitempty"`
	EnvArgs     map[string]string    `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Registration source center

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

Cause function returns cause value.

func (SourceConfigValidationError) Error

Error satisfies the builtin error interface

func (SourceConfigValidationError) ErrorName

func (e SourceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SourceConfigValidationError) Field

Field function returns field value.

func (SourceConfigValidationError) Key

Key function returns key value.

func (SourceConfigValidationError) Reason

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

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

Cause function returns cause value.

func (SourceConfig_ConsulValidationError) Error

Error satisfies the builtin error interface

func (SourceConfig_ConsulValidationError) ErrorName

ErrorName returns error name.

func (SourceConfig_ConsulValidationError) Field

Field function returns field value.

func (SourceConfig_ConsulValidationError) Key

Key function returns key value.

func (SourceConfig_ConsulValidationError) Reason

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
}

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

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

Cause function returns cause value.

func (SourceConfig_ETCDValidationError) Error

Error satisfies the builtin error interface

func (SourceConfig_ETCDValidationError) ErrorName

ErrorName returns error name.

func (SourceConfig_ETCDValidationError) Field

Field function returns field value.

func (SourceConfig_ETCDValidationError) Key

Key function returns key value.

func (SourceConfig_ETCDValidationError) Reason

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

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

Cause function returns cause value.

func (SourceConfig_FileValidationError) Error

Error satisfies the builtin error interface

func (SourceConfig_FileValidationError) ErrorName

ErrorName returns error name.

func (SourceConfig_FileValidationError) Field

Field function returns field value.

func (SourceConfig_FileValidationError) Key

Key function returns key value.

func (SourceConfig_FileValidationError) Reason

Reason function returns reason value.

type TaskConfig

type TaskConfig struct {
	Name      string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Asynq     *TaskConfig_Asynq     `protobuf:"bytes,3,opt,name=asynq,proto3" json:"asynq,omitempty"`
	Machinery *TaskConfig_Machinery `protobuf:"bytes,4,opt,name=machinery,proto3" json:"machinery,omitempty"`
	Cron      *TaskConfig_Cron      `protobuf:"bytes,5,opt,name=cron,proto3" json:"cron,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskConfig) Descriptor deprecated

func (*TaskConfig) Descriptor() ([]byte, []int)

Deprecated: Use TaskConfig.ProtoReflect.Descriptor instead.

func (*TaskConfig) GetAsynq

func (x *TaskConfig) GetAsynq() *TaskConfig_Asynq

func (*TaskConfig) GetCron

func (x *TaskConfig) GetCron() *TaskConfig_Cron

func (*TaskConfig) GetMachinery

func (x *TaskConfig) GetMachinery() *TaskConfig_Machinery

func (*TaskConfig) GetName

func (x *TaskConfig) GetName() string

func (*TaskConfig) ProtoMessage

func (*TaskConfig) ProtoMessage()

func (*TaskConfig) ProtoReflect

func (x *TaskConfig) ProtoReflect() protoreflect.Message

func (*TaskConfig) Reset

func (x *TaskConfig) Reset()

func (*TaskConfig) String

func (x *TaskConfig) String() string

func (*TaskConfig) Validate

func (m *TaskConfig) Validate() error

Validate checks the field values on TaskConfig 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 (*TaskConfig) ValidateAll

func (m *TaskConfig) ValidateAll() error

ValidateAll checks the field values on TaskConfig 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 TaskConfigMultiError, or nil if none found.

type TaskConfigMultiError

type TaskConfigMultiError []error

TaskConfigMultiError is an error wrapping multiple validation errors returned by TaskConfig.ValidateAll() if the designated constraints aren't met.

func (TaskConfigMultiError) AllErrors

func (m TaskConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TaskConfigMultiError) Error

func (m TaskConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TaskConfigValidationError

type TaskConfigValidationError struct {
	// contains filtered or unexported fields
}

TaskConfigValidationError is the validation error returned by TaskConfig.Validate if the designated constraints aren't met.

func (TaskConfigValidationError) Cause

func (e TaskConfigValidationError) Cause() error

Cause function returns cause value.

func (TaskConfigValidationError) Error

Error satisfies the builtin error interface

func (TaskConfigValidationError) ErrorName

func (e TaskConfigValidationError) ErrorName() string

ErrorName returns error name.

func (TaskConfigValidationError) Field

Field function returns field value.

func (TaskConfigValidationError) Key

Key function returns key value.

func (TaskConfigValidationError) Reason

func (e TaskConfigValidationError) Reason() string

Reason function returns reason value.

type TaskConfig_Asynq

type TaskConfig_Asynq struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // redis Login password
	Db       int32  `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`            // Database index
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Time Zone
	// contains filtered or unexported fields
}

Asynq

func (*TaskConfig_Asynq) Descriptor deprecated

func (*TaskConfig_Asynq) Descriptor() ([]byte, []int)

Deprecated: Use TaskConfig_Asynq.ProtoReflect.Descriptor instead.

func (*TaskConfig_Asynq) GetDb

func (x *TaskConfig_Asynq) GetDb() int32

func (*TaskConfig_Asynq) GetEndpoint

func (x *TaskConfig_Asynq) GetEndpoint() string

func (*TaskConfig_Asynq) GetLocation

func (x *TaskConfig_Asynq) GetLocation() string

func (*TaskConfig_Asynq) GetPassword

func (x *TaskConfig_Asynq) GetPassword() string

func (*TaskConfig_Asynq) ProtoMessage

func (*TaskConfig_Asynq) ProtoMessage()

func (*TaskConfig_Asynq) ProtoReflect

func (x *TaskConfig_Asynq) ProtoReflect() protoreflect.Message

func (*TaskConfig_Asynq) Reset

func (x *TaskConfig_Asynq) Reset()

func (*TaskConfig_Asynq) String

func (x *TaskConfig_Asynq) String() string

func (*TaskConfig_Asynq) Validate

func (m *TaskConfig_Asynq) Validate() error

Validate checks the field values on TaskConfig_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 (*TaskConfig_Asynq) ValidateAll

func (m *TaskConfig_Asynq) ValidateAll() error

ValidateAll checks the field values on TaskConfig_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 TaskConfig_AsynqMultiError, or nil if none found.

type TaskConfig_AsynqMultiError

type TaskConfig_AsynqMultiError []error

TaskConfig_AsynqMultiError is an error wrapping multiple validation errors returned by TaskConfig_Asynq.ValidateAll() if the designated constraints aren't met.

func (TaskConfig_AsynqMultiError) AllErrors

func (m TaskConfig_AsynqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TaskConfig_AsynqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TaskConfig_AsynqValidationError

type TaskConfig_AsynqValidationError struct {
	// contains filtered or unexported fields
}

TaskConfig_AsynqValidationError is the validation error returned by TaskConfig_Asynq.Validate if the designated constraints aren't met.

func (TaskConfig_AsynqValidationError) Cause

Cause function returns cause value.

func (TaskConfig_AsynqValidationError) Error

Error satisfies the builtin error interface

func (TaskConfig_AsynqValidationError) ErrorName

ErrorName returns error name.

func (TaskConfig_AsynqValidationError) Field

Field function returns field value.

func (TaskConfig_AsynqValidationError) Key

Key function returns key value.

func (TaskConfig_AsynqValidationError) Reason

Reason function returns reason value.

type TaskConfig_Cron

type TaskConfig_Cron struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // redis Login password
	Db       int32  `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`            // Database index
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Time Zone
	// contains filtered or unexported fields
}

Cron

func (*TaskConfig_Cron) Descriptor deprecated

func (*TaskConfig_Cron) Descriptor() ([]byte, []int)

Deprecated: Use TaskConfig_Cron.ProtoReflect.Descriptor instead.

func (*TaskConfig_Cron) GetDb

func (x *TaskConfig_Cron) GetDb() int32

func (*TaskConfig_Cron) GetEndpoint

func (x *TaskConfig_Cron) GetEndpoint() string

func (*TaskConfig_Cron) GetLocation

func (x *TaskConfig_Cron) GetLocation() string

func (*TaskConfig_Cron) GetPassword

func (x *TaskConfig_Cron) GetPassword() string

func (*TaskConfig_Cron) ProtoMessage

func (*TaskConfig_Cron) ProtoMessage()

func (*TaskConfig_Cron) ProtoReflect

func (x *TaskConfig_Cron) ProtoReflect() protoreflect.Message

func (*TaskConfig_Cron) Reset

func (x *TaskConfig_Cron) Reset()

func (*TaskConfig_Cron) String

func (x *TaskConfig_Cron) String() string

func (*TaskConfig_Cron) Validate

func (m *TaskConfig_Cron) Validate() error

Validate checks the field values on TaskConfig_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 (*TaskConfig_Cron) ValidateAll

func (m *TaskConfig_Cron) ValidateAll() error

ValidateAll checks the field values on TaskConfig_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 TaskConfig_CronMultiError, or nil if none found.

type TaskConfig_CronMultiError

type TaskConfig_CronMultiError []error

TaskConfig_CronMultiError is an error wrapping multiple validation errors returned by TaskConfig_Cron.ValidateAll() if the designated constraints aren't met.

func (TaskConfig_CronMultiError) AllErrors

func (m TaskConfig_CronMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TaskConfig_CronMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TaskConfig_CronValidationError

type TaskConfig_CronValidationError struct {
	// contains filtered or unexported fields
}

TaskConfig_CronValidationError is the validation error returned by TaskConfig_Cron.Validate if the designated constraints aren't met.

func (TaskConfig_CronValidationError) Cause

Cause function returns cause value.

func (TaskConfig_CronValidationError) Error

Error satisfies the builtin error interface

func (TaskConfig_CronValidationError) ErrorName

func (e TaskConfig_CronValidationError) ErrorName() string

ErrorName returns error name.

func (TaskConfig_CronValidationError) Field

Field function returns field value.

func (TaskConfig_CronValidationError) Key

Key function returns key value.

func (TaskConfig_CronValidationError) Reason

Reason function returns reason value.

type TaskConfig_Machinery

type TaskConfig_Machinery struct {
	Brokers  []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"`   // broker address, which can be specified as Redis, AMQP, or AWS SQS according to the actual storage medium used;
	Backends []string `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"` // backend configures the media for storing results. The value can be Redis, memcached, or mongodb as required.  }
	// contains filtered or unexported fields
}

Machinery

func (*TaskConfig_Machinery) Descriptor deprecated

func (*TaskConfig_Machinery) Descriptor() ([]byte, []int)

Deprecated: Use TaskConfig_Machinery.ProtoReflect.Descriptor instead.

func (*TaskConfig_Machinery) GetBackends

func (x *TaskConfig_Machinery) GetBackends() []string

func (*TaskConfig_Machinery) GetBrokers

func (x *TaskConfig_Machinery) GetBrokers() []string

func (*TaskConfig_Machinery) ProtoMessage

func (*TaskConfig_Machinery) ProtoMessage()

func (*TaskConfig_Machinery) ProtoReflect

func (x *TaskConfig_Machinery) ProtoReflect() protoreflect.Message

func (*TaskConfig_Machinery) Reset

func (x *TaskConfig_Machinery) Reset()

func (*TaskConfig_Machinery) String

func (x *TaskConfig_Machinery) String() string

func (*TaskConfig_Machinery) Validate

func (m *TaskConfig_Machinery) Validate() error

Validate checks the field values on TaskConfig_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 (*TaskConfig_Machinery) ValidateAll

func (m *TaskConfig_Machinery) ValidateAll() error

ValidateAll checks the field values on TaskConfig_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 TaskConfig_MachineryMultiError, or nil if none found.

type TaskConfig_MachineryMultiError

type TaskConfig_MachineryMultiError []error

TaskConfig_MachineryMultiError is an error wrapping multiple validation errors returned by TaskConfig_Machinery.ValidateAll() if the designated constraints aren't met.

func (TaskConfig_MachineryMultiError) AllErrors

func (m TaskConfig_MachineryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TaskConfig_MachineryMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TaskConfig_MachineryValidationError

type TaskConfig_MachineryValidationError struct {
	// contains filtered or unexported fields
}

TaskConfig_MachineryValidationError is the validation error returned by TaskConfig_Machinery.Validate if the designated constraints aren't met.

func (TaskConfig_MachineryValidationError) Cause

Cause function returns cause value.

func (TaskConfig_MachineryValidationError) Error

Error satisfies the builtin error interface

func (TaskConfig_MachineryValidationError) ErrorName

ErrorName returns error name.

func (TaskConfig_MachineryValidationError) Field

Field function returns field value.

func (TaskConfig_MachineryValidationError) Key

Key function returns key value.

func (TaskConfig_MachineryValidationError) Reason

Reason function returns reason value.

type TraceConfig

type TraceConfig struct {
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*TraceConfig) Descriptor deprecated

func (*TraceConfig) Descriptor() ([]byte, []int)

Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead.

func (*TraceConfig) GetEndpoint

func (x *TraceConfig) GetEndpoint() string

func (*TraceConfig) GetName

func (x *TraceConfig) GetName() string

func (*TraceConfig) ProtoMessage

func (*TraceConfig) ProtoMessage()

func (*TraceConfig) ProtoReflect

func (x *TraceConfig) ProtoReflect() protoreflect.Message

func (*TraceConfig) Reset

func (x *TraceConfig) Reset()

func (*TraceConfig) String

func (x *TraceConfig) String() string

func (*TraceConfig) Validate

func (m *TraceConfig) Validate() error

Validate checks the field values on TraceConfig 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 (*TraceConfig) ValidateAll

func (m *TraceConfig) ValidateAll() error

ValidateAll checks the field values on TraceConfig 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 TraceConfigMultiError, or nil if none found.

type TraceConfigMultiError

type TraceConfigMultiError []error

TraceConfigMultiError is an error wrapping multiple validation errors returned by TraceConfig.ValidateAll() if the designated constraints aren't met.

func (TraceConfigMultiError) AllErrors

func (m TraceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TraceConfigMultiError) Error

func (m TraceConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TraceConfigValidationError

type TraceConfigValidationError struct {
	// contains filtered or unexported fields
}

TraceConfigValidationError is the validation error returned by TraceConfig.Validate if the designated constraints aren't met.

func (TraceConfigValidationError) Cause

Cause function returns cause value.

func (TraceConfigValidationError) Error

Error satisfies the builtin error interface

func (TraceConfigValidationError) ErrorName

func (e TraceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (TraceConfigValidationError) Field

Field function returns field value.

func (TraceConfigValidationError) Key

Key function returns key value.

func (TraceConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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