conf

package
v0.0.0-...-a3cb3ec Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Captcha.ProtoReflect.Descriptor instead.

func (*Captcha) GetDotCount

func (x *Captcha) GetDotCount() int32

func (*Captcha) GetHeight

func (x *Captcha) GetHeight() int32

func (*Captcha) GetLength

func (x *Captcha) GetLength() int32

func (*Captcha) GetMaxSkew

func (x *Captcha) GetMaxSkew() float32

func (*Captcha) GetWidth

func (x *Captcha) GetWidth() int32

func (*Captcha) ProtoMessage

func (*Captcha) ProtoMessage()

func (*Captcha) ProtoReflect

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

func (*Captcha) Reset

func (x *Captcha) Reset()

func (*Captcha) String

func (x *Captcha) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Casbin.ProtoReflect.Descriptor instead.

func (*Casbin) GetPath

func (x *Casbin) GetPath() string

func (*Casbin) ProtoMessage

func (*Casbin) ProtoMessage()

func (*Casbin) ProtoReflect

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

func (*Casbin) Reset

func (x *Casbin) Reset()

func (*Casbin) String

func (x *Casbin) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Conf.ProtoReflect.Descriptor instead.

func (*Conf) GetCaptcha

func (x *Conf) GetCaptcha() *Captcha

func (*Conf) GetCasbin

func (x *Conf) GetCasbin() *Casbin

func (*Conf) GetConsul

func (x *Conf) GetConsul() *Consul

func (*Conf) GetCors

func (x *Conf) GetCors() *Cors

func (*Conf) GetData

func (x *Conf) GetData() *Data

func (*Conf) GetEmail

func (x *Conf) GetEmail() *Email

func (*Conf) GetGlobal

func (x *Conf) GetGlobal() *Global

func (*Conf) GetHolmes

func (x *Conf) GetHolmes() *Holmes

func (*Conf) GetJwt

func (x *Conf) GetJwt() *Jwt

func (*Conf) GetKafka

func (x *Conf) GetKafka() *Kafka

func (*Conf) GetLimiter

func (x *Conf) GetLimiter() *Limiter

func (*Conf) GetServer

func (x *Conf) GetServer() *Server

func (*Conf) GetTrace

func (x *Conf) GetTrace() *Trace

func (*Conf) GetZap

func (x *Conf) GetZap() *Zap

func (*Conf) ProtoMessage

func (*Conf) ProtoMessage()

func (*Conf) ProtoReflect

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

func (*Conf) Reset

func (x *Conf) Reset()

func (*Conf) String

func (x *Conf) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Consul.ProtoReflect.Descriptor instead.

func (*Consul) GetDiscovery

func (x *Consul) GetDiscovery() *Consul_Discovery

func (*Consul) GetHealthCheck

func (x *Consul) GetHealthCheck() bool

func (*Consul) GetHost

func (x *Consul) GetHost() string

func (*Consul) GetKv

func (x *Consul) GetKv() *Consul_Kv

func (*Consul) GetScheme

func (x *Consul) GetScheme() string

func (*Consul) GetToken

func (x *Consul) GetToken() string

func (*Consul) ProtoMessage

func (*Consul) ProtoMessage()

func (*Consul) ProtoReflect

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

func (*Consul) Reset

func (x *Consul) Reset()

func (*Consul) String

func (x *Consul) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Consul_Kv.ProtoReflect.Descriptor instead.

func (*Consul_Kv) GetDictPath

func (x *Consul_Kv) GetDictPath() string

func (*Consul_Kv) ProtoMessage

func (*Consul_Kv) ProtoMessage()

func (*Consul_Kv) ProtoReflect

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

func (*Consul_Kv) Reset

func (x *Consul_Kv) Reset()

func (*Consul_Kv) String

func (x *Consul_Kv) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Cors.ProtoReflect.Descriptor instead.

func (*Cors) GetMode

func (x *Cors) GetMode() string

func (*Cors) GetWhitelist

func (x *Cors) GetWhitelist() []*Cors_Whitelist

func (*Cors) ProtoMessage

func (*Cors) ProtoMessage()

func (*Cors) ProtoReflect

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

func (*Cors) Reset

func (x *Cors) Reset()

func (*Cors) String

func (x *Cors) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetEs

func (x *Data) GetEs() *Data_ES

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Data_ES.ProtoReflect.Descriptor instead.

func (*Data_ES) GetAddress

func (x *Data_ES) GetAddress() []string

func (*Data_ES) GetPassword

