Versions in this module Expand all Collapse all v0 v0.1.3 Nov 16, 2023 Changes in this version + var File_conf_conf_proto protoreflect.FileDescriptor + type Bootstrap struct + Data *Data + Env *Env + Oss *Oss + Server *Server + Service *Service + Trace *Trace + func (*Bootstrap) Descriptor() ([]byte, []int) + func (*Bootstrap) ProtoMessage() + func (x *Bootstrap) GetData() *Data + func (x *Bootstrap) GetEnv() *Env + func (x *Bootstrap) GetOss() *Oss + func (x *Bootstrap) GetServer() *Server + func (x *Bootstrap) GetService() *Service + func (x *Bootstrap) GetTrace() *Trace + func (x *Bootstrap) ProtoReflect() protoreflect.Message + func (x *Bootstrap) Reset() + func (x *Bootstrap) String() string + type Data struct + Database *Data_Database + Redis *Data_Redis + func (*Data) Descriptor() ([]byte, []int) + func (*Data) ProtoMessage() + func (x *Data) GetDatabase() *Data_Database + func (x *Data) GetRedis() *Data_Redis + func (x *Data) ProtoReflect() protoreflect.Message + func (x *Data) Reset() + func (x *Data) String() string + type Data_Database struct + Driver string + Source string + func (*Data_Database) Descriptor() ([]byte, []int) + func (*Data_Database) ProtoMessage() + func (x *Data_Database) GetDriver() string + func (x *Data_Database) GetSource() string + func (x *Data_Database) ProtoReflect() protoreflect.Message + func (x *Data_Database) Reset() + func (x *Data_Database) String() string + type Data_Redis struct + Addr string + Db int32 + Password string + Prefix string + ReadTimeout *durationpb.Duration + WriteTimeout *durationpb.Duration + func (*Data_Redis) Descriptor() ([]byte, []int) + func (*Data_Redis) ProtoMessage() + func (x *Data_Redis) GetAddr() string + func (x *Data_Redis) GetDb() int32 + func (x *Data_Redis) GetPassword() string + func (x *Data_Redis) GetPrefix() string + func (x *Data_Redis) GetReadTimeout() *durationpb.Duration + func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration + func (x *Data_Redis) ProtoReflect() protoreflect.Message + func (x *Data_Redis) Reset() + func (x *Data_Redis) String() string + type Env struct + Mode string + func (*Env) Descriptor() ([]byte, []int) + func (*Env) ProtoMessage() + func (x *Env) GetMode() string + func (x *Env) ProtoReflect() protoreflect.Message + func (x *Env) Reset() + func (x *Env) String() string + type Oss struct + AccessKey string + AccessSecret string + BucketName string + EndPoint string + Region string + SessionName string + StsExpire string + StsRoleArn string + func (*Oss) Descriptor() ([]byte, []int) + func (*Oss) ProtoMessage() + func (x *Oss) GetAccessKey() string + func (x *Oss) GetAccessSecret() string + func (x *Oss) GetBucketName() string + func (x *Oss) GetEndPoint() string + func (x *Oss) GetRegion() string + func (x *Oss) GetSessionName() string + func (x *Oss) GetStsExpire() string + func (x *Oss) GetStsRoleArn() string + func (x *Oss) ProtoReflect() protoreflect.Message + func (x *Oss) Reset() + func (x *Oss) String() string + type Registry struct + Etcd *Registry_Etcd + func (*Registry) Descriptor() ([]byte, []int) + func (*Registry) ProtoMessage() + func (x *Registry) GetEtcd() *Registry_Etcd + func (x *Registry) ProtoReflect() protoreflect.Message + func (x *Registry) Reset() + func (x *Registry) String() string + type Registry_Etcd struct + Address string + func (*Registry_Etcd) Descriptor() ([]byte, []int) + func (*Registry_Etcd) ProtoMessage() + func (x *Registry_Etcd) GetAddress() string + func (x *Registry_Etcd) ProtoReflect() protoreflect.Message + func (x *Registry_Etcd) Reset() + func (x *Registry_Etcd) String() string + type Server struct + Grpc *Server_GRPC + Http *Server_HTTP + func (*Server) Descriptor() ([]byte, []int) + func (*Server) ProtoMessage() + func (x *Server) GetGrpc() *Server_GRPC + func (x *Server) GetHttp() *Server_HTTP + func (x *Server) ProtoReflect() protoreflect.Message + func (x *Server) Reset() + func (x *Server) String() string + type Server_GRPC struct + Addr string + Network string + Timeout *durationpb.Duration + func (*Server_GRPC) Descriptor() ([]byte, []int) + func (*Server_GRPC) ProtoMessage() + func (x *Server_GRPC) GetAddr() string + func (x *Server_GRPC) GetNetwork() string + func (x *Server_GRPC) GetTimeout() *durationpb.Duration + func (x *Server_GRPC) ProtoReflect() protoreflect.Message + func (x *Server_GRPC) Reset() + func (x *Server_GRPC) String() string + type Server_HTTP struct + Addr string + Network string + Timeout *durationpb.Duration + func (*Server_HTTP) Descriptor() ([]byte, []int) + func (*Server_HTTP) ProtoMessage() + func (x *Server_HTTP) GetAddr() string + func (x *Server_HTTP) GetNetwork() string + func (x *Server_HTTP) GetTimeout() *durationpb.Duration + func (x *Server_HTTP) ProtoReflect() protoreflect.Message + func (x *Server_HTTP) Reset() + func (x *Server_HTTP) String() string + type Service struct + Name string + Version string + func (*Service) Descriptor() ([]byte, []int) + func (*Service) ProtoMessage() + func (x *Service) GetName() string + func (x *Service) GetVersion() string + func (x *Service) ProtoReflect() protoreflect.Message + func (x *Service) Reset() + func (x *Service) String() string + type Trace struct + Endpoint string + func (*Trace) Descriptor() ([]byte, []int) + func (*Trace) ProtoMessage() + func (x *Trace) GetEndpoint() string + func (x *Trace) ProtoReflect() protoreflect.Message + func (x *Trace) Reset() + func (x *Trace) String() string