Documentation ¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetEnv() string
- func (x *Bootstrap) GetLog() *Log
- func (x *Bootstrap) GetServer() *Server
- func (x *Bootstrap) GetThirdParty() *ThirdParty
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetDatabase() map[string]*Data_Database
- func (x *Data) GetFacade() *Data_Facade
- func (x *Data) GetRedis() *Data_Redis
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetDsn() string
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- type Data_Facade
- func (*Data_Facade) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Facade) GetAppServer() string
- func (x *Data_Facade) GetDatacenterServer() string
- func (x *Data_Facade) GetFormServer() string
- func (x *Data_Facade) GetGoPermissionServer() string
- func (x *Data_Facade) GetGoPushServer() string
- func (x *Data_Facade) GetMsgsvcServer() string
- func (x *Data_Facade) GetPermissionServer() string
- func (x *Data_Facade) GetProjectServer() string
- func (x *Data_Facade) GetUsercenterServer() string
- func (*Data_Facade) ProtoMessage()
- func (x *Data_Facade) ProtoReflect() protoreflect.Message
- func (x *Data_Facade) Reset()
- func (x *Data_Facade) String() string
- 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) GetIsSentinel() bool
- func (x *Data_Redis) GetMasterName() string
- func (x *Data_Redis) GetNetwork() string
- func (x *Data_Redis) GetPassword() string
- func (x *Data_Redis) GetReadTimeout() *durationpb.Duration
- func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration
- func (*Data_Redis) ProtoMessage()
- func (x *Data_Redis) ProtoReflect() protoreflect.Message
- func (x *Data_Redis) Reset()
- func (x *Data_Redis) String() string
- type Log
- 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() *durationpb.Duration
- 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() *durationpb.Duration
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
- type ThirdParty
- func (*ThirdParty) Descriptor() ([]byte, []int)deprecated
- func (x *ThirdParty) GetJaeger() *ThirdParty_Jaeger
- func (x *ThirdParty) GetSentry() *ThirdParty_Sentry
- func (*ThirdParty) ProtoMessage()
- func (x *ThirdParty) ProtoReflect() protoreflect.Message
- func (x *ThirdParty) Reset()
- func (x *ThirdParty) String() string
- type ThirdParty_Jaeger
- func (*ThirdParty_Jaeger) Descriptor() ([]byte, []int)deprecated
- func (x *ThirdParty_Jaeger) GetHttpEndpoint() string
- func (x *ThirdParty_Jaeger) GetSamplerParam() float32
- func (x *ThirdParty_Jaeger) GetSamplerType() string
- func (x *ThirdParty_Jaeger) GetTraceService() string
- func (x *ThirdParty_Jaeger) GetUdpAddress() string
- func (*ThirdParty_Jaeger) ProtoMessage()
- func (x *ThirdParty_Jaeger) ProtoReflect() protoreflect.Message
- func (x *ThirdParty_Jaeger) Reset()
- func (x *ThirdParty_Jaeger) String() string
- type ThirdParty_Sentry
Constants ¶
This section is empty.
Variables ¶
View Source
var File_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct { Env string `protobuf:"bytes,1,opt,name=env,proto3" json:"env,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"` ThirdParty *ThirdParty `protobuf:"bytes,4,opt,name=third_party,json=thirdParty,proto3" json:"third_party,omitempty"` Log *Log `protobuf:"bytes,5,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetThirdParty ¶
func (x *Bootstrap) GetThirdParty() *ThirdParty
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Redis *Data_Redis `protobuf:"bytes,1,opt,name=redis,proto3" json:"redis,omitempty"` Database map[string]*Data_Database `` /* 157-byte string literal not displayed */ Facade *Data_Facade `protobuf:"bytes,3,opt,name=facade,proto3" json:"facade,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() map[string]*Data_Database
func (*Data) GetFacade ¶
func (x *Data) GetFacade() *Data_Facade
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_Database ¶
type Data_Database struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Dsn string `protobuf:"bytes,2,opt,name=dsn,proto3" json:"dsn,omitempty"` // contains filtered or unexported fields }
func (*Data_Database) Descriptor
deprecated
func (*Data_Database) Descriptor() ([]byte, []int)
Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
func (*Data_Database) GetDriver ¶
func (x *Data_Database) GetDriver() string
func (*Data_Database) GetDsn ¶
func (x *Data_Database) GetDsn() 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
type Data_Facade ¶
type Data_Facade struct { AppServer string `protobuf:"bytes,1,opt,name=app_server,json=appServer,proto3" json:"app_server,omitempty"` DatacenterServer string `protobuf:"bytes,2,opt,name=datacenter_server,json=datacenterServer,proto3" json:"datacenter_server,omitempty"` FormServer string `protobuf:"bytes,3,opt,name=form_server,json=formServer,proto3" json:"form_server,omitempty"` PermissionServer string `protobuf:"bytes,4,opt,name=permission_server,json=permissionServer,proto3" json:"permission_server,omitempty"` UsercenterServer string `protobuf:"bytes,5,opt,name=usercenter_server,json=usercenterServer,proto3" json:"usercenter_server,omitempty"` MsgsvcServer string `protobuf:"bytes,6,opt,name=msgsvc_server,json=msgsvcServer,proto3" json:"msgsvc_server,omitempty"` GoPermissionServer string `protobuf:"bytes,7,opt,name=go_permission_server,json=goPermissionServer,proto3" json:"go_permission_server,omitempty"` GoPushServer string `protobuf:"bytes,8,opt,name=go_push_server,json=goPushServer,proto3" json:"go_push_server,omitempty"` ProjectServer string `protobuf:"bytes,9,opt,name=project_server,json=projectServer,proto3" json:"project_server,omitempty"` // contains filtered or unexported fields }
func (*Data_Facade) Descriptor
deprecated
func (*Data_Facade) Descriptor() ([]byte, []int)
Deprecated: Use Data_Facade.ProtoReflect.Descriptor instead.
func (*Data_Facade) GetAppServer ¶
func (x *Data_Facade) GetAppServer() string
func (*Data_Facade) GetDatacenterServer ¶
func (x *Data_Facade) GetDatacenterServer() string
func (*Data_Facade) GetFormServer ¶
func (x *Data_Facade) GetFormServer() string
func (*Data_Facade) GetGoPermissionServer ¶
func (x *Data_Facade) GetGoPermissionServer() string
func (*Data_Facade) GetGoPushServer ¶
func (x *Data_Facade) GetGoPushServer() string
func (*Data_Facade) GetMsgsvcServer ¶
func (x *Data_Facade) GetMsgsvcServer() string
func (*Data_Facade) GetPermissionServer ¶
func (x *Data_Facade) GetPermissionServer() string
func (*Data_Facade) GetProjectServer ¶
func (x *Data_Facade) GetProjectServer() string
func (*Data_Facade) GetUsercenterServer ¶
func (x *Data_Facade) GetUsercenterServer() string
func (*Data_Facade) ProtoMessage ¶
func (*Data_Facade) ProtoMessage()
func (*Data_Facade) ProtoReflect ¶
func (x *Data_Facade) ProtoReflect() protoreflect.Message
func (*Data_Facade) Reset ¶
func (x *Data_Facade) Reset()
func (*Data_Facade) String ¶
func (x *Data_Facade) 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"` ReadTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` Db int32 `protobuf:"varint,6,opt,name=db,proto3" json:"db,omitempty"` IsSentinel bool `protobuf:"varint,7,opt,name=is_sentinel,json=isSentinel,proto3" json:"is_sentinel,omitempty"` MasterName string `protobuf:"bytes,8,opt,name=master_name,json=masterName,proto3" json:"master_name,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) GetIsSentinel ¶
func (x *Data_Redis) GetIsSentinel() bool
func (*Data_Redis) GetMasterName ¶
func (x *Data_Redis) GetMasterName() 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() *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
type Log ¶
type Log struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) 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 *durationpb.Duration `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() *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
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"` // 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() *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
type ThirdParty ¶
type ThirdParty struct { Sentry *ThirdParty_Sentry `protobuf:"bytes,1,opt,name=sentry,proto3" json:"sentry,omitempty"` Jaeger *ThirdParty_Jaeger `protobuf:"bytes,2,opt,name=jaeger,proto3" json:"jaeger,omitempty"` // contains filtered or unexported fields }
func (*ThirdParty) Descriptor
deprecated
func (*ThirdParty) Descriptor() ([]byte, []int)
Deprecated: Use ThirdParty.ProtoReflect.Descriptor instead.
func (*ThirdParty) GetJaeger ¶
func (x *ThirdParty) GetJaeger() *ThirdParty_Jaeger
func (*ThirdParty) GetSentry ¶
func (x *ThirdParty) GetSentry() *ThirdParty_Sentry
func (*ThirdParty) ProtoMessage ¶
func (*ThirdParty) ProtoMessage()
func (*ThirdParty) ProtoReflect ¶
func (x *ThirdParty) ProtoReflect() protoreflect.Message
func (*ThirdParty) Reset ¶
func (x *ThirdParty) Reset()
func (*ThirdParty) String ¶
func (x *ThirdParty) String() string
type ThirdParty_Jaeger ¶
type ThirdParty_Jaeger struct { HttpEndpoint string `protobuf:"bytes,1,opt,name=http_endpoint,json=httpEndpoint,proto3" json:"http_endpoint,omitempty"` UdpAddress string `protobuf:"bytes,2,opt,name=udp_address,json=udpAddress,proto3" json:"udp_address,omitempty"` TraceService string `protobuf:"bytes,3,opt,name=trace_service,json=traceService,proto3" json:"trace_service,omitempty"` SamplerType string `protobuf:"bytes,4,opt,name=sampler_type,json=samplerType,proto3" json:"sampler_type,omitempty"` SamplerParam float32 `protobuf:"fixed32,5,opt,name=sampler_param,json=samplerParam,proto3" json:"sampler_param,omitempty"` // contains filtered or unexported fields }
func (*ThirdParty_Jaeger) Descriptor
deprecated
func (*ThirdParty_Jaeger) Descriptor() ([]byte, []int)
Deprecated: Use ThirdParty_Jaeger.ProtoReflect.Descriptor instead.
func (*ThirdParty_Jaeger) GetHttpEndpoint ¶
func (x *ThirdParty_Jaeger) GetHttpEndpoint() string
func (*ThirdParty_Jaeger) GetSamplerParam ¶
func (x *ThirdParty_Jaeger) GetSamplerParam() float32
func (*ThirdParty_Jaeger) GetSamplerType ¶
func (x *ThirdParty_Jaeger) GetSamplerType() string
func (*ThirdParty_Jaeger) GetTraceService ¶
func (x *ThirdParty_Jaeger) GetTraceService() string
func (*ThirdParty_Jaeger) GetUdpAddress ¶
func (x *ThirdParty_Jaeger) GetUdpAddress() string
func (*ThirdParty_Jaeger) ProtoMessage ¶
func (*ThirdParty_Jaeger) ProtoMessage()
func (*ThirdParty_Jaeger) ProtoReflect ¶
func (x *ThirdParty_Jaeger) ProtoReflect() protoreflect.Message
func (*ThirdParty_Jaeger) Reset ¶
func (x *ThirdParty_Jaeger) Reset()
func (*ThirdParty_Jaeger) String ¶
func (x *ThirdParty_Jaeger) String() string
type ThirdParty_Sentry ¶
type ThirdParty_Sentry struct { Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // contains filtered or unexported fields }
func (*ThirdParty_Sentry) Descriptor
deprecated
func (*ThirdParty_Sentry) Descriptor() ([]byte, []int)
Deprecated: Use ThirdParty_Sentry.ProtoReflect.Descriptor instead.
func (*ThirdParty_Sentry) GetDsn ¶
func (x *ThirdParty_Sentry) GetDsn() string
func (*ThirdParty_Sentry) ProtoMessage ¶
func (*ThirdParty_Sentry) ProtoMessage()
func (*ThirdParty_Sentry) ProtoReflect ¶
func (x *ThirdParty_Sentry) ProtoReflect() protoreflect.Message
func (*ThirdParty_Sentry) Reset ¶
func (x *ThirdParty_Sentry) Reset()
func (*ThirdParty_Sentry) String ¶
func (x *ThirdParty_Sentry) String() string
Click to show internal directories.
Click to hide internal directories.