conf

package
v0.0.0-...-f0a7105 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_conf_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	Server   *Server       `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Client   *Client       `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
	Data     *Data         `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Trace    *Tracer       `protobuf:"bytes,4,opt,name=trace,proto3" json:"trace,omitempty"`
	Logger   *Logger       `protobuf:"bytes,5,opt,name=logger,proto3" json:"logger,omitempty"`
	Registry *Registry     `protobuf:"bytes,6,opt,name=registry,proto3" json:"registry,omitempty"`
	Config   *RemoteConfig `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
	Oss      *OSS          `protobuf:"bytes,8,opt,name=oss,proto3" json:"oss,omitempty"`
	Notify   *Notification `protobuf:"bytes,9,opt,name=notify,proto3" json:"notify,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetClient

func (x *Bootstrap) GetClient() *Client

func (*Bootstrap) GetConfig

func (x *Bootstrap) GetConfig() *RemoteConfig

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetLogger

func (x *Bootstrap) GetLogger() *Logger

func (*Bootstrap) GetNotify

func (x *Bootstrap) GetNotify() *Notification

func (*Bootstrap) GetOss

func (x *Bootstrap) GetOss() *OSS

func (*Bootstrap) GetRegistry

func (x *Bootstrap) GetRegistry() *Registry

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) GetTrace

func (x *Bootstrap) GetTrace() *Tracer

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

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

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

func (*Bootstrap) Validate

func (m *Bootstrap) Validate() error

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

func (m *Bootstrap) ValidateAll() error

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

type BootstrapMultiError

type BootstrapMultiError []error

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

func (BootstrapMultiError) AllErrors

func (m BootstrapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BootstrapMultiError) Error

func (m BootstrapMultiError) Error() string

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

type BootstrapValidationError

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

BootstrapValidationError is the validation error returned by Bootstrap.Validate if the designated constraints aren't met.

func (BootstrapValidationError) Cause

func (e BootstrapValidationError) Cause() error

Cause function returns cause value.

func (BootstrapValidationError) Error

func (e BootstrapValidationError) Error() string

Error satisfies the builtin error interface

func (BootstrapValidationError) ErrorName

func (e BootstrapValidationError) ErrorName() string

ErrorName returns error name.

func (BootstrapValidationError) Field

func (e BootstrapValidationError) Field() string

Field function returns field value.

func (BootstrapValidationError) Key

Key function returns key value.

func (BootstrapValidationError) Reason

func (e BootstrapValidationError) Reason() string

Reason function returns reason value.

type Client

type Client struct {
	Http *Client_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	Grpc *Client_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// contains filtered or unexported fields
}

func (*Client) Descriptor deprecated

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

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetGrpc

func (x *Client) GetGrpc() *Client_GRPC

func (*Client) GetHttp

func (x *Client) GetHttp() *Client_HTTP

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

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

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

func (*Client) Validate

func (m *Client) Validate() error

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

func (m *Client) ValidateAll() error

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

type ClientMultiError

type ClientMultiError []error

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

func (ClientMultiError) AllErrors

func (m ClientMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClientMultiError) Error

func (m ClientMultiError) Error() string

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

type ClientValidationError

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

ClientValidationError is the validation error returned by Client.Validate if the designated constraints aren't met.

func (ClientValidationError) Cause

func (e ClientValidationError) Cause() error

Cause function returns cause value.

func (ClientValidationError) Error

func (e ClientValidationError) Error() string

Error satisfies the builtin error interface

func (ClientValidationError) ErrorName

func (e ClientValidationError) ErrorName() string

ErrorName returns error name.

func (ClientValidationError) Field

func (e ClientValidationError) Field() string

Field function returns field value.

func (ClientValidationError) Key

func (e ClientValidationError) Key() bool

Key function returns key value.

func (ClientValidationError) Reason

func (e ClientValidationError) Reason() string

Reason function returns reason value.

type Client_GRPC

type Client_GRPC struct {
	Timeout    *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Middleware *Middleware          `protobuf:"bytes,2,opt,name=middleware,proto3" json:"middleware,omitempty"`
	// contains filtered or unexported fields
}

func (*Client_GRPC) Descriptor deprecated

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

Deprecated: Use Client_GRPC.ProtoReflect.Descriptor instead.

func (*Client_GRPC) GetMiddleware

func (x *Client_GRPC) GetMiddleware() *Middleware

func (*Client_GRPC) GetTimeout

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

func (*Client_GRPC) ProtoMessage

func (*Client_GRPC) ProtoMessage()

func (*Client_GRPC) ProtoReflect

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

func (*Client_GRPC) Reset

func (x *Client_GRPC) Reset()

func (*Client_GRPC) String

func (x *Client_GRPC) String() string

func (*Client_GRPC) Validate

func (m *Client_GRPC) Validate() error

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

func (m *Client_GRPC) ValidateAll() error

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

type Client_GRPCMultiError

type Client_GRPCMultiError []error

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

func (Client_GRPCMultiError) AllErrors

func (m Client_GRPCMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Client_GRPCMultiError) Error

func (m Client_GRPCMultiError) Error() string

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

type Client_GRPCValidationError

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

Client_GRPCValidationError is the validation error returned by Client_GRPC.Validate if the designated constraints aren't met.

func (Client_GRPCValidationError) Cause

Cause function returns cause value.

func (Client_GRPCValidationError) Error

Error satisfies the builtin error interface

func (Client_GRPCValidationError) ErrorName

func (e Client_GRPCValidationError) ErrorName() string

ErrorName returns error name.

func (Client_GRPCValidationError) Field

Field function returns field value.

func (Client_GRPCValidationError) Key

Key function returns key value.

func (Client_GRPCValidationError) Reason

Reason function returns reason value.

type Client_HTTP

type Client_HTTP struct {
	Timeout    *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Middleware *Middleware          `protobuf:"bytes,2,opt,name=middleware,proto3" json:"middleware,omitempty"`
	// contains filtered or unexported fields
}

func (*Client_HTTP) Descriptor deprecated

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

Deprecated: Use Client_HTTP.ProtoReflect.Descriptor instead.

func (*Client_HTTP) GetMiddleware

func (x *Client_HTTP) GetMiddleware() *Middleware

func (*Client_HTTP) GetTimeout

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

func (*Client_HTTP) ProtoMessage

func (*Client_HTTP) ProtoMessage()

func (*Client_HTTP) ProtoReflect

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

func (*Client_HTTP) Reset

func (x *Client_HTTP) Reset()

func (*Client_HTTP) String

func (x *Client_HTTP) String() string

func (*Client_HTTP) Validate

func (m *Client_HTTP) Validate() error

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

func (m *Client_HTTP) ValidateAll() error

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

type Client_HTTPMultiError

type Client_HTTPMultiError []error

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

func (Client_HTTPMultiError) AllErrors

func (m Client_HTTPMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Client_HTTPMultiError) Error

func (m Client_HTTPMultiError) Error() string

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

type Client_HTTPValidationError

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

Client_HTTPValidationError is the validation error returned by Client_HTTP.Validate if the designated constraints aren't met.

func (Client_HTTPValidationError) Cause

Cause function returns cause value.

func (Client_HTTPValidationError) Error

Error satisfies the builtin error interface

func (Client_HTTPValidationError) ErrorName

func (e Client_HTTPValidationError) ErrorName() string

ErrorName returns error name.

func (Client_HTTPValidationError) Field

Field function returns field value.

func (Client_HTTPValidationError) Key

Key function returns key value.

func (Client_HTTPValidationError) Reason

Reason function returns reason value.

type Data

type Data struct {
	Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // DatabaseDSN
	Redis    *Data_Redis    `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`       // Redis
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetDatabase

func (x *Data) GetDatabase() *Data_Database

func (*Data) GetRedis

func (x *Data) GetRedis() *Data_Redis

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

func (*Data) Validate

func (m *Data) Validate() error

Validate checks the field values on Data with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Data) ValidateAll

func (m *Data) ValidateAll() error

ValidateAll checks the field values on Data with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataMultiError, or nil if none found.

type DataMultiError

type DataMultiError []error

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

func (DataMultiError) AllErrors

func (m DataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataMultiError) Error

func (m DataMultiError) Error() string

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

type DataValidationError

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

DataValidationError is the validation error returned by Data.Validate if the designated constraints aren't met.

func (DataValidationError) Cause

func (e DataValidationError) Cause() error

Cause function returns cause value.

func (DataValidationError) Error

func (e DataValidationError) Error() string

Error satisfies the builtin error interface

func (DataValidationError) ErrorName

func (e DataValidationError) ErrorName() string

ErrorName returns error name.

func (DataValidationError) Field

func (e DataValidationError) Field() string

Field function returns field value.

func (DataValidationError) Key

func (e DataValidationError) Key() bool

Key function returns key value.

func (DataValidationError) Reason

func (e DataValidationError) Reason() string

Reason function returns reason value.

type Data_Database

type Data_Database struct {
	Driver                string               `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`                                                      // driver: mysql, postgresql, mongodb, sqlite, ……
	Source                string               `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`                                                      // data source (DSN)
	Migrate               bool                 `protobuf:"varint,3,opt,name=migrate,proto3" json:"migrate,omitempty"`                                                   // migration
	Debug                 bool                 `protobuf:"varint,4,opt,name=debug,proto3" json:"debug,omitempty"`                                                       // debug mode
	EnableTrace           bool                 `protobuf:"varint,5,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"`                        // for tracing
	EnableMetrics         bool                 `protobuf:"varint,6,opt,name=enable_metrics,json=enableMetrics,proto3" json:"enable_metrics,omitempty"`                  // for analytics
	MaxIdleConnections    int32                `protobuf:"varint,7,opt,name=max_idle_connections,json=maxIdleConnections,proto3" json:"max_idle_connections,omitempty"` // maximum number of idle connections in the connection pool
	MaxOpenConnections    int32                `protobuf:"varint,8,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 ``                                                                                                                       // the maximum length of time a connection can be reused
	/* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

database

func (*Data_Database) Descriptor deprecated

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

Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.

func (*Data_Database) GetConnectionMaxLifetime

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

func (*Data_Database) GetDebug

func (x *Data_Database) GetDebug() bool

func (*Data_Database) GetDriver

func (x *Data_Database) GetDriver() string

func (*Data_Database) GetEnableMetrics

func (x *Data_Database) GetEnableMetrics() bool

func (*Data_Database) GetEnableTrace

func (x *Data_Database) GetEnableTrace() bool

func (*Data_Database) GetMaxIdleConnections

func (x *Data_Database) GetMaxIdleConnections() int32

func (*Data_Database) GetMaxOpenConnections

func (x *Data_Database) GetMaxOpenConnections() int32

func (*Data_Database) GetMigrate

func (x *Data_Database) GetMigrate() bool

func (*Data_Database) GetSource

func (x *Data_Database) GetSource() string

func (*Data_Database) ProtoMessage

func (*Data_Database) ProtoMessage()

func (*Data_Database) ProtoReflect

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

func (*Data_Database) Reset

func (x *Data_Database) Reset()

func (*Data_Database) String

func (x *Data_Database) String() string

func (*Data_Database) Validate

func (m *Data_Database) Validate() error

Validate checks the field values on Data_Database with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Data_Database) ValidateAll

func (m *Data_Database) ValidateAll() error

ValidateAll checks the field values on Data_Database with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_DatabaseMultiError, or nil if none found.

type Data_DatabaseMultiError

type Data_DatabaseMultiError []error

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

func (Data_DatabaseMultiError) AllErrors

func (m Data_DatabaseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Data_DatabaseMultiError) Error

func (m Data_DatabaseMultiError) Error() string

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

type Data_DatabaseValidationError

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

Data_DatabaseValidationError is the validation error returned by Data_Database.Validate if the designated constraints aren't met.

func (Data_DatabaseValidationError) Cause

Cause function returns cause value.

func (Data_DatabaseValidationError) Error

Error satisfies the builtin error interface

func (Data_DatabaseValidationError) ErrorName

func (e Data_DatabaseValidationError) ErrorName() string

ErrorName returns error name.

func (Data_DatabaseValidationError) Field

Field function returns field value.

func (Data_DatabaseValidationError) Key

Key function returns key value.

func (Data_DatabaseValidationError) Reason

Reason function returns reason value.

type Data_Redis

type Data_Redis struct {
	Network       string               `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`                                   // network
	Addr          string               `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`                                         // server address
	Password      string               `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`                                 // password
	Db            int32                `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"`                                            // database
	DialTimeout   *durationpb.Duration `protobuf:"bytes,5,opt,name=dial_timeout,json=dialTimeout,proto3" json:"dial_timeout,omitempty"`        // connection timeout
	ReadTimeout   *durationpb.Duration `protobuf:"bytes,6,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"`        // read timeout
	WriteTimeout  *durationpb.Duration `protobuf:"bytes,7,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"`     // write timeout
	EnableTracing bool                 `protobuf:"varint,8,opt,name=enable_tracing,json=enableTracing,proto3" json:"enable_tracing,omitempty"` // tracing
	EnableMetrics bool                 `protobuf:"varint,9,opt,name=enable_metrics,json=enableMetrics,proto3" json:"enable_metrics,omitempty"` // metrics
	// contains filtered or unexported fields
}

redis

func (*Data_Redis) Descriptor deprecated

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

Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.

func (*Data_Redis) GetAddr

func (x *Data_Redis) GetAddr() string

func (*Data_Redis) GetDb

func (x *Data_Redis) GetDb() int32

func (*Data_Redis) GetDialTimeout

func (x *Data_Redis) GetDialTimeout() *durationpb.Duration

func (*Data_Redis) GetEnableMetrics

func (x *Data_Redis) GetEnableMetrics() bool

func (*Data_Redis) GetEnableTracing

func (x *Data_Redis) GetEnableTracing() bool

func (*Data_Redis) GetNetwork

func (x *Data_Redis) GetNetwork() string

func (*Data_Redis) GetPassword

func (x *Data_Redis) GetPassword() string

func (*Data_Redis) GetReadTimeout

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

func (*Data_Redis) GetWriteTimeout

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

func (*Data_Redis) ProtoMessage

func (*Data_Redis) ProtoMessage()

func (*Data_Redis) ProtoReflect

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

func (*Data_Redis) Reset

func (x *Data_Redis) Reset()

func (*Data_Redis) String

func (x *Data_Redis) String() string

func (*Data_Redis) Validate

func (m *Data_Redis) Validate() error

Validate checks the field values on Data_Redis with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Data_Redis) ValidateAll

func (m *Data_Redis) ValidateAll() error

ValidateAll checks the field values on Data_Redis with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Data_RedisMultiError, or nil if none found.

type Data_RedisMultiError

type Data_RedisMultiError []error

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

func (Data_RedisMultiError) AllErrors

func (m Data_RedisMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Data_RedisMultiError) Error

func (m Data_RedisMultiError) Error() string

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

type Data_RedisValidationError

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

Data_RedisValidationError is the validation error returned by Data_Redis.Validate if the designated constraints aren't met.

func (Data_RedisValidationError) Cause

func (e Data_RedisValidationError) Cause() error

Cause function returns cause value.

func (Data_RedisValidationError) Error

Error satisfies the builtin error interface

func (Data_RedisValidationError) ErrorName

func (e Data_RedisValidationError) ErrorName() string

ErrorName returns error name.

func (Data_RedisValidationError) Field

Field function returns field value.

func (Data_RedisValidationError) Key

Key function returns key value.

func (Data_RedisValidationError) Reason

func (e Data_RedisValidationError) Reason() string

Reason function returns reason value.

type Logger

type Logger struct {
	Type   string         `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Zap    *Logger_Zap    `protobuf:"bytes,2,opt,name=zap,proto3" json:"zap,omitempty"`
	Logrus *Logger_Logrus `protobuf:"bytes,3,opt,name=logrus,proto3" json:"logrus,omitempty"`
	// contains filtered or unexported fields
}

func (*Logger) Descriptor deprecated

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

Deprecated: Use Logger.ProtoReflect.Descriptor instead.

func (*Logger) GetLogrus

func (x *Logger) GetLogrus() *Logger_Logrus

func (*Logger) GetType

func (x *Logger) GetType() string

func (*Logger) GetZap

func (x *Logger) GetZap() *Logger_Zap

func (*Logger) ProtoMessage

func (*Logger) ProtoMessage()

func (*Logger) ProtoReflect

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

func (*Logger) Reset

func (x *Logger) Reset()

func (*Logger) String

func (x *Logger) String() string

func (*Logger) Validate

func (m *Logger) Validate() error

Validate checks the field values on Logger with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Logger) ValidateAll

func (m *Logger) ValidateAll() error

ValidateAll checks the field values on Logger with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoggerMultiError, or nil if none found.

type LoggerMultiError

type LoggerMultiError []error

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

func (LoggerMultiError) AllErrors

func (m LoggerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoggerMultiError) Error

func (m LoggerMultiError) Error() string

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

type LoggerValidationError

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

LoggerValidationError is the validation error returned by Logger.Validate if the designated constraints aren't met.

func (LoggerValidationError) Cause

func (e LoggerValidationError) Cause() error

Cause function returns cause value.

func (LoggerValidationError) Error

func (e LoggerValidationError) Error() string

Error satisfies the builtin error interface

func (LoggerValidationError) ErrorName

func (e LoggerValidationError) ErrorName() string

ErrorName returns error name.

func (LoggerValidationError) Field

func (e LoggerValidationError) Field() string

Field function returns field value.

func (LoggerValidationError) Key

func (e LoggerValidationError) Key() bool

Key function returns key value.

func (LoggerValidationError) Reason

func (e LoggerValidationError) Reason() string

Reason function returns reason value.

type Logger_Logrus

type Logger_Logrus struct {
	Level            string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`                                                // level
	Formatter        string `protobuf:"bytes,2,opt,name=formatter,proto3" json:"formatter,omitempty"`                                        // format:text, json.
	TimestampFormat  string `protobuf:"bytes,3,opt,name=timestamp_format,json=timestampFormat,proto3" json:"timestamp_format,omitempty"`     // define timestamp format, for example: "2006-01-02 15:04:05"
	DisableColors    bool   `protobuf:"varint,4,opt,name=disable_colors,json=disableColors,proto3" json:"disable_colors,omitempty"`          // no need for color logs
	DisableTimestamp bool   `protobuf:"varint,5,opt,name=disable_timestamp,json=disableTimestamp,proto3" json:"disable_timestamp,omitempty"` // no timestamp required
	// contains filtered or unexported fields
}

logrus

func (*Logger_Logrus) Descriptor deprecated

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

Deprecated: Use Logger_Logrus.ProtoReflect.Descriptor instead.

func (*Logger_Logrus) GetDisableColors

func (x *Logger_Logrus) GetDisableColors() bool

func (*Logger_Logrus) GetDisableTimestamp

func (x *Logger_Logrus) GetDisableTimestamp() bool

func (*Logger_Logrus) GetFormatter

func (x *Logger_Logrus) GetFormatter() string

func (*Logger_Logrus) GetLevel

func (x *Logger_Logrus) GetLevel() string

func (*Logger_Logrus) GetTimestampFormat

func (x *Logger_Logrus) GetTimestampFormat() string

func (*Logger_Logrus) ProtoMessage

func (*Logger_Logrus) ProtoMessage()

func (*Logger_Logrus) ProtoReflect

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

func (*Logger_Logrus) Reset

func (x *Logger_Logrus) Reset()

func (*Logger_Logrus) String

func (x *Logger_Logrus) String() string

func (*Logger_Logrus) Validate

func (m *Logger_Logrus) Validate() error

Validate checks the field values on Logger_Logrus with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Logger_Logrus) ValidateAll

func (m *Logger_Logrus) ValidateAll() error

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

type Logger_LogrusMultiError

type Logger_LogrusMultiError []error

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

func (Logger_LogrusMultiError) AllErrors

func (m Logger_LogrusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Logger_LogrusMultiError) Error

func (m Logger_LogrusMultiError) Error() string

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

type Logger_LogrusValidationError

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

Logger_LogrusValidationError is the validation error returned by Logger_Logrus.Validate if the designated constraints aren't met.

func (Logger_LogrusValidationError) Cause

Cause function returns cause value.

func (Logger_LogrusValidationError) Error

Error satisfies the builtin error interface

func (Logger_LogrusValidationError) ErrorName

func (e Logger_LogrusValidationError) ErrorName() string

ErrorName returns error name.

func (Logger_LogrusValidationError) Field

Field function returns field value.

func (Logger_LogrusValidationError) Key

Key function returns key value.

func (Logger_LogrusValidationError) Reason

Reason function returns reason value.

type Logger_Zap

type Logger_Zap struct {
	Filename   string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
	Level      string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	MaxSize    int32  `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	MaxAge     int32  `protobuf:"varint,4,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	MaxBackups int32  `protobuf:"varint,5,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
	// contains filtered or unexported fields
}

zap

func (*Logger_Zap) Descriptor deprecated

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

Deprecated: Use Logger_Zap.ProtoReflect.Descriptor instead.

func (*Logger_Zap) GetFilename

func (x *Logger_Zap) GetFilename() string

func (*Logger_Zap) GetLevel

func (x *Logger_Zap) GetLevel() string

func (*Logger_Zap) GetMaxAge

func (x *Logger_Zap) GetMaxAge() int32

func (*Logger_Zap) GetMaxBackups

func (x *Logger_Zap) GetMaxBackups() int32

func (*Logger_Zap) GetMaxSize

func (x *Logger_Zap) GetMaxSize() int32

func (*Logger_Zap) ProtoMessage

func (*Logger_Zap) ProtoMessage()

func (*Logger_Zap) ProtoReflect

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

func (*Logger_Zap) Reset

func (x *Logger_Zap) Reset()

func (*Logger_Zap) String

func (x *Logger_Zap) String() string

func (*Logger_Zap) Validate

func (m *Logger_Zap) Validate() error

Validate checks the field values on Logger_Zap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Logger_Zap) ValidateAll

func (m *Logger_Zap) ValidateAll() error

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

type Logger_ZapMultiError

type Logger_ZapMultiError []error

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

func (Logger_ZapMultiError) AllErrors

func (m Logger_ZapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Logger_ZapMultiError) Error

func (m Logger_ZapMultiError) Error() string

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

type Logger_ZapValidationError

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

Logger_ZapValidationError is the validation error returned by Logger_Zap.Validate if the designated constraints aren't met.

func (Logger_ZapValidationError) Cause

func (e Logger_ZapValidationError) Cause() error

Cause function returns cause value.

func (Logger_ZapValidationError) Error

Error satisfies the builtin error interface

func (Logger_ZapValidationError) ErrorName

func (e Logger_ZapValidationError) ErrorName() string

ErrorName returns error name.

func (Logger_ZapValidationError) Field

Field function returns field value.

func (Logger_ZapValidationError) Key

Key function returns key value.

func (Logger_ZapValidationError) Reason

func (e Logger_ZapValidationError) Reason() string

Reason function returns reason value.

type Middleware

type Middleware struct {
	EnableLogging        bool                    `protobuf:"varint,1,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"`                        // enable logging
	EnableRecovery       bool                    `protobuf:"varint,2,opt,name=enable_recovery,json=enableRecovery,proto3" json:"enable_recovery,omitempty"`                     // enable recovery
	EnableTracing        bool                    `protobuf:"varint,3,opt,name=enable_tracing,json=enableTracing,proto3" json:"enable_tracing,omitempty"`                        // enable tracing
	EnableValidate       bool                    `protobuf:"varint,4,opt,name=enable_validate,json=enableValidate,proto3" json:"enable_validate,omitempty"`                     // enable validate
	EnableCircuitBreaker bool                    `protobuf:"varint,5,opt,name=enable_circuit_breaker,json=enableCircuitBreaker,proto3" json:"enable_circuit_breaker,omitempty"` // enable circuit breaker
	Limiter              *Middleware_RateLimiter `protobuf:"bytes,6,opt,name=limiter,proto3" json:"limiter,omitempty"`
	Metrics              *Middleware_Metrics     `protobuf:"bytes,7,opt,name=metrics,proto3" json:"metrics,omitempty"`
	Auth                 *Middleware_Auth        `protobuf:"bytes,8,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*Middleware) Descriptor deprecated

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

Deprecated: Use Middleware.ProtoReflect.Descriptor instead.

func (*Middleware) GetAuth

func (x *Middleware) GetAuth() *Middleware_Auth

func (*Middleware) GetEnableCircuitBreaker

func (x *Middleware) GetEnableCircuitBreaker() bool

func (*Middleware) GetEnableLogging

func (x *Middleware) GetEnableLogging() bool

func (*Middleware) GetEnableRecovery

func (x *Middleware) GetEnableRecovery() bool

func (*Middleware) GetEnableTracing

func (x *Middleware) GetEnableTracing() bool

func (*Middleware) GetEnableValidate

func (x *Middleware) GetEnableValidate() bool

func (*Middleware) GetLimiter

func (x *Middleware) GetLimiter() *Middleware_RateLimiter

func (*Middleware) GetMetrics

func (x *Middleware) GetMetrics() *Middleware_Metrics

func (*Middleware) ProtoMessage

func (*Middleware) ProtoMessage()

func (*Middleware) ProtoReflect

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

func (*Middleware) Reset

func (x *Middleware) Reset()

func (*Middleware) String

func (x *Middleware) String() string

func (*Middleware) Validate

func (m *Middleware) Validate() error

Validate checks the field values on Middleware with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Middleware) ValidateAll

func (m *Middleware) ValidateAll() error

ValidateAll checks the field values on Middleware with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MiddlewareMultiError, or nil if none found.

type MiddlewareMultiError

type MiddlewareMultiError []error

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

func (MiddlewareMultiError) AllErrors

func (m MiddlewareMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MiddlewareMultiError) Error

func (m MiddlewareMultiError) Error() string

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

type MiddlewareValidationError

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

MiddlewareValidationError is the validation error returned by Middleware.Validate if the designated constraints aren't met.

func (MiddlewareValidationError) Cause

func (e MiddlewareValidationError) Cause() error

Cause function returns cause value.

func (MiddlewareValidationError) Error

Error satisfies the builtin error interface

func (MiddlewareValidationError) ErrorName

func (e MiddlewareValidationError) ErrorName() string

ErrorName returns error name.

func (MiddlewareValidationError) Field

Field function returns field value.

func (MiddlewareValidationError) Key

Key function returns key value.

func (MiddlewareValidationError) Reason

func (e MiddlewareValidationError) Reason() string

Reason function returns reason value.

type Middleware_Auth

type Middleware_Auth struct {
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // JWT signature algorithm, supported algorithm: HS256
	Key    string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`       // JWT secret key
	// contains filtered or unexported fields
}

JWT

func (*Middleware_Auth) Descriptor deprecated

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

Deprecated: Use Middleware_Auth.ProtoReflect.Descriptor instead.

func (*Middleware_Auth) GetKey

func (x *Middleware_Auth) GetKey() string

func (*Middleware_Auth) GetMethod

func (x *Middleware_Auth) GetMethod() string

func (*Middleware_Auth) ProtoMessage

func (*Middleware_Auth) ProtoMessage()

func (*Middleware_Auth) ProtoReflect

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

func (*Middleware_Auth) Reset

func (x *Middleware_Auth) Reset()

func (*Middleware_Auth) String

func (x *Middleware_Auth) String() string

func (*Middleware_Auth) Validate

func (m *Middleware_Auth) Validate() error

Validate checks the field values on Middleware_Auth with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Middleware_Auth) ValidateAll

func (m *Middleware_Auth) ValidateAll() error

ValidateAll checks the field values on Middleware_Auth with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_AuthMultiError, or nil if none found.

type Middleware_AuthMultiError

type Middleware_AuthMultiError []error

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

func (Middleware_AuthMultiError) AllErrors

func (m Middleware_AuthMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Middleware_AuthMultiError) Error

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

type Middleware_AuthValidationError

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

Middleware_AuthValidationError is the validation error returned by Middleware_Auth.Validate if the designated constraints aren't met.

func (Middleware_AuthValidationError) Cause

Cause function returns cause value.

func (Middleware_AuthValidationError) Error

Error satisfies the builtin error interface

func (Middleware_AuthValidationError) ErrorName

func (e Middleware_AuthValidationError) ErrorName() string

ErrorName returns error name.

func (Middleware_AuthValidationError) Field

Field function returns field value.

func (Middleware_AuthValidationError) Key

Key function returns key value.

func (Middleware_AuthValidationError) Reason

Reason function returns reason value.

type Middleware_Metrics

type Middleware_Metrics struct {
	Histogram bool `protobuf:"varint,1,opt,name=histogram,proto3" json:"histogram,omitempty"` // histogram
	Counter   bool `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"`     // counter
	Gauge     bool `protobuf:"varint,3,opt,name=gauge,proto3" json:"gauge,omitempty"`         // gauge
	Summary   bool `protobuf:"varint,4,opt,name=summary,proto3" json:"summary,omitempty"`     // summary
	// contains filtered or unexported fields
}

metrics

func (*Middleware_Metrics) Descriptor deprecated

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

Deprecated: Use Middleware_Metrics.ProtoReflect.Descriptor instead.

func (*Middleware_Metrics) GetCounter

func (x *Middleware_Metrics) GetCounter() bool

func (*Middleware_Metrics) GetGauge

func (x *Middleware_Metrics) GetGauge() bool

func (*Middleware_Metrics) GetHistogram

func (x *Middleware_Metrics) GetHistogram() bool

func (*Middleware_Metrics) GetSummary

func (x *Middleware_Metrics) GetSummary() bool

func (*Middleware_Metrics) ProtoMessage

func (*Middleware_Metrics) ProtoMessage()

func (*Middleware_Metrics) ProtoReflect

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

func (*Middleware_Metrics) Reset

func (x *Middleware_Metrics) Reset()

func (*Middleware_Metrics) String

func (x *Middleware_Metrics) String() string

func (*Middleware_Metrics) Validate

func (m *Middleware_Metrics) Validate() error

Validate checks the field values on Middleware_Metrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Middleware_Metrics) ValidateAll

func (m *Middleware_Metrics) ValidateAll() error

ValidateAll checks the field values on Middleware_Metrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_MetricsMultiError, or nil if none found.

type Middleware_MetricsMultiError

type Middleware_MetricsMultiError []error

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

func (Middleware_MetricsMultiError) AllErrors

func (m Middleware_MetricsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Middleware_MetricsMultiError) Error

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

type Middleware_MetricsValidationError

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

Middleware_MetricsValidationError is the validation error returned by Middleware_Metrics.Validate if the designated constraints aren't met.

func (Middleware_MetricsValidationError) Cause

Cause function returns cause value.

func (Middleware_MetricsValidationError) Error

Error satisfies the builtin error interface

func (Middleware_MetricsValidationError) ErrorName

ErrorName returns error name.

func (Middleware_MetricsValidationError) Field

Field function returns field value.

func (Middleware_MetricsValidationError) Key

Key function returns key value.

func (Middleware_MetricsValidationError) Reason

Reason function returns reason value.

type Middleware_RateLimiter

type Middleware_RateLimiter struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Current limiter name, supported: bbr
	// contains filtered or unexported fields
}

rate limiter

func (*Middleware_RateLimiter) Descriptor deprecated

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

Deprecated: Use Middleware_RateLimiter.ProtoReflect.Descriptor instead.

func (*Middleware_RateLimiter) GetName

func (x *Middleware_RateLimiter) GetName() string

func (*Middleware_RateLimiter) ProtoMessage

func (*Middleware_RateLimiter) ProtoMessage()

func (*Middleware_RateLimiter) ProtoReflect

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

func (*Middleware_RateLimiter) Reset

func (x *Middleware_RateLimiter) Reset()

func (*Middleware_RateLimiter) String

func (x *Middleware_RateLimiter) String() string

func (*Middleware_RateLimiter) Validate

func (m *Middleware_RateLimiter) Validate() error

Validate checks the field values on Middleware_RateLimiter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Middleware_RateLimiter) ValidateAll

func (m *Middleware_RateLimiter) ValidateAll() error

ValidateAll checks the field values on Middleware_RateLimiter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Middleware_RateLimiterMultiError, or nil if none found.

type Middleware_RateLimiterMultiError

type Middleware_RateLimiterMultiError []error

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

func (Middleware_RateLimiterMultiError) AllErrors

func (m Middleware_RateLimiterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Middleware_RateLimiterMultiError) Error

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

type Middleware_RateLimiterValidationError

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

Middleware_RateLimiterValidationError is the validation error returned by Middleware_RateLimiter.Validate if the designated constraints aren't met.

func (Middleware_RateLimiterValidationError) Cause

Cause function returns cause value.

func (Middleware_RateLimiterValidationError) Error

Error satisfies the builtin error interface

func (Middleware_RateLimiterValidationError) ErrorName

ErrorName returns error name.

func (Middleware_RateLimiterValidationError) Field

Field function returns field value.

func (Middleware_RateLimiterValidationError) Key

Key function returns key value.

func (Middleware_RateLimiterValidationError) Reason

Reason function returns reason value.

type Notification

type Notification struct {
	Sms *Notification_SMS `protobuf:"bytes,1,opt,name=sms,proto3" json:"sms,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetSms

func (x *Notification) GetSms() *Notification_SMS

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

func (*Notification) Validate

func (m *Notification) Validate() error

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

func (m *Notification) ValidateAll() error

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

type NotificationMultiError

type NotificationMultiError []error

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

func (NotificationMultiError) AllErrors

func (m NotificationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NotificationMultiError) Error

func (m NotificationMultiError) Error() string

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

type NotificationValidationError

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

NotificationValidationError is the validation error returned by Notification.Validate if the designated constraints aren't met.

func (NotificationValidationError) Cause

Cause function returns cause value.

func (NotificationValidationError) Error

Error satisfies the builtin error interface

func (NotificationValidationError) ErrorName

func (e NotificationValidationError) ErrorName() string

ErrorName returns error name.

func (NotificationValidationError) Field

Field function returns field value.

func (NotificationValidationError) Key

Key function returns key value.

func (NotificationValidationError) Reason

Reason function returns reason value.

type Notification_SMS

type Notification_SMS struct {
	Endpoint        string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`                                        // endpoint
	RegionId        string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`                        // region id
	AccessKeyId     string `protobuf:"bytes,3,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`             // access key id
	AccessKeySecret string `protobuf:"bytes,4,opt,name=access_key_secret,json=accessKeySecret,proto3" json:"access_key_secret,omitempty"` // access key secret
	// contains filtered or unexported fields
}

sms

func (*Notification_SMS) Descriptor deprecated

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

Deprecated: Use Notification_SMS.ProtoReflect.Descriptor instead.

func (*Notification_SMS) GetAccessKeyId

func (x *Notification_SMS) GetAccessKeyId() string

func (*Notification_SMS) GetAccessKeySecret

func (x *Notification_SMS) GetAccessKeySecret() string

func (*Notification_SMS) GetEndpoint

func (x *Notification_SMS) GetEndpoint() string

func (*Notification_SMS) GetRegionId

func (x *Notification_SMS) GetRegionId() string

func (*Notification_SMS) ProtoMessage

func (*Notification_SMS) ProtoMessage()

func (*Notification_SMS) ProtoReflect

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

func (*Notification_SMS) Reset

func (x *Notification_SMS) Reset()

func (*Notification_SMS) String

func (x *Notification_SMS) String() string

func (*Notification_SMS) Validate

func (m *Notification_SMS) Validate() error

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

func (m *Notification_SMS) ValidateAll() error

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

type Notification_SMSMultiError

type Notification_SMSMultiError []error

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

func (Notification_SMSMultiError) AllErrors

func (m Notification_SMSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Notification_SMSMultiError) Error

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

type Notification_SMSValidationError

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

Notification_SMSValidationError is the validation error returned by Notification_SMS.Validate if the designated constraints aren't met.

func (Notification_SMSValidationError) Cause

Cause function returns cause value.

func (Notification_SMSValidationError) Error

Error satisfies the builtin error interface

func (Notification_SMSValidationError) ErrorName

ErrorName returns error name.

func (Notification_SMSValidationError) Field

Field function returns field value.

func (Notification_SMSValidationError) Key

Key function returns key value.

func (Notification_SMSValidationError) Reason

Reason function returns reason value.

type OSS

type OSS struct {
	Minio *OSS_MinIO `protobuf:"bytes,1,opt,name=minio,proto3" json:"minio,omitempty"`
	// contains filtered or unexported fields
}

func (*OSS) Descriptor deprecated

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

Deprecated: Use OSS.ProtoReflect.Descriptor instead.

func (*OSS) GetMinio

func (x *OSS) GetMinio() *OSS_MinIO

func (*OSS) ProtoMessage

func (*OSS) ProtoMessage()

func (*OSS) ProtoReflect

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

func (*OSS) Reset

func (x *OSS) Reset()

func (*OSS) String

func (x *OSS) String() string

func (*OSS) Validate

func (m *OSS) Validate() error

Validate checks the field values on OSS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*OSS) ValidateAll

func (m *OSS) ValidateAll() error

ValidateAll checks the field values on OSS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OSSMultiError, or nil if none found.

type OSSMultiError

type OSSMultiError []error

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

func (OSSMultiError) AllErrors

func (m OSSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OSSMultiError) Error

func (m OSSMultiError) Error() string

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

type OSSValidationError

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

OSSValidationError is the validation error returned by OSS.Validate if the designated constraints aren't met.

func (OSSValidationError) Cause

func (e OSSValidationError) Cause() error

Cause function returns cause value.

func (OSSValidationError) Error

func (e OSSValidationError) Error() string

Error satisfies the builtin error interface

func (OSSValidationError) ErrorName

func (e OSSValidationError) ErrorName() string

ErrorName returns error name.

func (OSSValidationError) Field

func (e OSSValidationError) Field() string

Field function returns field value.

func (OSSValidationError) Key

func (e OSSValidationError) Key() bool

Key function returns key value.

func (OSSValidationError) Reason

func (e OSSValidationError) Reason() string

Reason function returns reason value.

type OSS_MinIO

type OSS_MinIO struct {
	Endpoint     string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`                             // ip:port
	AccessId     string `protobuf:"bytes,2,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`             // access key id
	SecretKey    string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`          // secret key
	Token        string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`                                   // token
	UseSsl       bool   `protobuf:"varint,5,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`                  // use ssl
	UploadHost   string `protobuf:"bytes,6,opt,name=upload_host,json=uploadHost,proto3" json:"upload_host,omitempty"`       // hostname of upload link
	DownloadHost string `protobuf:"bytes,7,opt,name=download_host,json=downloadHost,proto3" json:"download_host,omitempty"` // hostname of download link
	// contains filtered or unexported fields
}

minio

func (*OSS_MinIO) Descriptor deprecated

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

Deprecated: Use OSS_MinIO.ProtoReflect.Descriptor instead.

func (*OSS_MinIO) GetAccessId

func (x *OSS_MinIO) GetAccessId() string

func (*OSS_MinIO) GetDownloadHost

func (x *OSS_MinIO) GetDownloadHost() string

func (*OSS_MinIO) GetEndpoint

func (x *OSS_MinIO) GetEndpoint() string

func (*OSS_MinIO) GetSecretKey

func (x *OSS_MinIO) GetSecretKey() string

func (*OSS_MinIO) GetToken

func (x *OSS_MinIO) GetToken() string

func (*OSS_MinIO) GetUploadHost

func (x *OSS_MinIO) GetUploadHost() string

func (*OSS_MinIO) GetUseSsl

func (x *OSS_MinIO) GetUseSsl() bool

func (*OSS_MinIO) ProtoMessage

func (*OSS_MinIO) ProtoMessage()

func (*OSS_MinIO) ProtoReflect

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

func (*OSS_MinIO) Reset

func (x *OSS_MinIO) Reset()

func (*OSS_MinIO) String

func (x *OSS_MinIO) String() string

func (*OSS_MinIO) Validate

func (m *OSS_MinIO) Validate() error

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

func (m *OSS_MinIO) ValidateAll() error

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

type OSS_MinIOMultiError

type OSS_MinIOMultiError []error

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

func (OSS_MinIOMultiError) AllErrors

func (m OSS_MinIOMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OSS_MinIOMultiError) Error

func (m OSS_MinIOMultiError) Error() string

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

type OSS_MinIOValidationError

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

OSS_MinIOValidationError is the validation error returned by OSS_MinIO.Validate if the designated constraints aren't met.

func (OSS_MinIOValidationError) Cause

func (e OSS_MinIOValidationError) Cause() error

Cause function returns cause value.

func (OSS_MinIOValidationError) Error

func (e OSS_MinIOValidationError) Error() string

Error satisfies the builtin error interface

func (OSS_MinIOValidationError) ErrorName

func (e OSS_MinIOValidationError) ErrorName() string

ErrorName returns error name.

func (OSS_MinIOValidationError) Field

func (e OSS_MinIOValidationError) Field() string

Field function returns field value.

func (OSS_MinIOValidationError) Key

Key function returns key value.

func (OSS_MinIOValidationError) Reason

func (e OSS_MinIOValidationError) Reason() string

Reason function returns reason value.

type Registry

type Registry struct {
	Type       string               `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Consul     *Registry_Consul     `protobuf:"bytes,2,opt,name=consul,proto3" json:"consul,omitempty"`         // Consul
	Etcd       *Registry_Etcd       `protobuf:"bytes,3,opt,name=etcd,proto3" json:"etcd,omitempty"`             // Etcd
	Zookeeper  *Registry_ZooKeeper  `protobuf:"bytes,4,opt,name=zookeeper,proto3" json:"zookeeper,omitempty"`   // ZooKeeper
	Nacos      *Registry_Nacos      `protobuf:"bytes,5,opt,name=nacos,proto3" json:"nacos,omitempty"`           // Nacos
	Kubernetes *Registry_Kubernetes `protobuf:"bytes,6,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"` // Kubernetes
	// contains filtered or unexported fields
}

func (*Registry) Descriptor deprecated

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

Deprecated: Use Registry.ProtoReflect.Descriptor instead.

func (*Registry) GetConsul

func (x *Registry) GetConsul() *Registry_Consul

func (*Registry) GetEtcd

func (x *Registry) GetEtcd() *Registry_Etcd

func (*Registry) GetKubernetes

func (x *Registry) GetKubernetes() *Registry_Kubernetes

func (*Registry) GetNacos

func (x *Registry) GetNacos() *Registry_Nacos

func (*Registry) GetType

func (x *Registry) GetType() string

func (*Registry) GetZookeeper

func (x *Registry) GetZookeeper() *Registry_ZooKeeper

func (*Registry) ProtoMessage

func (*Registry) ProtoMessage()

func (*Registry) ProtoReflect

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

func (*Registry) Reset

func (x *Registry) Reset()

func (*Registry) String

func (x *Registry) String() string

func (*Registry) Validate

func (m *Registry) Validate() error

Validate checks the field values on Registry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Registry) ValidateAll

func (m *Registry) ValidateAll() error

ValidateAll checks the field values on Registry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegistryMultiError, or nil if none found.

type RegistryMultiError

type RegistryMultiError []error

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

func (RegistryMultiError) AllErrors

func (m RegistryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegistryMultiError) Error

func (m RegistryMultiError) Error() string

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

type RegistryValidationError

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

RegistryValidationError is the validation error returned by Registry.Validate if the designated constraints aren't met.

func (RegistryValidationError) Cause

func (e RegistryValidationError) Cause() error

Cause function returns cause value.

func (RegistryValidationError) Error

func (e RegistryValidationError) Error() string

Error satisfies the builtin error interface

func (RegistryValidationError) ErrorName

func (e RegistryValidationError) ErrorName() string

ErrorName returns error name.

func (RegistryValidationError) Field

func (e RegistryValidationError) Field() string

Field function returns field value.

func (RegistryValidationError) Key

func (e RegistryValidationError) Key() bool

Key function returns key value.

func (RegistryValidationError) Reason

func (e RegistryValidationError) Reason() string

Reason function returns reason value.

type Registry_Consul

type Registry_Consul struct {
	Scheme      string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
	Address     string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	HealthCheck bool   `protobuf:"varint,3,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"`
	// contains filtered or unexported fields
}

func (*Registry_Consul) Descriptor deprecated

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

Deprecated: Use Registry_Consul.ProtoReflect.Descriptor instead.

func (*Registry_Consul) GetAddress

func (x *Registry_Consul) GetAddress() string

func (*Registry_Consul) GetHealthCheck

func (x *Registry_Consul) GetHealthCheck() bool

func (*Registry_Consul) GetScheme

func (x *Registry_Consul) GetScheme() string

func (*Registry_Consul) ProtoMessage

func (*Registry_Consul) ProtoMessage()

func (*Registry_Consul) ProtoReflect

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

func (*Registry_Consul) Reset

func (x *Registry_Consul) Reset()

func (*Registry_Consul) String

func (x *Registry_Consul) String() string

func (*Registry_Consul) Validate

func (m *Registry_Consul) Validate() error

Validate checks the field values on Registry_Consul with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Registry_Consul) ValidateAll

func (m *Registry_Consul) ValidateAll() error

ValidateAll checks the field values on Registry_Consul with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_ConsulMultiError, or nil if none found.

type Registry_ConsulMultiError

type Registry_ConsulMultiError []error

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

func (Registry_ConsulMultiError) AllErrors

func (m Registry_ConsulMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Registry_ConsulMultiError) Error

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

type Registry_ConsulValidationError

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

Registry_ConsulValidationError is the validation error returned by Registry_Consul.Validate if the designated constraints aren't met.

func (Registry_ConsulValidationError) Cause

Cause function returns cause value.

func (Registry_ConsulValidationError) Error

Error satisfies the builtin error interface

func (Registry_ConsulValidationError) ErrorName

func (e Registry_ConsulValidationError) ErrorName() string

ErrorName returns error name.

func (Registry_ConsulValidationError) Field

Field function returns field value.

func (Registry_ConsulValidationError) Key

Key function returns key value.

func (Registry_ConsulValidationError) Reason

Reason function returns reason value.

type Registry_Etcd

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

func (*Registry_Etcd) Descriptor deprecated

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

Deprecated: Use Registry_Etcd.ProtoReflect.Descriptor instead.

func (*Registry_Etcd) GetEndpoints

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

func (*Registry_Etcd) ProtoMessage

func (*Registry_Etcd) ProtoMessage()

func (*Registry_Etcd) ProtoReflect

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

func (*Registry_Etcd) Reset

func (x *Registry_Etcd) Reset()

func (*Registry_Etcd) String

func (x *Registry_Etcd) String() string

func (*Registry_Etcd) Validate

func (m *Registry_Etcd) Validate() error

Validate checks the field values on Registry_Etcd with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Registry_Etcd) ValidateAll

func (m *Registry_Etcd) ValidateAll() error

ValidateAll checks the field values on Registry_Etcd with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_EtcdMultiError, or nil if none found.

type Registry_EtcdMultiError

type Registry_EtcdMultiError []error

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

func (Registry_EtcdMultiError) AllErrors

func (m Registry_EtcdMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Registry_EtcdMultiError) Error

func (m Registry_EtcdMultiError) Error() string

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

type Registry_EtcdValidationError

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

Registry_EtcdValidationError is the validation error returned by Registry_Etcd.Validate if the designated constraints aren't met.

func (Registry_EtcdValidationError) Cause

Cause function returns cause value.

func (Registry_EtcdValidationError) Error

Error satisfies the builtin error interface

func (Registry_EtcdValidationError) ErrorName

func (e Registry_EtcdValidationError) ErrorName() string

ErrorName returns error name.

func (Registry_EtcdValidationError) Field

Field function returns field value.

func (Registry_EtcdValidationError) Key

Key function returns key value.

func (Registry_EtcdValidationError) Reason

Reason function returns reason value.

type Registry_Kubernetes

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

func (*Registry_Kubernetes) Descriptor deprecated

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

Deprecated: Use Registry_Kubernetes.ProtoReflect.Descriptor instead.

func (*Registry_Kubernetes) ProtoMessage

func (*Registry_Kubernetes) ProtoMessage()

func (*Registry_Kubernetes) ProtoReflect

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

func (*Registry_Kubernetes) Reset

func (x *Registry_Kubernetes) Reset()

func (*Registry_Kubernetes) String

func (x *Registry_Kubernetes) String() string

func (*Registry_Kubernetes) Validate

func (m *Registry_Kubernetes) Validate() error

Validate checks the field values on Registry_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Registry_Kubernetes) ValidateAll

func (m *Registry_Kubernetes) ValidateAll() error

ValidateAll checks the field values on Registry_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_KubernetesMultiError, or nil if none found.

type Registry_KubernetesMultiError

type Registry_KubernetesMultiError []error

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

func (Registry_KubernetesMultiError) AllErrors

func (m Registry_KubernetesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Registry_KubernetesMultiError) Error

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

type Registry_KubernetesValidationError

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

Registry_KubernetesValidationError is the validation error returned by Registry_Kubernetes.Validate if the designated constraints aren't met.

func (Registry_KubernetesValidationError) Cause

Cause function returns cause value.

func (Registry_KubernetesValidationError) Error

Error satisfies the builtin error interface

func (Registry_KubernetesValidationError) ErrorName

ErrorName returns error name.

func (Registry_KubernetesValidationError) Field

Field function returns field value.

func (Registry_KubernetesValidationError) Key

Key function returns key value.

func (Registry_KubernetesValidationError) Reason

Reason function returns reason value.

type Registry_Nacos

type Registry_Nacos struct {
	Address             string               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`                                           // address
	Port                uint64               `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`                                                // port
	NamespaceId         string               `protobuf:"bytes,3,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`                //
	LogLevel            string               `protobuf:"bytes,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`                         // log level
	CacheDir            string               `protobuf:"bytes,5,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"`                         // cache directory
	LogDir              string               `protobuf:"bytes,6,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"`                               // log directory
	UpdateThreadNum     int32                `protobuf:"varint,7,opt,name=update_thread_num,json=updateThreadNum,proto3" json:"update_thread_num,omitempty"` // number of threads to update the service
	Timeout             *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`                                           // http request timeout, unit: milliseconds
	BeatInterval        *durationpb.Duration `protobuf:"bytes,9,opt,name=beat_interval,json=beatInterval,proto3" json:"beat_interval,omitempty"`             // heartbeat interval, unit: milliseconds
	NotLoadCacheAtStart bool                 ``                                                                                                              // do not read local cache data at startup, true: do not read, false: read
	/* 126-byte string literal not displayed */
	UpdateCacheWhenEmpty bool `` // Whether to update the local cache when the service list is empty, true: update, false: do not update
	/* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Registry_Nacos) Descriptor deprecated

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

Deprecated: Use Registry_Nacos.ProtoReflect.Descriptor instead.

func (*Registry_Nacos) GetAddress

func (x *Registry_Nacos) GetAddress() string

func (*Registry_Nacos) GetBeatInterval

func (x *Registry_Nacos) GetBeatInterval() *durationpb.Duration

func (*Registry_Nacos) GetCacheDir

func (x *Registry_Nacos) GetCacheDir() string

func (*Registry_Nacos) GetLogDir

func (x *Registry_Nacos) GetLogDir() string

func (*Registry_Nacos) GetLogLevel

func (x *Registry_Nacos) GetLogLevel() string

func (*Registry_Nacos) GetNamespaceId

func (x *Registry_Nacos) GetNamespaceId() string

func (*Registry_Nacos) GetNotLoadCacheAtStart

func (x *Registry_Nacos) GetNotLoadCacheAtStart() bool

func (*Registry_Nacos) GetPort

func (x *Registry_Nacos) GetPort() uint64

func (*Registry_Nacos) GetTimeout

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

func (*Registry_Nacos) GetUpdateCacheWhenEmpty

func (x *Registry_Nacos) GetUpdateCacheWhenEmpty() bool

func (*Registry_Nacos) GetUpdateThreadNum

func (x *Registry_Nacos) GetUpdateThreadNum() int32

func (*Registry_Nacos) ProtoMessage

func (*Registry_Nacos) ProtoMessage()

func (*Registry_Nacos) ProtoReflect

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

func (*Registry_Nacos) Reset

func (x *Registry_Nacos) Reset()

func (*Registry_Nacos) String

func (x *Registry_Nacos) String() string

func (*Registry_Nacos) Validate

func (m *Registry_Nacos) Validate() error

Validate checks the field values on Registry_Nacos with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Registry_Nacos) ValidateAll

func (m *Registry_Nacos) ValidateAll() error

ValidateAll checks the field values on Registry_Nacos with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_NacosMultiError, or nil if none found.

type Registry_NacosMultiError

type Registry_NacosMultiError []error

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

func (Registry_NacosMultiError) AllErrors

func (m Registry_NacosMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Registry_NacosMultiError) Error

func (m Registry_NacosMultiError) Error() string

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

type Registry_NacosValidationError

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

Registry_NacosValidationError is the validation error returned by Registry_Nacos.Validate if the designated constraints aren't met.

func (Registry_NacosValidationError) Cause

Cause function returns cause value.

func (Registry_NacosValidationError) Error

Error satisfies the builtin error interface

func (Registry_NacosValidationError) ErrorName

func (e Registry_NacosValidationError) ErrorName() string

ErrorName returns error name.

func (Registry_NacosValidationError) Field

Field function returns field value.

func (Registry_NacosValidationError) Key

Key function returns key value.

func (Registry_NacosValidationError) Reason

Reason function returns reason value.

type Registry_ZooKeeper

type Registry_ZooKeeper struct {
	Endpoints []string             `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	Timeout   *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Registry_ZooKeeper) Descriptor deprecated

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

Deprecated: Use Registry_ZooKeeper.ProtoReflect.Descriptor instead.

func (*Registry_ZooKeeper) GetEndpoints

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

func (*Registry_ZooKeeper) GetTimeout

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

func (*Registry_ZooKeeper) ProtoMessage

func (*Registry_ZooKeeper) ProtoMessage()

func (*Registry_ZooKeeper) ProtoReflect

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

func (*Registry_ZooKeeper) Reset

func (x *Registry_ZooKeeper) Reset()

func (*Registry_ZooKeeper) String

func (x *Registry_ZooKeeper) String() string

func (*Registry_ZooKeeper) Validate

func (m *Registry_ZooKeeper) Validate() error

Validate checks the field values on Registry_ZooKeeper with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Registry_ZooKeeper) ValidateAll

func (m *Registry_ZooKeeper) ValidateAll() error

ValidateAll checks the field values on Registry_ZooKeeper with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Registry_ZooKeeperMultiError, or nil if none found.

type Registry_ZooKeeperMultiError

type Registry_ZooKeeperMultiError []error

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

func (Registry_ZooKeeperMultiError) AllErrors

func (m Registry_ZooKeeperMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Registry_ZooKeeperMultiError) Error

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

type Registry_ZooKeeperValidationError

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

Registry_ZooKeeperValidationError is the validation error returned by Registry_ZooKeeper.Validate if the designated constraints aren't met.

func (Registry_ZooKeeperValidationError) Cause

Cause function returns cause value.

func (Registry_ZooKeeperValidationError) Error

Error satisfies the builtin error interface

func (Registry_ZooKeeperValidationError) ErrorName

ErrorName returns error name.

func (Registry_ZooKeeperValidationError) Field

Field function returns field value.

func (Registry_ZooKeeperValidationError) Key

Key function returns key value.

func (Registry_ZooKeeperValidationError) Reason

Reason function returns reason value.

type RemoteConfig

type RemoteConfig struct {
	Type   string               `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Etcd   *RemoteConfig_Etcd   `protobuf:"bytes,2,opt,name=etcd,proto3" json:"etcd,omitempty"`
	Consul *RemoteConfig_Consul `protobuf:"bytes,3,opt,name=consul,proto3" json:"consul,omitempty"`
	Nacos  *RemoteConfig_Nacos  `protobuf:"bytes,4,opt,name=nacos,proto3" json:"nacos,omitempty"`
	Apollo *RemoteConfig_Apollo `protobuf:"bytes,6,opt,name=apollo,proto3" json:"apollo,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConfig) Descriptor deprecated

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

Deprecated: Use RemoteConfig.ProtoReflect.Descriptor instead.

func (*RemoteConfig) GetApollo

func (x *RemoteConfig) GetApollo() *RemoteConfig_Apollo

func (*RemoteConfig) GetConsul

func (x *RemoteConfig) GetConsul() *RemoteConfig_Consul

func (*RemoteConfig) GetEtcd

func (x *RemoteConfig) GetEtcd() *RemoteConfig_Etcd

func (*RemoteConfig) GetNacos

func (x *RemoteConfig) GetNacos() *RemoteConfig_Nacos

func (*RemoteConfig) GetType

func (x *RemoteConfig) GetType() string

func (*RemoteConfig) ProtoMessage

func (*RemoteConfig) ProtoMessage()

func (*RemoteConfig) ProtoReflect

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

func (*RemoteConfig) Reset

func (x *RemoteConfig) Reset()

func (*RemoteConfig) String

func (x *RemoteConfig) String() string

func (*RemoteConfig) Validate

func (m *RemoteConfig) Validate() error

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

func (m *RemoteConfig) ValidateAll() error

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

type RemoteConfigMultiError

type RemoteConfigMultiError []error

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

func (RemoteConfigMultiError) AllErrors

func (m RemoteConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteConfigMultiError) Error

func (m RemoteConfigMultiError) Error() string

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

type RemoteConfigValidationError

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

RemoteConfigValidationError is the validation error returned by RemoteConfig.Validate if the designated constraints aren't met.

func (RemoteConfigValidationError) Cause

Cause function returns cause value.

func (RemoteConfigValidationError) Error

Error satisfies the builtin error interface

func (RemoteConfigValidationError) ErrorName

func (e RemoteConfigValidationError) ErrorName() string

ErrorName returns error name.

func (RemoteConfigValidationError) Field

Field function returns field value.

func (RemoteConfigValidationError) Key

Key function returns key value.

func (RemoteConfigValidationError) Reason

Reason function returns reason value.

type RemoteConfig_Apollo

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

func (*RemoteConfig_Apollo) Descriptor deprecated

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

Deprecated: Use RemoteConfig_Apollo.ProtoReflect.Descriptor instead.

func (*RemoteConfig_Apollo) ProtoMessage

func (*RemoteConfig_Apollo) ProtoMessage()

func (*RemoteConfig_Apollo) ProtoReflect

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

func (*RemoteConfig_Apollo) Reset

func (x *RemoteConfig_Apollo) Reset()

func (*RemoteConfig_Apollo) String

func (x *RemoteConfig_Apollo) String() string

func (*RemoteConfig_Apollo) Validate

func (m *RemoteConfig_Apollo) Validate() error

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

func (m *RemoteConfig_Apollo) ValidateAll() error

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

type RemoteConfig_ApolloMultiError

type RemoteConfig_ApolloMultiError []error

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

func (RemoteConfig_ApolloMultiError) AllErrors

func (m RemoteConfig_ApolloMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteConfig_ApolloMultiError) Error

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

type RemoteConfig_ApolloValidationError

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

RemoteConfig_ApolloValidationError is the validation error returned by RemoteConfig_Apollo.Validate if the designated constraints aren't met.

func (RemoteConfig_ApolloValidationError) Cause

Cause function returns cause value.

func (RemoteConfig_ApolloValidationError) Error

Error satisfies the builtin error interface

func (RemoteConfig_ApolloValidationError) ErrorName

ErrorName returns error name.

func (RemoteConfig_ApolloValidationError) Field

Field function returns field value.

func (RemoteConfig_ApolloValidationError) Key

Key function returns key value.

func (RemoteConfig_ApolloValidationError) Reason

Reason function returns reason value.

type RemoteConfig_Consul

type RemoteConfig_Consul struct {
	Scheme  string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Key     string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConfig_Consul) Descriptor deprecated

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

Deprecated: Use RemoteConfig_Consul.ProtoReflect.Descriptor instead.

func (*RemoteConfig_Consul) GetAddress

func (x *RemoteConfig_Consul) GetAddress() string

func (*RemoteConfig_Consul) GetKey

func (x *RemoteConfig_Consul) GetKey() string

func (*RemoteConfig_Consul) GetScheme

func (x *RemoteConfig_Consul) GetScheme() string

func (*RemoteConfig_Consul) ProtoMessage

func (*RemoteConfig_Consul) ProtoMessage()

func (*RemoteConfig_Consul) ProtoReflect

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

func (*RemoteConfig_Consul) Reset

func (x *RemoteConfig_Consul) Reset()

func (*RemoteConfig_Consul) String

func (x *RemoteConfig_Consul) String() string

func (*RemoteConfig_Consul) Validate

func (m *RemoteConfig_Consul) Validate() error

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

func (m *RemoteConfig_Consul) ValidateAll() error

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

type RemoteConfig_ConsulMultiError

type RemoteConfig_ConsulMultiError []error

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

func (RemoteConfig_ConsulMultiError) AllErrors

func (m RemoteConfig_ConsulMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteConfig_ConsulMultiError) Error

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

type RemoteConfig_ConsulValidationError

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

RemoteConfig_ConsulValidationError is the validation error returned by RemoteConfig_Consul.Validate if the designated constraints aren't met.

func (RemoteConfig_ConsulValidationError) Cause

Cause function returns cause value.

func (RemoteConfig_ConsulValidationError) Error

Error satisfies the builtin error interface

func (RemoteConfig_ConsulValidationError) ErrorName

ErrorName returns error name.

func (RemoteConfig_ConsulValidationError) Field

Field function returns field value.

func (RemoteConfig_ConsulValidationError) Key

Key function returns key value.

func (RemoteConfig_ConsulValidationError) Reason

Reason function returns reason value.

type RemoteConfig_Etcd

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

func (*RemoteConfig_Etcd) Descriptor deprecated

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

Deprecated: Use RemoteConfig_Etcd.ProtoReflect.Descriptor instead.

func (*RemoteConfig_Etcd) ProtoMessage

func (*RemoteConfig_Etcd) ProtoMessage()

func (*RemoteConfig_Etcd) ProtoReflect

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

func (*RemoteConfig_Etcd) Reset

func (x *RemoteConfig_Etcd) Reset()

func (*RemoteConfig_Etcd) String

func (x *RemoteConfig_Etcd) String() string

func (*RemoteConfig_Etcd) Validate

func (m *RemoteConfig_Etcd) Validate() error

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

func (m *RemoteConfig_Etcd) ValidateAll() error

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

type RemoteConfig_EtcdMultiError

type RemoteConfig_EtcdMultiError []error

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

func (RemoteConfig_EtcdMultiError) AllErrors

func (m RemoteConfig_EtcdMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteConfig_EtcdMultiError) Error

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

type RemoteConfig_EtcdValidationError

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

RemoteConfig_EtcdValidationError is the validation error returned by RemoteConfig_Etcd.Validate if the designated constraints aren't met.

func (RemoteConfig_EtcdValidationError) Cause

Cause function returns cause value.

func (RemoteConfig_EtcdValidationError) Error

Error satisfies the builtin error interface

func (RemoteConfig_EtcdValidationError) ErrorName

ErrorName returns error name.

func (RemoteConfig_EtcdValidationError) Field

Field function returns field value.

func (RemoteConfig_EtcdValidationError) Key

Key function returns key value.

func (RemoteConfig_EtcdValidationError) Reason

Reason function returns reason value.

type RemoteConfig_Kubernetes

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

func (*RemoteConfig_Kubernetes) Descriptor deprecated

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

Deprecated: Use RemoteConfig_Kubernetes.ProtoReflect.Descriptor instead.

func (*RemoteConfig_Kubernetes) ProtoMessage

func (*RemoteConfig_Kubernetes) ProtoMessage()

func (*RemoteConfig_Kubernetes) ProtoReflect

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

func (*RemoteConfig_Kubernetes) Reset

func (x *RemoteConfig_Kubernetes) Reset()

func (*RemoteConfig_Kubernetes) String

func (x *RemoteConfig_Kubernetes) String() string

func (*RemoteConfig_Kubernetes) Validate

func (m *RemoteConfig_Kubernetes) Validate() error

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

func (m *RemoteConfig_Kubernetes) ValidateAll() error

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

type RemoteConfig_KubernetesMultiError

type RemoteConfig_KubernetesMultiError []error

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

func (RemoteConfig_KubernetesMultiError) AllErrors

func (m RemoteConfig_KubernetesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteConfig_KubernetesMultiError) Error

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

type RemoteConfig_KubernetesValidationError

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

RemoteConfig_KubernetesValidationError is the validation error returned by RemoteConfig_Kubernetes.Validate if the designated constraints aren't met.

func (RemoteConfig_KubernetesValidationError) Cause

Cause function returns cause value.

func (RemoteConfig_KubernetesValidationError) Error

Error satisfies the builtin error interface

func (RemoteConfig_KubernetesValidationError) ErrorName

ErrorName returns error name.

func (RemoteConfig_KubernetesValidationError) Field

Field function returns field value.

func (RemoteConfig_KubernetesValidationError) Key

Key function returns key value.

func (RemoteConfig_KubernetesValidationError) Reason

Reason function returns reason value.

type RemoteConfig_Nacos

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

func (*RemoteConfig_Nacos) Descriptor deprecated

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

Deprecated: Use RemoteConfig_Nacos.ProtoReflect.Descriptor instead.

func (*RemoteConfig_Nacos) ProtoMessage

func (*RemoteConfig_Nacos) ProtoMessage()

func (*RemoteConfig_Nacos) ProtoReflect

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

func (*RemoteConfig_Nacos) Reset

func (x *RemoteConfig_Nacos) Reset()

func (*RemoteConfig_Nacos) String

func (x *RemoteConfig_Nacos) String() string

func (*RemoteConfig_Nacos) Validate

func (m *RemoteConfig_Nacos) Validate() error

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

func (m *RemoteConfig_Nacos) ValidateAll() error

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

type RemoteConfig_NacosMultiError

type RemoteConfig_NacosMultiError []error

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

func (RemoteConfig_NacosMultiError) AllErrors

func (m RemoteConfig_NacosMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoteConfig_NacosMultiError) Error

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

type RemoteConfig_NacosValidationError

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

RemoteConfig_NacosValidationError is the validation error returned by RemoteConfig_Nacos.Validate if the designated constraints aren't met.

func (RemoteConfig_NacosValidationError) Cause

Cause function returns cause value.

func (RemoteConfig_NacosValidationError) Error

Error satisfies the builtin error interface

func (RemoteConfig_NacosValidationError) ErrorName

ErrorName returns error name.

func (RemoteConfig_NacosValidationError) Field

Field function returns field value.

func (RemoteConfig_NacosValidationError) Key

Key function returns key value.

func (RemoteConfig_NacosValidationError) Reason

Reason function returns reason value.

type Server

type Server struct {

	// rpc
	Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// message queue
	Kafka *Server_Kafka `protobuf:"bytes,3,opt,name=kafka,proto3" json:"kafka,omitempty"`
	// real time
	Websocket *Server_Websocket `protobuf:"bytes,4,opt,name=websocket,proto3" json:"websocket,omitempty"`
	// task queue
	Asynq *Server_Asynq `protobuf:"bytes,5,opt,name=asynq,proto3" json:"asynq,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetAsynq

func (x *Server) GetAsynq() *Server_Asynq

func (*Server) GetGrpc

func (x *Server) GetGrpc() *Server_GRPC

func (*Server) GetHttp

func (x *Server) GetHttp() *Server_HTTP

func (*Server) GetKafka

func (x *Server) GetKafka() *Server_Kafka

func (*Server) GetWebsocket

func (x *Server) GetWebsocket() *Server_Websocket

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

func (*Server) Validate

func (m *Server) Validate() error

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

func (m *Server) ValidateAll() error

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

type ServerMultiError

type ServerMultiError []error

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

func (ServerMultiError) AllErrors

func (m ServerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServerMultiError) Error

func (m ServerMultiError) Error() string

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

type ServerValidationError

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

ServerValidationError is the validation error returned by Server.Validate if the designated constraints aren't met.

func (ServerValidationError) Cause

func (e ServerValidationError) Cause() error

Cause function returns cause value.

func (ServerValidationError) Error

func (e ServerValidationError) Error() string

Error satisfies the builtin error interface

func (ServerValidationError) ErrorName

func (e ServerValidationError) ErrorName() string

ErrorName returns error name.

func (ServerValidationError) Field

func (e ServerValidationError) Field() string

Field function returns field value.

func (ServerValidationError) Key

func (e ServerValidationError) Key() bool

Key function returns key value.

func (ServerValidationError) Reason

func (e ServerValidationError) Reason() string

Reason function returns reason value.

type Server_Asynq

type Server_Asynq struct {
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // endpoint
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // redis password
	Db       int32  `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`            // db
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // timezone
	// contains filtered or unexported fields
}

asynq

func (*Server_Asynq) Descriptor deprecated

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

Deprecated: Use Server_Asynq.ProtoReflect.Descriptor instead.

func (*Server_Asynq) GetDb

func (x *Server_Asynq) GetDb() int32

func (*Server_Asynq) GetEndpoint

func (x *Server_Asynq) GetEndpoint() string

func (*Server_Asynq) GetLocation

func (x *Server_Asynq) GetLocation() string

func (*Server_Asynq) GetPassword

func (x *Server_Asynq) GetPassword() string

func (*Server_Asynq) ProtoMessage

func (*Server_Asynq) ProtoMessage()

func (*Server_Asynq) ProtoReflect

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

func (*Server_Asynq) Reset

func (x *Server_Asynq) Reset()

func (*Server_Asynq) String

func (x *Server_Asynq) String() string

func (*Server_Asynq) Validate

func (m *Server_Asynq) Validate() error

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

func (m *Server_Asynq) ValidateAll() error

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

type Server_AsynqMultiError

type Server_AsynqMultiError []error

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

func (Server_AsynqMultiError) AllErrors

func (m Server_AsynqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Server_AsynqMultiError) Error

func (m Server_AsynqMultiError) Error() string

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

type Server_AsynqValidationError

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

Server_AsynqValidationError is the validation error returned by Server_Asynq.Validate if the designated constraints aren't met.

func (Server_AsynqValidationError) Cause

Cause function returns cause value.

func (Server_AsynqValidationError) Error

Error satisfies the builtin error interface

func (Server_AsynqValidationError) ErrorName

func (e Server_AsynqValidationError) ErrorName() string

ErrorName returns error name.

func (Server_AsynqValidationError) Field

Field function returns field value.

func (Server_AsynqValidationError) Key

Key function returns key value.

func (Server_AsynqValidationError) Reason

Reason function returns reason value.

type Server_GRPC

type Server_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"`
	Timeout    *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Middleware *Middleware          `protobuf:"bytes,4,opt,name=middleware,proto3" json:"middleware,omitempty"`
	// contains filtered or unexported fields
}

grpc

func (*Server_GRPC) Descriptor deprecated

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

Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.

func (*Server_GRPC) GetAddr

func (x *Server_GRPC) GetAddr() string

func (*Server_GRPC) GetMiddleware

func (x *Server_GRPC) GetMiddleware() *Middleware

func (*Server_GRPC) GetNetwork

func (x *Server_GRPC) GetNetwork() string

func (*Server_GRPC) GetTimeout

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

func (*Server_GRPC) ProtoMessage

func (*Server_GRPC) ProtoMessage()

func (*Server_GRPC) ProtoReflect

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

func (*Server_GRPC) Reset

func (x *Server_GRPC) Reset()

func (*Server_GRPC) String

func (x *Server_GRPC) String() string

func (*Server_GRPC) Validate

func (m *Server_GRPC) Validate() error

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

func (m *Server_GRPC) ValidateAll() error

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

type Server_GRPCMultiError

type Server_GRPCMultiError []error

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

func (Server_GRPCMultiError) AllErrors

func (m Server_GRPCMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Server_GRPCMultiError) Error

func (m Server_GRPCMultiError) Error() string

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

type Server_GRPCValidationError

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

Server_GRPCValidationError is the validation error returned by Server_GRPC.Validate if the designated constraints aren't met.

func (Server_GRPCValidationError) Cause

Cause function returns cause value.

func (Server_GRPCValidationError) Error

Error satisfies the builtin error interface

func (Server_GRPCValidationError) ErrorName

func (e Server_GRPCValidationError) ErrorName() string

ErrorName returns error name.

func (Server_GRPCValidationError) Field

Field function returns field value.

func (Server_GRPCValidationError) Key

Key function returns key value.

func (Server_GRPCValidationError) Reason

Reason function returns reason value.

type Server_HTTP

type Server_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"`
	Timeout       *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Cors          *Server_HTTP_CORS    `protobuf:"bytes,4,opt,name=cors,proto3" json:"cors,omitempty"`
	Middleware    *Middleware          `protobuf:"bytes,5,opt,name=middleware,proto3" json:"middleware,omitempty"`
	EnableSwagger bool                 `protobuf:"varint,6,opt,name=enable_swagger,json=enableSwagger,proto3" json:"enable_swagger,omitempty"`
	EnablePprof   bool                 `protobuf:"varint,7,opt,name=enable_pprof,json=enablePprof,proto3" json:"enable_pprof,omitempty"`
	// contains filtered or unexported fields
}

http

func (*Server_HTTP) Descriptor deprecated

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

Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.

func (*Server_HTTP) GetAddr

func (x *Server_HTTP) GetAddr() string

func (*Server_HTTP) GetCors

func (x *Server_HTTP) GetCors() *Server_HTTP_CORS

func (*Server_HTTP) GetEnablePprof

func (x *Server_HTTP) GetEnablePprof() bool

func (*Server_HTTP) GetEnableSwagger

func (x *Server_HTTP) GetEnableSwagger() bool

func (*Server_HTTP) GetMiddleware

func (x *Server_HTTP) GetMiddleware() *Middleware

func (*Server_HTTP) GetNetwork

func (x *Server_HTTP) GetNetwork() string

func (*Server_HTTP) GetTimeout

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

func (*Server_HTTP) ProtoMessage

func (*Server_HTTP) ProtoMessage()

func (*Server_HTTP) ProtoReflect

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

func (*Server_HTTP) Reset

func (x *Server_HTTP) Reset()

func (*Server_HTTP) String

func (x *Server_HTTP) String() string

func (*Server_HTTP) Validate

func (m *Server_HTTP) Validate() error

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

func (m *Server_HTTP) ValidateAll() error

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

type Server_HTTPMultiError

type Server_HTTPMultiError []error

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

func (Server_HTTPMultiError) AllErrors

func (m Server_HTTPMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Server_HTTPMultiError) Error

func (m Server_HTTPMultiError) Error() string

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

type Server_HTTPValidationError

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

Server_HTTPValidationError is the validation error returned by Server_HTTP.Validate if the designated constraints aren't met.

func (Server_HTTPValidationError) Cause

Cause function returns cause value.

func (Server_HTTPValidationError) Error

Error satisfies the builtin error interface

func (Server_HTTPValidationError) ErrorName

func (e Server_HTTPValidationError) ErrorName() string

ErrorName returns error name.

func (Server_HTTPValidationError) Field

Field function returns field value.

func (Server_HTTPValidationError) Key

Key function returns key value.

func (Server_HTTPValidationError) Reason

Reason function returns reason value.

type Server_HTTP_CORS

type Server_HTTP_CORS struct {
	Headers []string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	Origins []string `protobuf:"bytes,3,rep,name=origins,proto3" json:"origins,omitempty"`
	// contains filtered or unexported fields
}

cors

func (*Server_HTTP_CORS) Descriptor deprecated

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

Deprecated: Use Server_HTTP_CORS.ProtoReflect.Descriptor instead.

func (*Server_HTTP_CORS) GetHeaders

func (x *Server_HTTP_CORS) GetHeaders() []string

func (*Server_HTTP_CORS) GetMethods

func (x *Server_HTTP_CORS) GetMethods() []string

func (*Server_HTTP_CORS) GetOrigins

func (x *Server_HTTP_CORS) GetOrigins() []string

func (*Server_HTTP_CORS) ProtoMessage

func (*Server_HTTP_CORS) ProtoMessage()

func (*Server_HTTP_CORS) ProtoReflect

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

func (*Server_HTTP_CORS) Reset

func (x *Server_HTTP_CORS) Reset()

func (*Server_HTTP_CORS) String

func (x *Server_HTTP_CORS) String() string

func (*Server_HTTP_CORS) Validate

func (m *Server_HTTP_CORS) Validate() error

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

func (m *Server_HTTP_CORS) ValidateAll() error

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

type Server_HTTP_CORSMultiError

type Server_HTTP_CORSMultiError []error

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

func (Server_HTTP_CORSMultiError) AllErrors

func (m Server_HTTP_CORSMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Server_HTTP_CORSMultiError) Error

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

type Server_HTTP_CORSValidationError

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

Server_HTTP_CORSValidationError is the validation error returned by Server_HTTP_CORS.Validate if the designated constraints aren't met.

func (Server_HTTP_CORSValidationError) Cause

Cause function returns cause value.

func (Server_HTTP_CORSValidationError) Error

Error satisfies the builtin error interface

func (Server_HTTP_CORSValidationError) ErrorName

ErrorName returns error name.

func (Server_HTTP_CORSValidationError) Field

Field function returns field value.

func (Server_HTTP_CORSValidationError) Key

Key function returns key value.

func (Server_HTTP_CORSValidationError) Reason

Reason function returns reason value.

type Server_Kafka

type Server_Kafka struct {
	Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // addresses
	Codec     string   `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`         // codec: json,xml,yaml...
	// contains filtered or unexported fields
}

Kafka

func (*Server_Kafka) Descriptor deprecated

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

Deprecated: Use Server_Kafka.ProtoReflect.Descriptor instead.

func (*Server_Kafka) GetCodec

func (x *Server_Kafka) GetCodec() string

func (*Server_Kafka) GetEndpoints

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

func (*Server_Kafka) ProtoMessage

func (*Server_Kafka) ProtoMessage()

func (*Server_Kafka) ProtoReflect

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

func (*Server_Kafka) Reset

func (x *Server_Kafka) Reset()

func (*Server_Kafka) String

func (x *Server_Kafka) String() string

func (*Server_Kafka) Validate

func (m *Server_Kafka) Validate() error

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

func (m *Server_Kafka) ValidateAll() error

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

type Server_KafkaMultiError

type Server_KafkaMultiError []error

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

func (Server_KafkaMultiError) AllErrors

func (m Server_KafkaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Server_KafkaMultiError) Error

func (m Server_KafkaMultiError) Error() string

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

type Server_KafkaValidationError

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

Server_KafkaValidationError is the validation error returned by Server_Kafka.Validate if the designated constraints aren't met.

func (Server_KafkaValidationError) Cause

Cause function returns cause value.

func (Server_KafkaValidationError) Error

Error satisfies the builtin error interface

func (Server_KafkaValidationError) ErrorName

func (e Server_KafkaValidationError) ErrorName() string

ErrorName returns error name.

func (Server_KafkaValidationError) Field

Field function returns field value.

func (Server_KafkaValidationError) Key

Key function returns key value.

func (Server_KafkaValidationError) Reason

Reason function returns reason value.

type Server_Websocket

type Server_Websocket struct {
	Network string               `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // network: http、https
	Addr    string               `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`       // address
	Path    string               `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`       // path
	Codec   string               `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"`     // codec: json,xml,yaml...
	Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout
	// contains filtered or unexported fields
}

websocket

func (*Server_Websocket) Descriptor deprecated

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

Deprecated: Use Server_Websocket.ProtoReflect.Descriptor instead.

func (*Server_Websocket) GetAddr

func (x *Server_Websocket) GetAddr() string

func (*Server_Websocket) GetCodec

func (x *Server_Websocket) GetCodec() string

func (*Server_Websocket) GetNetwork

func (x *Server_Websocket) GetNetwork() string

func (*Server_Websocket) GetPath

func (x *Server_Websocket) GetPath() string

func (*Server_Websocket) GetTimeout

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

func (*Server_Websocket) ProtoMessage

func (*Server_Websocket) ProtoMessage()

func (*Server_Websocket) ProtoReflect

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

func (*Server_Websocket) Reset

func (x *Server_Websocket) Reset()

func (*Server_Websocket) String

func (x *Server_Websocket) String() string

func (*Server_Websocket) Validate

func (m *Server_Websocket) Validate() error

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

func (m *Server_Websocket) ValidateAll() error

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

type Server_WebsocketMultiError

type Server_WebsocketMultiError []error

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

func (Server_WebsocketMultiError) AllErrors

func (m Server_WebsocketMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Server_WebsocketMultiError) Error

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

type Server_WebsocketValidationError

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

Server_WebsocketValidationError is the validation error returned by Server_Websocket.Validate if the designated constraints aren't met.

func (Server_WebsocketValidationError) Cause

Cause function returns cause value.

func (Server_WebsocketValidationError) Error

Error satisfies the builtin error interface

func (Server_WebsocketValidationError) ErrorName

ErrorName returns error name.

func (Server_WebsocketValidationError) Field

Field function returns field value.

func (Server_WebsocketValidationError) Key

Key function returns key value.

func (Server_WebsocketValidationError) Reason

Reason function returns reason value.

type Tracer

type Tracer struct {
	Enable   bool    `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	Batcher  string  `protobuf:"bytes,2,opt,name=batcher,proto3" json:"batcher,omitempty"`   // jaeger or zipkin
	Endpoint string  `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // port
	Sampler  float64 `protobuf:"fixed64,4,opt,name=sampler,proto3" json:"sampler,omitempty"` // sampling rate, default: 1.0
	Env      string  `protobuf:"bytes,5,opt,name=env,proto3" json:"env,omitempty"`           // environment: dev, debug, product
	Insecure bool    `protobuf:"varint,6,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracer) Descriptor deprecated

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

Deprecated: Use Tracer.ProtoReflect.Descriptor instead.

func (*Tracer) GetBatcher

func (x *Tracer) GetBatcher() string

func (*Tracer) GetEnable

func (x *Tracer) GetEnable() bool

func (*Tracer) GetEndpoint

func (x *Tracer) GetEndpoint() string

func (*Tracer) GetEnv

func (x *Tracer) GetEnv() string

func (*Tracer) GetInsecure

func (x *Tracer) GetInsecure() bool

func (*Tracer) GetSampler

func (x *Tracer) GetSampler() float64

func (*Tracer) ProtoMessage

func (*Tracer) ProtoMessage()

func (*Tracer) ProtoReflect

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

func (*Tracer) Reset

func (x *Tracer) Reset()

func (*Tracer) String

func (x *Tracer) String() string

func (*Tracer) Validate

func (m *Tracer) Validate() error

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

func (m *Tracer) ValidateAll() error

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

type TracerMultiError

type TracerMultiError []error

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

func (TracerMultiError) AllErrors

func (m TracerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TracerMultiError) Error

func (m TracerMultiError) Error() string

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

type TracerValidationError

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

TracerValidationError is the validation error returned by Tracer.Validate if the designated constraints aren't met.

func (TracerValidationError) Cause

func (e TracerValidationError) Cause() error

Cause function returns cause value.

func (TracerValidationError) Error

func (e TracerValidationError) Error() string

Error satisfies the builtin error interface

func (TracerValidationError) ErrorName

func (e TracerValidationError) ErrorName() string

ErrorName returns error name.

func (TracerValidationError) Field

func (e TracerValidationError) Field() string

Field function returns field value.

func (TracerValidationError) Key

func (e TracerValidationError) Key() bool

Key function returns key value.

func (TracerValidationError) Reason

func (e TracerValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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