Documentation ¶
Index ¶
- Variables
- type Captcha
- func (*Captcha) Descriptor() ([]byte, []int)deprecated
- func (x *Captcha) GetDotCount() int32
- func (x *Captcha) GetHeight() int32
- func (x *Captcha) GetLength() int32
- func (x *Captcha) GetMaxSkew() float32
- func (x *Captcha) GetWidth() int32
- func (*Captcha) ProtoMessage()
- func (x *Captcha) ProtoReflect() protoreflect.Message
- func (x *Captcha) Reset()
- func (x *Captcha) String() string
- type Casbin
- type Conf
- func (*Conf) Descriptor() ([]byte, []int)deprecated
- func (x *Conf) GetCaptcha() *Captcha
- func (x *Conf) GetCasbin() *Casbin
- func (x *Conf) GetConsul() *Consul
- func (x *Conf) GetCors() *Cors
- func (x *Conf) GetData() *Data
- func (x *Conf) GetEmail() *Email
- func (x *Conf) GetGlobal() *Global
- func (x *Conf) GetHolmes() *Holmes
- func (x *Conf) GetJwt() *Jwt
- func (x *Conf) GetKafka() *Kafka
- func (x *Conf) GetLimiter() *Limiter
- func (x *Conf) GetServer() *Server
- func (x *Conf) GetTrace() *Trace
- func (x *Conf) GetZap() *Zap
- func (*Conf) ProtoMessage()
- func (x *Conf) ProtoReflect() protoreflect.Message
- func (x *Conf) Reset()
- func (x *Conf) String() string
- type Consul
- func (*Consul) Descriptor() ([]byte, []int)deprecated
- func (x *Consul) GetDiscovery() *Consul_Discovery
- func (x *Consul) GetHealthCheck() bool
- func (x *Consul) GetHost() string
- func (x *Consul) GetKv() *Consul_Kv
- func (x *Consul) GetScheme() string
- func (x *Consul) GetToken() string
- func (*Consul) ProtoMessage()
- func (x *Consul) ProtoReflect() protoreflect.Message
- func (x *Consul) Reset()
- func (x *Consul) String() string
- type Consul_Discovery
- type Consul_Kv
- type Cors
- type Cors_Whitelist
- func (*Cors_Whitelist) Descriptor() ([]byte, []int)deprecated
- func (x *Cors_Whitelist) GetAllowCredentials() bool
- func (x *Cors_Whitelist) GetAllowHeaders() string
- func (x *Cors_Whitelist) GetAllowMethods() string
- func (x *Cors_Whitelist) GetAllowOrigin() string
- func (x *Cors_Whitelist) GetExposeHeaders() string
- func (*Cors_Whitelist) ProtoMessage()
- func (x *Cors_Whitelist) ProtoReflect() protoreflect.Message
- func (x *Cors_Whitelist) Reset()
- func (x *Cors_Whitelist) String() string
- type Data
- type Data_ES
- func (*Data_ES) Descriptor() ([]byte, []int)deprecated
- func (x *Data_ES) GetAddress() []string
- func (x *Data_ES) GetPassword() string
- func (x *Data_ES) GetUsername() string
- func (*Data_ES) ProtoMessage()
- func (x *Data_ES) ProtoReflect() protoreflect.Message
- func (x *Data_ES) Reset()
- func (x *Data_ES) String() string
- type Data_Mysql
- type Data_Redis
- func (*Data_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Redis) GetAddr() string
- func (x *Data_Redis) GetDb() int32
- func (x *Data_Redis) GetDialTimeout() string
- func (x *Data_Redis) GetNetwork() string
- func (x *Data_Redis) GetPassword() string
- func (x *Data_Redis) GetReadTimeout() string
- func (x *Data_Redis) GetWriteTimeout() string
- func (*Data_Redis) ProtoMessage()
- func (x *Data_Redis) ProtoReflect() protoreflect.Message
- func (x *Data_Redis) Reset()
- func (x *Data_Redis) String() string
- type Email
- func (*Email) Descriptor() ([]byte, []int)deprecated
- func (x *Email) GetFrom() string
- func (x *Email) GetHost() string
- func (x *Email) GetIsSsl() bool
- func (x *Email) GetNickname() string
- func (x *Email) GetPort() int32
- func (x *Email) GetSecret() string
- func (x *Email) GetTopics() []*Email_Topics
- func (*Email) ProtoMessage()
- func (x *Email) ProtoReflect() protoreflect.Message
- func (x *Email) Reset()
- func (x *Email) String() string
- type Email_Topics
- func (*Email_Topics) Descriptor() ([]byte, []int)deprecated
- func (x *Email_Topics) GetName() string
- func (x *Email_Topics) GetSubject() string
- func (x *Email_Topics) GetTo() []string
- func (*Email_Topics) ProtoMessage()
- func (x *Email_Topics) ProtoReflect() protoreflect.Message
- func (x *Email_Topics) Reset()
- func (x *Email_Topics) String() string
- type Global
- func (*Global) Descriptor() ([]byte, []int)deprecated
- func (x *Global) GetAppName() string
- func (x *Global) GetEnv() string
- func (x *Global) GetId() string
- func (x *Global) GetVersion() string
- func (*Global) ProtoMessage()
- func (x *Global) ProtoReflect() protoreflect.Message
- func (x *Global) Reset()
- func (x *Global) String() string
- type Holmes
- func (*Holmes) Descriptor() ([]byte, []int)deprecated
- func (x *Holmes) GetCPU() *Holmes_CPU
- func (x *Holmes) GetCollectInterval() string
- func (x *Holmes) GetGCHeap() *Holmes_GCHeap
- func (x *Holmes) GetGoroutine() *Holmes_Goroutine
- func (x *Holmes) GetLog() string
- func (x *Holmes) GetMem() *Holmes_Mem
- func (x *Holmes) GetPath() string
- func (*Holmes) ProtoMessage()
- func (x *Holmes) ProtoReflect() protoreflect.Message
- func (x *Holmes) Reset()
- func (x *Holmes) String() string
- type Holmes_CPU
- func (*Holmes_CPU) Descriptor() ([]byte, []int)deprecated
- func (x *Holmes_CPU) GetAbs() int32
- func (x *Holmes_CPU) GetCoolDown() string
- func (x *Holmes_CPU) GetDiff() int32
- func (x *Holmes_CPU) GetMin() int32
- func (*Holmes_CPU) ProtoMessage()
- func (x *Holmes_CPU) ProtoReflect() protoreflect.Message
- func (x *Holmes_CPU) Reset()
- func (x *Holmes_CPU) String() string
- type Holmes_GCHeap
- func (*Holmes_GCHeap) Descriptor() ([]byte, []int)deprecated
- func (x *Holmes_GCHeap) GetAbs() int32
- func (x *Holmes_GCHeap) GetCoolDown() string
- func (x *Holmes_GCHeap) GetDiff() int32
- func (x *Holmes_GCHeap) GetMin() int32
- func (*Holmes_GCHeap) ProtoMessage()
- func (x *Holmes_GCHeap) ProtoReflect() protoreflect.Message
- func (x *Holmes_GCHeap) Reset()
- func (x *Holmes_GCHeap) String() string
- type Holmes_Goroutine
- func (*Holmes_Goroutine) Descriptor() ([]byte, []int)deprecated
- func (x *Holmes_Goroutine) GetAbs() int32
- func (x *Holmes_Goroutine) GetCoolDown() string
- func (x *Holmes_Goroutine) GetDiff() int32
- func (x *Holmes_Goroutine) GetMax() int32
- func (x *Holmes_Goroutine) GetMin() int32
- func (*Holmes_Goroutine) ProtoMessage()
- func (x *Holmes_Goroutine) ProtoReflect() protoreflect.Message
- func (x *Holmes_Goroutine) Reset()
- func (x *Holmes_Goroutine) String() string
- type Holmes_Mem
- func (*Holmes_Mem) Descriptor() ([]byte, []int)deprecated
- func (x *Holmes_Mem) GetAbs() int32
- func (x *Holmes_Mem) GetCoolDown() string
- func (x *Holmes_Mem) GetDiff() int32
- func (x *Holmes_Mem) GetMin() int32
- func (*Holmes_Mem) ProtoMessage()
- func (x *Holmes_Mem) ProtoReflect() protoreflect.Message
- func (x *Holmes_Mem) Reset()
- func (x *Holmes_Mem) String() string
- type Jwt
- func (*Jwt) Descriptor() ([]byte, []int)deprecated
- func (x *Jwt) GetBufferTime() int32
- func (x *Jwt) GetExpiresTime() int32
- func (x *Jwt) GetIssuer() string
- func (x *Jwt) GetSigningKey() string
- func (*Jwt) ProtoMessage()
- func (x *Jwt) ProtoReflect() protoreflect.Message
- func (x *Jwt) Reset()
- func (x *Jwt) String() string
- type Kafka
- type Kafka_Consumer
- func (*Kafka_Consumer) Descriptor() ([]byte, []int)deprecated
- func (x *Kafka_Consumer) GetAddress() []string
- func (x *Kafka_Consumer) GetFunc() []string
- func (x *Kafka_Consumer) GetTopic() string
- func (*Kafka_Consumer) ProtoMessage()
- func (x *Kafka_Consumer) ProtoReflect() protoreflect.Message
- func (x *Kafka_Consumer) Reset()
- func (x *Kafka_Consumer) String() string
- type Kafka_Producer
- func (*Kafka_Producer) Descriptor() ([]byte, []int)deprecated
- func (x *Kafka_Producer) GetAddress() []string
- func (x *Kafka_Producer) GetTopic() string
- func (*Kafka_Producer) ProtoMessage()
- func (x *Kafka_Producer) ProtoReflect() protoreflect.Message
- func (x *Kafka_Producer) Reset()
- func (x *Kafka_Producer) String() string
- type Limiter
- type Server
- type Server_GRPC
- func (*Server_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Server_GRPC) GetAddr() string
- func (x *Server_GRPC) GetNetwork() string
- func (x *Server_GRPC) GetTimeout() string
- func (*Server_GRPC) ProtoMessage()
- func (x *Server_GRPC) ProtoReflect() protoreflect.Message
- func (x *Server_GRPC) Reset()
- func (x *Server_GRPC) String() string
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetAddr() string
- func (x *Server_HTTP) GetNetwork() string
- func (x *Server_HTTP) GetTimeout() string
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
- type Trace
- type Zap
- func (*Zap) Descriptor() ([]byte, []int)deprecated
- func (x *Zap) GetCompress() bool
- func (x *Zap) GetFilename() string
- func (x *Zap) GetFormat() string
- func (x *Zap) GetLevel() string
- func (x *Zap) GetMaxAge() int32
- func (x *Zap) GetMaxBackups() int32
- func (x *Zap) GetMaxSize() int32
- func (*Zap) ProtoMessage()
- func (x *Zap) ProtoReflect() protoreflect.Message
- func (x *Zap) Reset()
- func (x *Zap) String() string
Constants ¶
This section is empty.
Variables ¶
var File_configs_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Captcha ¶
type Captcha struct { Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Length int32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` MaxSkew float32 `protobuf:"fixed32,4,opt,name=maxSkew,proto3" json:"maxSkew,omitempty"` DotCount int32 `protobuf:"varint,5,opt,name=dotCount,proto3" json:"dotCount,omitempty"` // contains filtered or unexported fields }
func (*Captcha) Descriptor
deprecated
func (*Captcha) GetDotCount ¶
func (*Captcha) GetMaxSkew ¶
func (*Captcha) ProtoMessage ¶
func (*Captcha) ProtoMessage()
func (*Captcha) ProtoReflect ¶
func (x *Captcha) ProtoReflect() protoreflect.Message
type Casbin ¶
type Casbin struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Casbin) Descriptor
deprecated
func (*Casbin) ProtoMessage ¶
func (*Casbin) ProtoMessage()
func (*Casbin) ProtoReflect ¶
func (x *Casbin) ProtoReflect() protoreflect.Message
type Conf ¶
type Conf struct { Global *Global `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"` Server *Server `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` Jwt *Jwt `protobuf:"bytes,4,opt,name=jwt,proto3" json:"jwt,omitempty"` Trace *Trace `protobuf:"bytes,5,opt,name=trace,proto3" json:"trace,omitempty"` Zap *Zap `protobuf:"bytes,6,opt,name=zap,proto3" json:"zap,omitempty"` Captcha *Captcha `protobuf:"bytes,7,opt,name=captcha,proto3" json:"captcha,omitempty"` Consul *Consul `protobuf:"bytes,8,opt,name=Consul,proto3" json:"Consul,omitempty"` Casbin *Casbin `protobuf:"bytes,9,opt,name=casbin,proto3" json:"casbin,omitempty"` Limiter *Limiter `protobuf:"bytes,10,opt,name=limiter,proto3" json:"limiter,omitempty"` Cors *Cors `protobuf:"bytes,11,opt,name=cors,proto3" json:"cors,omitempty"` Kafka *Kafka `protobuf:"bytes,12,opt,name=kafka,proto3" json:"kafka,omitempty"` Email *Email `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"` Holmes *Holmes `protobuf:"bytes,14,opt,name=holmes,proto3" json:"holmes,omitempty"` // contains filtered or unexported fields }
func (*Conf) Descriptor
deprecated
func (*Conf) GetCaptcha ¶
func (*Conf) GetLimiter ¶
func (*Conf) ProtoMessage ¶
func (*Conf) ProtoMessage()
func (*Conf) ProtoReflect ¶
func (x *Conf) ProtoReflect() protoreflect.Message
type Consul ¶
type Consul struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"` HealthCheck bool `protobuf:"varint,3,opt,name=healthCheck,proto3" json:"healthCheck,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` Kv *Consul_Kv `protobuf:"bytes,5,opt,name=kv,proto3" json:"kv,omitempty"` Discovery *Consul_Discovery `protobuf:"bytes,6,opt,name=discovery,proto3" json:"discovery,omitempty"` // contains filtered or unexported fields }
func (*Consul) Descriptor
deprecated
func (*Consul) GetDiscovery ¶
func (x *Consul) GetDiscovery() *Consul_Discovery
func (*Consul) GetHealthCheck ¶
func (*Consul) ProtoMessage ¶
func (*Consul) ProtoMessage()
func (*Consul) ProtoReflect ¶
func (x *Consul) ProtoReflect() protoreflect.Message
type Consul_Discovery ¶
type Consul_Discovery struct { GoGrpcLayout string `protobuf:"bytes,1,opt,name=goGrpcLayout,proto3" json:"goGrpcLayout,omitempty"` // contains filtered or unexported fields }
func (*Consul_Discovery) Descriptor
deprecated
func (*Consul_Discovery) Descriptor() ([]byte, []int)
Deprecated: Use Consul_Discovery.ProtoReflect.Descriptor instead.
func (*Consul_Discovery) GetGoGrpcLayout ¶
func (x *Consul_Discovery) GetGoGrpcLayout() string
func (*Consul_Discovery) ProtoMessage ¶
func (*Consul_Discovery) ProtoMessage()
func (*Consul_Discovery) ProtoReflect ¶
func (x *Consul_Discovery) ProtoReflect() protoreflect.Message
func (*Consul_Discovery) Reset ¶
func (x *Consul_Discovery) Reset()
func (*Consul_Discovery) String ¶
func (x *Consul_Discovery) String() string
type Consul_Kv ¶
type Consul_Kv struct { DictPath string `protobuf:"bytes,1,opt,name=dictPath,proto3" json:"dictPath,omitempty"` // contains filtered or unexported fields }
func (*Consul_Kv) Descriptor
deprecated
func (*Consul_Kv) GetDictPath ¶
func (*Consul_Kv) ProtoMessage ¶
func (*Consul_Kv) ProtoMessage()
func (*Consul_Kv) ProtoReflect ¶
func (x *Consul_Kv) ProtoReflect() protoreflect.Message
type Cors ¶
type Cors struct { Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"` Whitelist []*Cors_Whitelist `protobuf:"bytes,2,rep,name=whitelist,proto3" json:"whitelist,omitempty"` // contains filtered or unexported fields }
func (*Cors) Descriptor
deprecated
func (*Cors) GetWhitelist ¶
func (x *Cors) GetWhitelist() []*Cors_Whitelist
func (*Cors) ProtoMessage ¶
func (*Cors) ProtoMessage()
func (*Cors) ProtoReflect ¶
func (x *Cors) ProtoReflect() protoreflect.Message
type Cors_Whitelist ¶
type Cors_Whitelist struct { AllowOrigin string `protobuf:"bytes,1,opt,name=allowOrigin,proto3" json:"allowOrigin,omitempty"` AllowHeaders string `protobuf:"bytes,2,opt,name=allowHeaders,proto3" json:"allowHeaders,omitempty"` AllowMethods string `protobuf:"bytes,3,opt,name=allowMethods,proto3" json:"allowMethods,omitempty"` ExposeHeaders string `protobuf:"bytes,4,opt,name=exposeHeaders,proto3" json:"exposeHeaders,omitempty"` AllowCredentials bool `protobuf:"varint,5,opt,name=allowCredentials,proto3" json:"allowCredentials,omitempty"` // contains filtered or unexported fields }
func (*Cors_Whitelist) Descriptor
deprecated
func (*Cors_Whitelist) Descriptor() ([]byte, []int)
Deprecated: Use Cors_Whitelist.ProtoReflect.Descriptor instead.
func (*Cors_Whitelist) GetAllowCredentials ¶
func (x *Cors_Whitelist) GetAllowCredentials() bool
func (*Cors_Whitelist) GetAllowHeaders ¶
func (x *Cors_Whitelist) GetAllowHeaders() string
func (*Cors_Whitelist) GetAllowMethods ¶
func (x *Cors_Whitelist) GetAllowMethods() string
func (*Cors_Whitelist) GetAllowOrigin ¶
func (x *Cors_Whitelist) GetAllowOrigin() string
func (*Cors_Whitelist) GetExposeHeaders ¶
func (x *Cors_Whitelist) GetExposeHeaders() string
func (*Cors_Whitelist) ProtoMessage ¶
func (*Cors_Whitelist) ProtoMessage()
func (*Cors_Whitelist) ProtoReflect ¶
func (x *Cors_Whitelist) ProtoReflect() protoreflect.Message
func (*Cors_Whitelist) Reset ¶
func (x *Cors_Whitelist) Reset()
func (*Cors_Whitelist) String ¶
func (x *Cors_Whitelist) String() string
type Data ¶
type Data struct { Mysql *Data_Mysql `protobuf:"bytes,1,opt,name=mysql,proto3" json:"mysql,omitempty"` Redis *Data_Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"` Es *Data_ES `protobuf:"bytes,3,opt,name=es,proto3" json:"es,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetMysql ¶
func (x *Data) GetMysql() *Data_Mysql
func (*Data) GetRedis ¶
func (x *Data) GetRedis() *Data_Redis
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_ES ¶
type Data_ES struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*Data_ES) Descriptor
deprecated
func (*Data_ES) GetAddress ¶
func (*Data_ES) GetPassword ¶
func (*Data_ES) GetUsername ¶
func (*Data_ES) ProtoMessage ¶
func (*Data_ES) ProtoMessage()
func (*Data_ES) ProtoReflect ¶
func (x *Data_ES) ProtoReflect() protoreflect.Message
type Data_Mysql ¶
type Data_Mysql struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*Data_Mysql) Descriptor
deprecated
func (*Data_Mysql) Descriptor() ([]byte, []int)
Deprecated: Use Data_Mysql.ProtoReflect.Descriptor instead.
func (*Data_Mysql) GetDriver ¶
func (x *Data_Mysql) GetDriver() string
func (*Data_Mysql) GetSource ¶
func (x *Data_Mysql) GetSource() string
func (*Data_Mysql) ProtoMessage ¶
func (*Data_Mysql) ProtoMessage()
func (*Data_Mysql) ProtoReflect ¶
func (x *Data_Mysql) ProtoReflect() protoreflect.Message
func (*Data_Mysql) Reset ¶
func (x *Data_Mysql) Reset()
func (*Data_Mysql) String ¶
func (x *Data_Mysql) String() string
type Data_Redis ¶
type Data_Redis struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"` DialTimeout string `protobuf:"bytes,5,opt,name=dialTimeout,proto3" json:"dialTimeout,omitempty"` ReadTimeout string `protobuf:"bytes,6,opt,name=readTimeout,proto3" json:"readTimeout,omitempty"` WriteTimeout string `protobuf:"bytes,7,opt,name=writeTimeout,proto3" json:"writeTimeout,omitempty"` // contains filtered or unexported fields }
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() string
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() string
func (*Data_Redis) GetWriteTimeout ¶
func (x *Data_Redis) GetWriteTimeout() string
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
type Email ¶
type Email struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` IsSsl bool `protobuf:"varint,5,opt,name=isSsl,proto3" json:"isSsl,omitempty"` Secret string `protobuf:"bytes,6,opt,name=secret,proto3" json:"secret,omitempty"` Topics []*Email_Topics `protobuf:"bytes,7,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
func (*Email) Descriptor
deprecated
func (*Email) GetNickname ¶
func (*Email) GetTopics ¶
func (x *Email) GetTopics() []*Email_Topics
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) ProtoReflect ¶
func (x *Email) ProtoReflect() protoreflect.Message
type Email_Topics ¶
type Email_Topics struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` To []string `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*Email_Topics) Descriptor
deprecated
func (*Email_Topics) Descriptor() ([]byte, []int)
Deprecated: Use Email_Topics.ProtoReflect.Descriptor instead.
func (*Email_Topics) GetName ¶
func (x *Email_Topics) GetName() string
func (*Email_Topics) GetSubject ¶
func (x *Email_Topics) GetSubject() string
func (*Email_Topics) GetTo ¶
func (x *Email_Topics) GetTo() []string
func (*Email_Topics) ProtoMessage ¶
func (*Email_Topics) ProtoMessage()
func (*Email_Topics) ProtoReflect ¶
func (x *Email_Topics) ProtoReflect() protoreflect.Message
func (*Email_Topics) Reset ¶
func (x *Email_Topics) Reset()
func (*Email_Topics) String ¶
func (x *Email_Topics) String() string
type Global ¶
type Global struct { AppName string `protobuf:"bytes,1,opt,name=appName,proto3" json:"appName,omitempty"` Env string `protobuf:"bytes,2,opt,name=env,proto3" json:"env,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Global) Descriptor
deprecated
func (*Global) GetAppName ¶
func (*Global) GetVersion ¶
func (*Global) ProtoMessage ¶
func (*Global) ProtoMessage()
func (*Global) ProtoReflect ¶
func (x *Global) ProtoReflect() protoreflect.Message
type Holmes ¶
type Holmes struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` CollectInterval string `protobuf:"bytes,3,opt,name=collectInterval,proto3" json:"collectInterval,omitempty"` CPU *Holmes_CPU `protobuf:"bytes,4,opt,name=cPU,proto3" json:"cPU,omitempty"` Mem *Holmes_Mem `protobuf:"bytes,5,opt,name=mem,proto3" json:"mem,omitempty"` GCHeap *Holmes_GCHeap `protobuf:"bytes,6,opt,name=gCHeap,proto3" json:"gCHeap,omitempty"` Goroutine *Holmes_Goroutine `protobuf:"bytes,7,opt,name=goroutine,proto3" json:"goroutine,omitempty"` // contains filtered or unexported fields }
func (*Holmes) Descriptor
deprecated
func (*Holmes) GetCPU ¶
func (x *Holmes) GetCPU() *Holmes_CPU
func (*Holmes) GetCollectInterval ¶
func (*Holmes) GetGCHeap ¶
func (x *Holmes) GetGCHeap() *Holmes_GCHeap
func (*Holmes) GetGoroutine ¶
func (x *Holmes) GetGoroutine() *Holmes_Goroutine
func (*Holmes) GetMem ¶
func (x *Holmes) GetMem() *Holmes_Mem
func (*Holmes) ProtoMessage ¶
func (*Holmes) ProtoMessage()
func (*Holmes) ProtoReflect ¶
func (x *Holmes) ProtoReflect() protoreflect.Message
type Holmes_CPU ¶
type Holmes_CPU struct { Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` Diff int32 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"` Abs int32 `protobuf:"varint,3,opt,name=abs,proto3" json:"abs,omitempty"` CoolDown string `protobuf:"bytes,4,opt,name=coolDown,proto3" json:"coolDown,omitempty"` // contains filtered or unexported fields }
func (*Holmes_CPU) Descriptor
deprecated
func (*Holmes_CPU) Descriptor() ([]byte, []int)
Deprecated: Use Holmes_CPU.ProtoReflect.Descriptor instead.
func (*Holmes_CPU) GetAbs ¶
func (x *Holmes_CPU) GetAbs() int32
func (*Holmes_CPU) GetCoolDown ¶
func (x *Holmes_CPU) GetCoolDown() string
func (*Holmes_CPU) GetDiff ¶
func (x *Holmes_CPU) GetDiff() int32
func (*Holmes_CPU) GetMin ¶
func (x *Holmes_CPU) GetMin() int32
func (*Holmes_CPU) ProtoMessage ¶
func (*Holmes_CPU) ProtoMessage()
func (*Holmes_CPU) ProtoReflect ¶
func (x *Holmes_CPU) ProtoReflect() protoreflect.Message
func (*Holmes_CPU) Reset ¶
func (x *Holmes_CPU) Reset()
func (*Holmes_CPU) String ¶
func (x *Holmes_CPU) String() string
type Holmes_GCHeap ¶
type Holmes_GCHeap struct { Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` Diff int32 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"` Abs int32 `protobuf:"varint,3,opt,name=abs,proto3" json:"abs,omitempty"` CoolDown string `protobuf:"bytes,4,opt,name=coolDown,proto3" json:"coolDown,omitempty"` // contains filtered or unexported fields }
func (*Holmes_GCHeap) Descriptor
deprecated
func (*Holmes_GCHeap) Descriptor() ([]byte, []int)
Deprecated: Use Holmes_GCHeap.ProtoReflect.Descriptor instead.
func (*Holmes_GCHeap) GetAbs ¶
func (x *Holmes_GCHeap) GetAbs() int32
func (*Holmes_GCHeap) GetCoolDown ¶
func (x *Holmes_GCHeap) GetCoolDown() string
func (*Holmes_GCHeap) GetDiff ¶
func (x *Holmes_GCHeap) GetDiff() int32
func (*Holmes_GCHeap) GetMin ¶
func (x *Holmes_GCHeap) GetMin() int32
func (*Holmes_GCHeap) ProtoMessage ¶
func (*Holmes_GCHeap) ProtoMessage()
func (*Holmes_GCHeap) ProtoReflect ¶
func (x *Holmes_GCHeap) ProtoReflect() protoreflect.Message
func (*Holmes_GCHeap) Reset ¶
func (x *Holmes_GCHeap) Reset()
func (*Holmes_GCHeap) String ¶
func (x *Holmes_GCHeap) String() string
type Holmes_Goroutine ¶
type Holmes_Goroutine struct { Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` Diff int32 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"` Abs int32 `protobuf:"varint,3,opt,name=abs,proto3" json:"abs,omitempty"` Max int32 `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"` CoolDown string `protobuf:"bytes,5,opt,name=coolDown,proto3" json:"coolDown,omitempty"` // contains filtered or unexported fields }
func (*Holmes_Goroutine) Descriptor
deprecated
func (*Holmes_Goroutine) Descriptor() ([]byte, []int)
Deprecated: Use Holmes_Goroutine.ProtoReflect.Descriptor instead.
func (*Holmes_Goroutine) GetAbs ¶
func (x *Holmes_Goroutine) GetAbs() int32
func (*Holmes_Goroutine) GetCoolDown ¶
func (x *Holmes_Goroutine) GetCoolDown() string
func (*Holmes_Goroutine) GetDiff ¶
func (x *Holmes_Goroutine) GetDiff() int32
func (*Holmes_Goroutine) GetMax ¶
func (x *Holmes_Goroutine) GetMax() int32
func (*Holmes_Goroutine) GetMin ¶
func (x *Holmes_Goroutine) GetMin() int32
func (*Holmes_Goroutine) ProtoMessage ¶
func (*Holmes_Goroutine) ProtoMessage()
func (*Holmes_Goroutine) ProtoReflect ¶
func (x *Holmes_Goroutine) ProtoReflect() protoreflect.Message
func (*Holmes_Goroutine) Reset ¶
func (x *Holmes_Goroutine) Reset()
func (*Holmes_Goroutine) String ¶
func (x *Holmes_Goroutine) String() string
type Holmes_Mem ¶
type Holmes_Mem struct { Min int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` Diff int32 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"` Abs int32 `protobuf:"varint,3,opt,name=abs,proto3" json:"abs,omitempty"` CoolDown string `protobuf:"bytes,4,opt,name=coolDown,proto3" json:"coolDown,omitempty"` // contains filtered or unexported fields }
func (*Holmes_Mem) Descriptor
deprecated
func (*Holmes_Mem) Descriptor() ([]byte, []int)
Deprecated: Use Holmes_Mem.ProtoReflect.Descriptor instead.
func (*Holmes_Mem) GetAbs ¶
func (x *Holmes_Mem) GetAbs() int32
func (*Holmes_Mem) GetCoolDown ¶
func (x *Holmes_Mem) GetCoolDown() string
func (*Holmes_Mem) GetDiff ¶
func (x *Holmes_Mem) GetDiff() int32
func (*Holmes_Mem) GetMin ¶
func (x *Holmes_Mem) GetMin() int32
func (*Holmes_Mem) ProtoMessage ¶
func (*Holmes_Mem) ProtoMessage()
func (*Holmes_Mem) ProtoReflect ¶
func (x *Holmes_Mem) ProtoReflect() protoreflect.Message
func (*Holmes_Mem) Reset ¶
func (x *Holmes_Mem) Reset()
func (*Holmes_Mem) String ¶
func (x *Holmes_Mem) String() string
type Jwt ¶
type Jwt struct { SigningKey string `protobuf:"bytes,1,opt,name=signingKey,proto3" json:"signingKey,omitempty"` ExpiresTime int32 `protobuf:"varint,2,opt,name=expiresTime,proto3" json:"expiresTime,omitempty"` BufferTime int32 `protobuf:"varint,3,opt,name=bufferTime,proto3" json:"bufferTime,omitempty"` Issuer string `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"` // contains filtered or unexported fields }
func (*Jwt) Descriptor
deprecated
func (*Jwt) GetBufferTime ¶
func (*Jwt) GetExpiresTime ¶
func (*Jwt) GetSigningKey ¶
func (*Jwt) ProtoMessage ¶
func (*Jwt) ProtoMessage()
func (*Jwt) ProtoReflect ¶
func (x *Jwt) ProtoReflect() protoreflect.Message
type Kafka ¶
type Kafka struct { Producer []*Kafka_Producer `protobuf:"bytes,1,rep,name=producer,proto3" json:"producer,omitempty"` Consumer []*Kafka_Consumer `protobuf:"bytes,2,rep,name=consumer,proto3" json:"consumer,omitempty"` // contains filtered or unexported fields }
func (*Kafka) Descriptor
deprecated
func (*Kafka) GetConsumer ¶
func (x *Kafka) GetConsumer() []*Kafka_Consumer
func (*Kafka) GetProducer ¶
func (x *Kafka) GetProducer() []*Kafka_Producer
func (*Kafka) ProtoMessage ¶
func (*Kafka) ProtoMessage()
func (*Kafka) ProtoReflect ¶
func (x *Kafka) ProtoReflect() protoreflect.Message
type Kafka_Consumer ¶
type Kafka_Consumer struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Address []string `protobuf:"bytes,2,rep,name=address,proto3" json:"address,omitempty"` Func []string `protobuf:"bytes,3,rep,name=func,proto3" json:"func,omitempty"` // contains filtered or unexported fields }
func (*Kafka_Consumer) Descriptor
deprecated
func (*Kafka_Consumer) Descriptor() ([]byte, []int)
Deprecated: Use Kafka_Consumer.ProtoReflect.Descriptor instead.
func (*Kafka_Consumer) GetAddress ¶
func (x *Kafka_Consumer) GetAddress() []string
func (*Kafka_Consumer) GetFunc ¶
func (x *Kafka_Consumer) GetFunc() []string
func (*Kafka_Consumer) GetTopic ¶
func (x *Kafka_Consumer) GetTopic() string
func (*Kafka_Consumer) ProtoMessage ¶
func (*Kafka_Consumer) ProtoMessage()
func (*Kafka_Consumer) ProtoReflect ¶
func (x *Kafka_Consumer) ProtoReflect() protoreflect.Message
func (*Kafka_Consumer) Reset ¶
func (x *Kafka_Consumer) Reset()
func (*Kafka_Consumer) String ¶
func (x *Kafka_Consumer) String() string
type Kafka_Producer ¶
type Kafka_Producer struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Address []string `protobuf:"bytes,2,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Kafka_Producer) Descriptor
deprecated
func (*Kafka_Producer) Descriptor() ([]byte, []int)
Deprecated: Use Kafka_Producer.ProtoReflect.Descriptor instead.
func (*Kafka_Producer) GetAddress ¶
func (x *Kafka_Producer) GetAddress() []string
func (*Kafka_Producer) GetTopic ¶
func (x *Kafka_Producer) GetTopic() string
func (*Kafka_Producer) ProtoMessage ¶
func (*Kafka_Producer) ProtoMessage()
func (*Kafka_Producer) ProtoReflect ¶
func (x *Kafka_Producer) ProtoReflect() protoreflect.Message
func (*Kafka_Producer) Reset ¶
func (x *Kafka_Producer) Reset()
func (*Kafka_Producer) String ¶
func (x *Kafka_Producer) String() string
type Limiter ¶
type Limiter struct { Rate int32 `protobuf:"varint,1,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*Limiter) Descriptor
deprecated
func (*Limiter) ProtoMessage ¶
func (*Limiter) ProtoMessage()
func (*Limiter) ProtoReflect ¶
func (x *Limiter) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { 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"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetGrpc ¶
func (x *Server) GetGrpc() *Server_GRPC
func (*Server) GetHttp ¶
func (x *Server) GetHttp() *Server_HTTP
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
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 string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
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) GetNetwork ¶
func (x *Server_GRPC) GetNetwork() string
func (*Server_GRPC) GetTimeout ¶
func (x *Server_GRPC) GetTimeout() string
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
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 string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
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) GetNetwork ¶
func (x *Server_HTTP) GetNetwork() string
func (*Server_HTTP) GetTimeout ¶
func (x *Server_HTTP) GetTimeout() string
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
type Trace ¶
type Trace struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Trace) Descriptor
deprecated
func (*Trace) GetEndpoint ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
type Zap ¶
type Zap struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` MaxSize int32 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` MaxBackups int32 `protobuf:"varint,5,opt,name=maxBackups,proto3" json:"maxBackups,omitempty"` MaxAge int32 `protobuf:"varint,6,opt,name=maxAge,proto3" json:"maxAge,omitempty"` Compress bool `protobuf:"varint,7,opt,name=compress,proto3" json:"compress,omitempty"` // contains filtered or unexported fields }
func (*Zap) Descriptor
deprecated
func (*Zap) GetCompress ¶
func (*Zap) GetFilename ¶
func (*Zap) GetMaxBackups ¶
func (*Zap) GetMaxSize ¶
func (*Zap) ProtoMessage ¶
func (*Zap) ProtoMessage()
func (*Zap) ProtoReflect ¶
func (x *Zap) ProtoReflect() protoreflect.Message