Documentation ¶
Index ¶
- Variables
- type Alisms
- func (*Alisms) Descriptor() ([]byte, []int)deprecated
- func (x *Alisms) GetAccessKeyID() string
- func (x *Alisms) GetAccessKeySecret() string
- func (x *Alisms) GetRegionId() string
- func (*Alisms) ProtoMessage()
- func (x *Alisms) ProtoReflect() protoreflect.Message
- func (x *Alisms) Reset()
- func (x *Alisms) String() string
- type Auth
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetDebug() bool
- func (x *Bootstrap) GetFile() *FileSettings
- func (x *Bootstrap) GetServer() *Server
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- type Data
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetDbName() string
- func (x *Database) GetHost() string
- func (x *Database) GetPassword() string
- func (x *Database) GetPort() int64
- func (x *Database) GetUserName() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type FileSettings
- func (*FileSettings) Descriptor() ([]byte, []int)deprecated
- func (x *FileSettings) GetFileSavePath() string
- func (x *FileSettings) GetOss() *OSS
- func (x *FileSettings) GetSaveType() string
- func (x *FileSettings) GetTmpPath() string
- func (*FileSettings) ProtoMessage()
- func (x *FileSettings) ProtoReflect() protoreflect.Message
- func (x *FileSettings) Reset()
- func (x *FileSettings) String() string
- type GRPC
- func (*GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *GRPC) GetAddr() string
- func (x *GRPC) GetNetwork() string
- func (x *GRPC) GetTimeout() *durationpb.Duration
- func (*GRPC) ProtoMessage()
- func (x *GRPC) ProtoReflect() protoreflect.Message
- func (x *GRPC) Reset()
- func (x *GRPC) String() string
- type OSS
- func (*OSS) Descriptor() ([]byte, []int)deprecated
- func (x *OSS) GetBucketName() string
- func (x *OSS) GetEndpoint() string
- func (x *OSS) GetKey() string
- func (x *OSS) GetSecret() string
- func (*OSS) ProtoMessage()
- func (x *OSS) ProtoReflect() protoreflect.Message
- func (x *OSS) Reset()
- func (x *OSS) String() string
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Redis) GetAddr() string
- func (x *Redis) GetDb() int64
- func (x *Redis) GetNetwork() string
- func (x *Redis) GetPassword() string
- func (x *Redis) GetReadTimeout() *durationpb.Duration
- func (x *Redis) GetWriteTimeout() *durationpb.Duration
- func (*Redis) ProtoMessage()
- func (x *Redis) ProtoReflect() protoreflect.Message
- func (x *Redis) Reset()
- func (x *Redis) String() string
- type Server
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetAddr() string
- func (x *Server_HTTP) GetAuth() *Auth
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Alisms ¶
type Alisms struct { AccessKeyID string `protobuf:"bytes,1,opt,name=accessKeyID,proto3" json:"accessKeyID,omitempty"` AccessKeySecret string `protobuf:"bytes,2,opt,name=accessKeySecret,proto3" json:"accessKeySecret,omitempty"` RegionId string `protobuf:"bytes,3,opt,name=regionId,proto3" json:"regionId,omitempty"` // contains filtered or unexported fields }
func (*Alisms) Descriptor
deprecated
func (*Alisms) GetAccessKeyID ¶
func (*Alisms) GetAccessKeySecret ¶
func (*Alisms) GetRegionId ¶
func (*Alisms) ProtoMessage ¶
func (*Alisms) ProtoMessage()
func (*Alisms) ProtoReflect ¶
func (x *Alisms) ProtoReflect() protoreflect.Message
type Auth ¶
type Auth struct { NeedToken bool `protobuf:"varint,1,opt,name=needToken,proto3" json:"needToken,omitempty"` PostURL string `protobuf:"bytes,2,opt,name=postURL,proto3" json:"postURL,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetNeedToken ¶
func (*Auth) GetPostURL ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type Bootstrap ¶
type Bootstrap struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Alisms *Alisms `protobuf:"bytes,3,opt,name=alisms,proto3" json:"alisms,omitempty"` Debug bool `protobuf:"varint,4,opt,name=debug,proto3" json:"debug,omitempty"` File *FileSettings `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` // file不是存在oss就是存在本地文件夹 // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetFile ¶
func (x *Bootstrap) GetFile() *FileSettings
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Redis *Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Database ¶
type Database struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` DbName string `protobuf:"bytes,5,opt,name=dbName,proto3" json:"dbName,omitempty"` // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
func (*Database) GetPassword ¶
func (*Database) GetUserName ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type FileSettings ¶
type FileSettings struct { Oss *OSS `protobuf:"bytes,1,opt,name=oss,proto3" json:"oss,omitempty"` SaveType string `protobuf:"bytes,2,opt,name=saveType,proto3" json:"saveType,omitempty"` FileSavePath string `protobuf:"bytes,3,opt,name=fileSavePath,proto3" json:"fileSavePath,omitempty"` TmpPath string `protobuf:"bytes,4,opt,name=tmpPath,proto3" json:"tmpPath,omitempty"` // contains filtered or unexported fields }
func (*FileSettings) Descriptor
deprecated
func (*FileSettings) Descriptor() ([]byte, []int)
Deprecated: Use FileSettings.ProtoReflect.Descriptor instead.
func (*FileSettings) GetFileSavePath ¶
func (x *FileSettings) GetFileSavePath() string
func (*FileSettings) GetOss ¶
func (x *FileSettings) GetOss() *OSS
func (*FileSettings) GetSaveType ¶
func (x *FileSettings) GetSaveType() string
func (*FileSettings) GetTmpPath ¶
func (x *FileSettings) GetTmpPath() string
func (*FileSettings) ProtoMessage ¶
func (*FileSettings) ProtoMessage()
func (*FileSettings) ProtoReflect ¶
func (x *FileSettings) ProtoReflect() protoreflect.Message
func (*FileSettings) Reset ¶
func (x *FileSettings) Reset()
func (*FileSettings) String ¶
func (x *FileSettings) String() string
type GRPC ¶
type 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 (*GRPC) Descriptor
deprecated
func (*GRPC) GetNetwork ¶
func (*GRPC) GetTimeout ¶
func (x *GRPC) GetTimeout() *durationpb.Duration
func (*GRPC) ProtoMessage ¶
func (*GRPC) ProtoMessage()
func (*GRPC) ProtoReflect ¶
func (x *GRPC) ProtoReflect() protoreflect.Message
type OSS ¶
type OSS struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` BucketName string `protobuf:"bytes,4,opt,name=bucketName,proto3" json:"bucketName,omitempty"` // contains filtered or unexported fields }
func (*OSS) Descriptor
deprecated
func (*OSS) GetBucketName ¶
func (*OSS) GetEndpoint ¶
func (*OSS) ProtoMessage ¶
func (*OSS) ProtoMessage()
func (*OSS) ProtoReflect ¶
func (x *OSS) ProtoReflect() protoreflect.Message
type Redis ¶
type 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 int64 `protobuf:"varint,6,opt,name=db,proto3" json:"db,omitempty"` // contains filtered or unexported fields }
func (*Redis) Descriptor
deprecated
func (*Redis) GetNetwork ¶
func (*Redis) GetPassword ¶
func (*Redis) GetReadTimeout ¶
func (x *Redis) GetReadTimeout() *durationpb.Duration
func (*Redis) GetWriteTimeout ¶
func (x *Redis) GetWriteTimeout() *durationpb.Duration
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` Grpc *GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
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_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"` Auth *Auth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,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) GetAuth ¶
func (x *Server_HTTP) GetAuth() *Auth
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
Click to show internal directories.
Click to hide internal directories.