func (x *Data_ES) GetPassword() string

func (*Data_ES) GetUsername

func (x *Data_ES) GetUsername() string

func (*Data_ES) ProtoMessage

func (*Data_ES) ProtoMessage()

func (*Data_ES) ProtoReflect

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

func (*Data_ES) Reset

func (x *Data_ES) Reset()

func (*Data_ES) String

func (x *Data_ES) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetFrom

func (x *Email) GetFrom() string

func (*Email) GetHost

func (x *Email) GetHost() string

func (*Email) GetIsSsl

func (x *Email) GetIsSsl() bool

func (*Email) GetNickname

func (x *Email) GetNickname() string

func (*Email) GetPort

func (x *Email) GetPort() int32

func (*Email) GetSecret

func (x *Email) GetSecret() string

func (*Email) GetTopics

func (x *Email) GetTopics() []*Email_Topics

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

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

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Global.ProtoReflect.Descriptor instead.

func (*Global) GetAppName

func (x *Global) GetAppName() string

func (*Global) GetEnv

func (x *Global) GetEnv() string

func (*Global) GetId

func (x *Global) GetId() string

func (*Global) GetVersion

func (x *Global) GetVersion() string

func (*Global) ProtoMessage

func (*Global) ProtoMessage()

func (*Global) ProtoReflect

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

func (*Global) Reset

func (x *Global) Reset()

func (*Global) String

func (x *Global) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Holmes.ProtoReflect.Descriptor instead.

func (*Holmes) GetCPU

func (x *Holmes) GetCPU() *Holmes_CPU

func (*Holmes) GetCollectInterval

func (x *Holmes) GetCollectInterval() string

func (*Holmes) GetGCHeap

func (x *Holmes) GetGCHeap() *Holmes_GCHeap

func (*Holmes) GetGoroutine

func (x *Holmes) GetGoroutine() *Holmes_Goroutine

func (*Holmes) GetLog

func (x *Holmes) GetLog() string

func (*Holmes) GetMem

func (x *Holmes) GetMem() *Holmes_Mem

func (*Holmes) GetPath

func (x *Holmes) GetPath() string

func (*Holmes) ProtoMessage

func (*Holmes) ProtoMessage()

func (*Holmes) ProtoReflect

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

func (*Holmes) Reset

func (x *Holmes) Reset()

func (*Holmes) String

func (x *Holmes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Jwt.ProtoReflect.Descriptor instead.

func (*Jwt) GetBufferTime

func (x *Jwt) GetBufferTime() int32

func (*Jwt) GetExpiresTime

func (x *Jwt) GetExpiresTime() int32

func (*Jwt) GetIssuer

func (x *Jwt) GetIssuer() string

func (*Jwt) GetSigningKey

func (x *Jwt) GetSigningKey() string

func (*Jwt) ProtoMessage

func (*Jwt) ProtoMessage()

func (*Jwt) ProtoReflect

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

func (*Jwt) Reset

func (x *Jwt) Reset()

func (*Jwt) String

func (x *Jwt) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Kafka.ProtoReflect.Descriptor instead.

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

func (*Kafka) Reset

func (x *Kafka) Reset()

func (*Kafka) String

func (x *Kafka) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Limiter.ProtoReflect.Descriptor instead.

func (*Limiter) GetRate

func (x *Limiter) GetRate() int32

func (*Limiter) ProtoMessage

func (*Limiter) ProtoMessage()

func (*Limiter) ProtoReflect

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

func (*Limiter) Reset

func (x *Limiter) Reset()

func (*Limiter) String

func (x *Limiter) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetEndpoint

func (x *Trace) GetEndpoint() string

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

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

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Zap.ProtoReflect.Descriptor instead.

func (*Zap) GetCompress

func (x *Zap) GetCompress() bool

func (*Zap) GetFilename

func (x *Zap) GetFilename() string

func (*Zap) GetFormat

func (x *Zap) GetFormat() string

func (*Zap) GetLevel

func (x *Zap) GetLevel() string

func (*Zap) GetMaxAge

func (x *Zap) GetMaxAge() int32

func (*Zap) GetMaxBackups

func (x *Zap) GetMaxBackups() int32

func (*Zap) GetMaxSize

func (x *Zap) GetMaxSize() int32

func (*Zap) ProtoMessage

func (*Zap) ProtoMessage()

func (*Zap) ProtoReflect

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

func (*Zap) Reset

func (x *Zap) Reset()

func (*Zap) String

func (x *Zap) String() string

Jump to

Keyboard shortcuts

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