Documentation
¶
Index ¶
- Variables
- type AutoCode
- func (*AutoCode) Descriptor() ([]byte, []int)deprecated
- func (x *AutoCode) GetAiPath() string
- func (x *AutoCode) GetModule() string
- func (x *AutoCode) GetRoot() string
- func (x *AutoCode) GetServer() string
- func (x *AutoCode) GetWeb() string
- func (*AutoCode) ProtoMessage()
- func (x *AutoCode) ProtoReflect() protoreflect.Message
- func (x *AutoCode) Reset()
- func (x *AutoCode) String() string
- func (a *AutoCode) WebRoot() string
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAutoCode() *AutoCode
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetEmail() *Email
- func (x *Bootstrap) GetJwt() *JWT
- func (x *Bootstrap) GetLog() *Log
- func (x *Bootstrap) GetMongo() *Mongo
- func (x *Bootstrap) GetOss() *Oss
- 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 Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDbSource() string
- func (x *Data_Database) GetDebug() bool
- func (x *Data_Database) GetDriverName() string
- func (x *Data_Database) GetIdleTimeOut() int64
- func (x *Data_Database) GetMaxIdleConns() int64
- func (x *Data_Database) GetMaxOpenConns() int64
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- type Data_Redis
- func (*Data_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Redis) GetAddr() []string
- func (x *Data_Redis) GetDb() int64
- func (x *Data_Redis) GetDialTimeout() int64
- func (x *Data_Redis) GetPoolSize() int64
- func (x *Data_Redis) GetPwd() string
- func (x *Data_Redis) GetReadTimeout() int64
- func (x *Data_Redis) GetWriteTimeout() int64
- 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() int64
- func (x *Email) GetSecret() string
- func (x *Email) GetTo() string
- func (*Email) ProtoMessage()
- func (x *Email) ProtoReflect() protoreflect.Message
- func (x *Email) Reset()
- func (x *Email) String() string
- type JWT
- func (*JWT) Descriptor() ([]byte, []int)deprecated
- func (x *JWT) GetBufferTime() string
- func (x *JWT) GetExpiresTime() string
- func (x *JWT) GetIssuer() string
- func (x *JWT) GetSigningKey() string
- func (x *JWT) GetUseMultipoint() bool
- func (*JWT) ProtoMessage()
- func (x *JWT) ProtoReflect() protoreflect.Message
- func (x *JWT) Reset()
- func (x *JWT) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAppid() string
- func (x *Log) GetLogCompress() bool
- func (x *Log) GetLogFile() bool
- func (x *Log) GetLogFileMaxBackups() int64
- func (x *Log) GetLogFileMaxSize() int64
- func (x *Log) GetLogFormat() string
- func (x *Log) GetLogLevel() string
- func (x *Log) GetLogMaxAge() int64
- func (x *Log) GetLogPath() string
- func (x *Log) GetServerName() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Mongo
- func (*Mongo) Descriptor() ([]byte, []int)deprecated
- func (x *Mongo) GetAuthSource() string
- func (x *Mongo) GetColl() string
- func (x *Mongo) GetConnectTimeoutMs() int64
- func (x *Mongo) GetDatabase() string
- func (x *Mongo) GetHosts() []*MongoHost
- func (x *Mongo) GetIsZap() bool
- func (x *Mongo) GetMaxPoolSize() int64
- func (x *Mongo) GetMinPoolSize() int64
- func (x *Mongo) GetOptions() string
- func (x *Mongo) GetPassword() string
- func (x *Mongo) GetSocketTimeoutMs() int64
- func (x *Mongo) GetUsername() string
- func (*Mongo) ProtoMessage()
- func (x *Mongo) ProtoReflect() protoreflect.Message
- func (x *Mongo) Reset()
- func (x *Mongo) String() string
- func (x *Mongo) Uri() string
- type MongoHost
- type Oss
- func (*Oss) Descriptor() ([]byte, []int)deprecated
- func (x *Oss) GetAliyun() *OssAliyun
- func (x *Oss) GetAwsS3() *OssAwsS3
- func (x *Oss) GetCloudflareR2() *OssCloudflareR2
- func (x *Oss) GetHuaweiyun() *OssHuaweiyun
- func (x *Oss) GetLocal() *OssLocal
- func (x *Oss) GetQiniu() *OssQiniu
- func (x *Oss) GetTencentCOS() *OssTencentCOS
- func (x *Oss) GetType() string
- func (*Oss) ProtoMessage()
- func (x *Oss) ProtoReflect() protoreflect.Message
- func (x *Oss) Reset()
- func (x *Oss) String() string
- type OssAliyun
- func (*OssAliyun) Descriptor() ([]byte, []int)deprecated
- func (x *OssAliyun) GetAccessKeyId() string
- func (x *OssAliyun) GetAccessKeySecret() string
- func (x *OssAliyun) GetBasePath() string
- func (x *OssAliyun) GetBucketName() string
- func (x *OssAliyun) GetBucketUrl() string
- func (x *OssAliyun) GetEndpoint() string
- func (*OssAliyun) ProtoMessage()
- func (x *OssAliyun) ProtoReflect() protoreflect.Message
- func (x *OssAliyun) Reset()
- func (x *OssAliyun) String() string
- type OssAwsS3
- func (*OssAwsS3) Descriptor() ([]byte, []int)deprecated
- func (x *OssAwsS3) GetBaseURL() string
- func (x *OssAwsS3) GetBucket() string
- func (x *OssAwsS3) GetDisableSSL() bool
- func (x *OssAwsS3) GetEndpoint() string
- func (x *OssAwsS3) GetPathPrefix() string
- func (x *OssAwsS3) GetRegion() string
- func (x *OssAwsS3) GetS3ForcePathStyle() bool
- func (x *OssAwsS3) GetSecretID() string
- func (x *OssAwsS3) GetSecretKey() string
- func (*OssAwsS3) ProtoMessage()
- func (x *OssAwsS3) ProtoReflect() protoreflect.Message
- func (x *OssAwsS3) Reset()
- func (x *OssAwsS3) String() string
- type OssCloudflareR2
- func (*OssCloudflareR2) Descriptor() ([]byte, []int)deprecated
- func (x *OssCloudflareR2) GetAccessKeyID() string
- func (x *OssCloudflareR2) GetAccountID() string
- func (x *OssCloudflareR2) GetBaseURL() string
- func (x *OssCloudflareR2) GetBucket() string
- func (x *OssCloudflareR2) GetPath() string
- func (x *OssCloudflareR2) GetSecretAccessKey() string
- func (*OssCloudflareR2) ProtoMessage()
- func (x *OssCloudflareR2) ProtoReflect() protoreflect.Message
- func (x *OssCloudflareR2) Reset()
- func (x *OssCloudflareR2) String() string
- type OssHuaweiyun
- func (*OssHuaweiyun) Descriptor() ([]byte, []int)deprecated
- func (x *OssHuaweiyun) GetAccessKey() string
- func (x *OssHuaweiyun) GetBucket() string
- func (x *OssHuaweiyun) GetEndpoint() string
- func (x *OssHuaweiyun) GetPath() string
- func (x *OssHuaweiyun) GetSecretKey() string
- func (*OssHuaweiyun) ProtoMessage()
- func (x *OssHuaweiyun) ProtoReflect() protoreflect.Message
- func (x *OssHuaweiyun) Reset()
- func (x *OssHuaweiyun) String() string
- type OssLocal
- type OssQiniu
- func (*OssQiniu) Descriptor() ([]byte, []int)deprecated
- func (x *OssQiniu) GetAccessKey() string
- func (x *OssQiniu) GetBucket() string
- func (x *OssQiniu) GetImgPath() string
- func (x *OssQiniu) GetSecretKey() string
- func (x *OssQiniu) GetUseCdnDomains() bool
- func (x *OssQiniu) GetUseHTTPS() bool
- func (x *OssQiniu) GetZone() string
- func (*OssQiniu) ProtoMessage()
- func (x *OssQiniu) ProtoReflect() protoreflect.Message
- func (x *OssQiniu) Reset()
- func (x *OssQiniu) String() string
- type OssTencentCOS
- func (*OssTencentCOS) Descriptor() ([]byte, []int)deprecated
- func (x *OssTencentCOS) GetBaseURL() string
- func (x *OssTencentCOS) GetBucket() string
- func (x *OssTencentCOS) GetPathPrefix() string
- func (x *OssTencentCOS) GetRegion() string
- func (x *OssTencentCOS) GetSecretID() string
- func (x *OssTencentCOS) GetSecretKey() string
- func (*OssTencentCOS) ProtoMessage()
- func (x *OssTencentCOS) ProtoReflect() protoreflect.Message
- func (x *OssTencentCOS) Reset()
- func (x *OssTencentCOS) String() string
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var File_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AutoCode ¶
type AutoCode struct { Web string `protobuf:"bytes,1,opt,name=web,proto3" json:"web,omitempty"` Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` Server string `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"` Module string `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"` AiPath string `protobuf:"bytes,5,opt,name=aiPath,proto3" json:"aiPath,omitempty"` // contains filtered or unexported fields }
func (*AutoCode) Descriptor
deprecated
func (*AutoCode) ProtoMessage ¶
func (*AutoCode) ProtoMessage()
func (*AutoCode) ProtoReflect ¶
func (x *AutoCode) 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"` Log *Log `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Jwt *JWT `protobuf:"bytes,4,opt,name=jwt.proto,proto3" json:"jwt.proto,omitempty"` AutoCode *AutoCode `protobuf:"bytes,5,opt,name=autoCode,proto3" json:"autoCode,omitempty"` Email *Email `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` Mongo *Mongo `protobuf:"bytes,7,opt,name=mongo,proto3" json:"mongo,omitempty"` Oss *Oss `protobuf:"bytes,8,opt,name=oss,proto3" json:"oss,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetAutoCode ¶
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Redis *Data_Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
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 { DriverName string `protobuf:"bytes,1,opt,name=driverName,proto3" json:"driverName,omitempty"` DbSource string `protobuf:"bytes,2,opt,name=dbSource,proto3" json:"dbSource,omitempty"` MaxOpenConns int64 `protobuf:"varint,3,opt,name=maxOpenConns,proto3" json:"maxOpenConns,omitempty"` MaxIdleConns int64 `protobuf:"varint,4,opt,name=maxIdleConns,proto3" json:"maxIdleConns,omitempty"` IdleTimeOut int64 `protobuf:"varint,5,opt,name=idleTimeOut,proto3" json:"idleTimeOut,omitempty"` Debug bool `protobuf:"varint,6,opt,name=debug,proto3" json:"debug,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) GetDbSource ¶
func (x *Data_Database) GetDbSource() string
func (*Data_Database) GetDebug ¶
func (x *Data_Database) GetDebug() bool
func (*Data_Database) GetDriverName ¶
func (x *Data_Database) GetDriverName() string
func (*Data_Database) GetIdleTimeOut ¶
func (x *Data_Database) GetIdleTimeOut() int64
func (*Data_Database) GetMaxIdleConns ¶
func (x *Data_Database) GetMaxIdleConns() int64
func (*Data_Database) GetMaxOpenConns ¶
func (x *Data_Database) GetMaxOpenConns() int64
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_Redis ¶
type Data_Redis struct { PoolSize int64 `protobuf:"varint,1,opt,name=poolSize,proto3" json:"poolSize,omitempty"` Addr []string `protobuf:"bytes,2,rep,name=addr,proto3" json:"addr,omitempty"` Pwd string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"` DialTimeout int64 `protobuf:"varint,4,opt,name=dialTimeout,proto3" json:"dialTimeout,omitempty"` ReadTimeout int64 `protobuf:"varint,5,opt,name=readTimeout,proto3" json:"readTimeout,omitempty"` WriteTimeout int64 `protobuf:"varint,6,opt,name=writeTimeout,proto3" json:"writeTimeout,omitempty"` Db int64 `protobuf:"varint,7,opt,name=db,proto3" json:"db,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() int64
func (*Data_Redis) GetDialTimeout ¶
func (x *Data_Redis) GetDialTimeout() int64
func (*Data_Redis) GetPoolSize ¶
func (x *Data_Redis) GetPoolSize() int64
func (*Data_Redis) GetPwd ¶
func (x *Data_Redis) GetPwd() string
func (*Data_Redis) GetReadTimeout ¶
func (x *Data_Redis) GetReadTimeout() int64
func (*Data_Redis) GetWriteTimeout ¶
func (x *Data_Redis) GetWriteTimeout() int64
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 { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` Port int64 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` IsSSL bool `protobuf:"varint,7,opt,name=isSSL,proto3" json:"isSSL,omitempty"` // contains filtered or unexported fields }
func (*Email) Descriptor
deprecated
func (*Email) GetNickname ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) ProtoReflect ¶
func (x *Email) ProtoReflect() protoreflect.Message
type JWT ¶
type JWT struct { SigningKey string `protobuf:"bytes,1,opt,name=signingKey,proto3" json:"signingKey,omitempty"` ExpiresTime string `protobuf:"bytes,2,opt,name=expiresTime,proto3" json:"expiresTime,omitempty"` BufferTime string `protobuf:"bytes,3,opt,name=bufferTime,proto3" json:"bufferTime,omitempty"` Issuer string `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"` UseMultipoint bool `protobuf:"varint,5,opt,name=UseMultipoint,proto3" json:"UseMultipoint,omitempty"` // contains filtered or unexported fields }
func (*JWT) Descriptor
deprecated
func (*JWT) GetBufferTime ¶
func (*JWT) GetExpiresTime ¶
func (*JWT) GetSigningKey ¶
func (*JWT) GetUseMultipoint ¶
func (*JWT) ProtoMessage ¶
func (*JWT) ProtoMessage()
func (*JWT) ProtoReflect ¶
func (x *JWT) ProtoReflect() protoreflect.Message
type Log ¶
type Log struct { ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` LogLevel string `protobuf:"bytes,3,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` LogFormat string `protobuf:"bytes,4,opt,name=log_format,json=logFormat,proto3" json:"log_format,omitempty"` LogFile bool `protobuf:"varint,5,opt,name=log_file,json=logFile,proto3" json:"log_file,omitempty"` LogPath string `protobuf:"bytes,6,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` LogFileMaxSize int64 `protobuf:"varint,7,opt,name=log_file_max_size,json=logFileMaxSize,proto3" json:"log_file_max_size,omitempty"` LogFileMaxBackups int64 `protobuf:"varint,8,opt,name=log_file_max_backups,json=logFileMaxBackups,proto3" json:"log_file_max_backups,omitempty"` LogMaxAge int64 `protobuf:"varint,9,opt,name=log_max_age,json=logMaxAge,proto3" json:"log_max_age,omitempty"` LogCompress bool `protobuf:"varint,10,opt,name=log_compress,json=logCompress,proto3" json:"log_compress,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetLogCompress ¶
func (*Log) GetLogFile ¶
func (*Log) GetLogFileMaxBackups ¶
func (*Log) GetLogFileMaxSize ¶
func (*Log) GetLogFormat ¶
func (*Log) GetLogLevel ¶
func (*Log) GetLogMaxAge ¶
func (*Log) GetLogPath ¶
func (*Log) GetServerName ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Mongo ¶
type Mongo struct { Coll string `protobuf:"bytes,1,opt,name=coll,proto3" json:"coll,omitempty"` Options string `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` AuthSource string `protobuf:"bytes,6,opt,name=authSource,proto3" json:"authSource,omitempty"` MinPoolSize int64 `protobuf:"varint,7,opt,name=minPoolSize,proto3" json:"minPoolSize,omitempty"` MaxPoolSize int64 `protobuf:"varint,8,opt,name=maxPoolSize,proto3" json:"maxPoolSize,omitempty"` SocketTimeoutMs int64 `protobuf:"varint,9,opt,name=socketTimeoutMs,proto3" json:"socketTimeoutMs,omitempty"` ConnectTimeoutMs int64 `protobuf:"varint,10,opt,name=connectTimeoutMs,proto3" json:"connectTimeoutMs,omitempty"` IsZap bool `protobuf:"varint,11,opt,name=isZap,proto3" json:"isZap,omitempty"` Hosts []*MongoHost `protobuf:"bytes,12,rep,name=hosts,proto3" json:"hosts,omitempty"` // contains filtered or unexported fields }
func (*Mongo) Descriptor
deprecated
func (*Mongo) GetAuthSource ¶
func (*Mongo) GetConnectTimeoutMs ¶
func (*Mongo) GetDatabase ¶
func (*Mongo) GetMaxPoolSize ¶
func (*Mongo) GetMinPoolSize ¶
func (*Mongo) GetOptions ¶
func (*Mongo) GetPassword ¶
func (*Mongo) GetSocketTimeoutMs ¶
func (*Mongo) GetUsername ¶
func (*Mongo) ProtoMessage ¶
func (*Mongo) ProtoMessage()
func (*Mongo) ProtoReflect ¶
func (x *Mongo) ProtoReflect() protoreflect.Message
type MongoHost ¶
type MongoHost struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*MongoHost) Descriptor
deprecated
func (*MongoHost) ProtoMessage ¶
func (*MongoHost) ProtoMessage()
func (*MongoHost) ProtoReflect ¶
func (x *MongoHost) ProtoReflect() protoreflect.Message
type Oss ¶
type Oss struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Local *OssLocal `protobuf:"bytes,2,opt,name=local,proto3" json:"local,omitempty"` Qiniu *OssQiniu `protobuf:"bytes,3,opt,name=qiniu,proto3" json:"qiniu,omitempty"` Aliyun *OssAliyun `protobuf:"bytes,4,opt,name=aliyun,proto3" json:"aliyun,omitempty"` Huaweiyun *OssHuaweiyun `protobuf:"bytes,5,opt,name=huaweiyun,proto3" json:"huaweiyun,omitempty"` TencentCOS *OssTencentCOS `protobuf:"bytes,6,opt,name=tencentCOS,proto3" json:"tencentCOS,omitempty"` AwsS3 *OssAwsS3 `protobuf:"bytes,7,opt,name=awsS3,proto3" json:"awsS3,omitempty"` CloudflareR2 *OssCloudflareR2 `protobuf:"bytes,8,opt,name=cloudflareR2,proto3" json:"cloudflareR2,omitempty"` // contains filtered or unexported fields }
func (*Oss) Descriptor
deprecated
func (*Oss) GetCloudflareR2 ¶
func (x *Oss) GetCloudflareR2() *OssCloudflareR2
func (*Oss) GetHuaweiyun ¶
func (x *Oss) GetHuaweiyun() *OssHuaweiyun
func (*Oss) GetTencentCOS ¶
func (x *Oss) GetTencentCOS() *OssTencentCOS
func (*Oss) ProtoMessage ¶
func (*Oss) ProtoMessage()
func (*Oss) ProtoReflect ¶
func (x *Oss) ProtoReflect() protoreflect.Message
type OssAliyun ¶
type OssAliyun struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` AccessKeyId string `protobuf:"bytes,2,opt,name=accessKeyId,proto3" json:"accessKeyId,omitempty"` AccessKeySecret string `protobuf:"bytes,3,opt,name=accessKeySecret,proto3" json:"accessKeySecret,omitempty"` BucketName string `protobuf:"bytes,4,opt,name=bucketName,proto3" json:"bucketName,omitempty"` BucketUrl string `protobuf:"bytes,5,opt,name=bucketUrl,proto3" json:"bucketUrl,omitempty"` BasePath string `protobuf:"bytes,6,opt,name=basePath,proto3" json:"basePath,omitempty"` // contains filtered or unexported fields }
func (*OssAliyun) Descriptor
deprecated
func (*OssAliyun) GetAccessKeyId ¶
func (*OssAliyun) GetAccessKeySecret ¶
func (*OssAliyun) GetBasePath ¶
func (*OssAliyun) GetBucketName ¶
func (*OssAliyun) GetBucketUrl ¶
func (*OssAliyun) GetEndpoint ¶
func (*OssAliyun) ProtoMessage ¶
func (*OssAliyun) ProtoMessage()
func (*OssAliyun) ProtoReflect ¶
func (x *OssAliyun) ProtoReflect() protoreflect.Message
type OssAwsS3 ¶
type OssAwsS3 struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` SecretID string `protobuf:"bytes,4,opt,name=secretID,proto3" json:"secretID,omitempty"` SecretKey string `protobuf:"bytes,5,opt,name=secretKey,proto3" json:"secretKey,omitempty"` BaseURL string `protobuf:"bytes,6,opt,name=baseURL,proto3" json:"baseURL,omitempty"` PathPrefix string `protobuf:"bytes,7,opt,name=pathPrefix,proto3" json:"pathPrefix,omitempty"` S3ForcePathStyle bool `protobuf:"varint,8,opt,name=s3ForcePathStyle,proto3" json:"s3ForcePathStyle,omitempty"` DisableSSL bool `protobuf:"varint,9,opt,name=disableSSL,proto3" json:"disableSSL,omitempty"` // contains filtered or unexported fields }
func (*OssAwsS3) Descriptor
deprecated
func (*OssAwsS3) GetBaseURL ¶
func (*OssAwsS3) GetDisableSSL ¶
func (*OssAwsS3) GetEndpoint ¶
func (*OssAwsS3) GetPathPrefix ¶
func (*OssAwsS3) GetS3ForcePathStyle ¶
func (*OssAwsS3) GetSecretID ¶
func (*OssAwsS3) GetSecretKey ¶
func (*OssAwsS3) ProtoMessage ¶
func (*OssAwsS3) ProtoMessage()
func (*OssAwsS3) ProtoReflect ¶
func (x *OssAwsS3) ProtoReflect() protoreflect.Message
type OssCloudflareR2 ¶
type OssCloudflareR2 struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` BaseURL string `protobuf:"bytes,2,opt,name=baseURL,proto3" json:"baseURL,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` AccountID string `protobuf:"bytes,4,opt,name=accountID,proto3" json:"accountID,omitempty"` AccessKeyID string `protobuf:"bytes,5,opt,name=accessKeyID,proto3" json:"accessKeyID,omitempty"` SecretAccessKey string `protobuf:"bytes,6,opt,name=secretAccessKey,proto3" json:"secretAccessKey,omitempty"` // contains filtered or unexported fields }
func (*OssCloudflareR2) Descriptor
deprecated
func (*OssCloudflareR2) Descriptor() ([]byte, []int)
Deprecated: Use OssCloudflareR2.ProtoReflect.Descriptor instead.
func (*OssCloudflareR2) GetAccessKeyID ¶
func (x *OssCloudflareR2) GetAccessKeyID() string
func (*OssCloudflareR2) GetAccountID ¶
func (x *OssCloudflareR2) GetAccountID() string
func (*OssCloudflareR2) GetBaseURL ¶
func (x *OssCloudflareR2) GetBaseURL() string
func (*OssCloudflareR2) GetBucket ¶
func (x *OssCloudflareR2) GetBucket() string
func (*OssCloudflareR2) GetPath ¶
func (x *OssCloudflareR2) GetPath() string
func (*OssCloudflareR2) GetSecretAccessKey ¶
func (x *OssCloudflareR2) GetSecretAccessKey() string
func (*OssCloudflareR2) ProtoMessage ¶
func (*OssCloudflareR2) ProtoMessage()
func (*OssCloudflareR2) ProtoReflect ¶
func (x *OssCloudflareR2) ProtoReflect() protoreflect.Message
func (*OssCloudflareR2) Reset ¶
func (x *OssCloudflareR2) Reset()
func (*OssCloudflareR2) String ¶
func (x *OssCloudflareR2) String() string
type OssHuaweiyun ¶
type OssHuaweiyun struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` AccessKey string `protobuf:"bytes,4,opt,name=accessKey,proto3" json:"accessKey,omitempty"` SecretKey string `protobuf:"bytes,5,opt,name=secretKey,proto3" json:"secretKey,omitempty"` // contains filtered or unexported fields }
func (*OssHuaweiyun) Descriptor
deprecated
func (*OssHuaweiyun) Descriptor() ([]byte, []int)
Deprecated: Use OssHuaweiyun.ProtoReflect.Descriptor instead.
func (*OssHuaweiyun) GetAccessKey ¶
func (x *OssHuaweiyun) GetAccessKey() string
func (*OssHuaweiyun) GetBucket ¶
func (x *OssHuaweiyun) GetBucket() string
func (*OssHuaweiyun) GetEndpoint ¶
func (x *OssHuaweiyun) GetEndpoint() string
func (*OssHuaweiyun) GetPath ¶
func (x *OssHuaweiyun) GetPath() string
func (*OssHuaweiyun) GetSecretKey ¶
func (x *OssHuaweiyun) GetSecretKey() string
func (*OssHuaweiyun) ProtoMessage ¶
func (*OssHuaweiyun) ProtoMessage()
func (*OssHuaweiyun) ProtoReflect ¶
func (x *OssHuaweiyun) ProtoReflect() protoreflect.Message
func (*OssHuaweiyun) Reset ¶
func (x *OssHuaweiyun) Reset()
func (*OssHuaweiyun) String ¶
func (x *OssHuaweiyun) String() string
type OssLocal ¶
type OssLocal struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` StorePath string `protobuf:"bytes,2,opt,name=storePath,proto3" json:"storePath,omitempty"` // contains filtered or unexported fields }
func (*OssLocal) Descriptor
deprecated
func (*OssLocal) GetStorePath ¶
func (*OssLocal) ProtoMessage ¶
func (*OssLocal) ProtoMessage()
func (*OssLocal) ProtoReflect ¶
func (x *OssLocal) ProtoReflect() protoreflect.Message
type OssQiniu ¶
type OssQiniu struct { Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` ImgPath string `protobuf:"bytes,3,opt,name=imgPath,proto3" json:"imgPath,omitempty"` AccessKey string `protobuf:"bytes,4,opt,name=accessKey,proto3" json:"accessKey,omitempty"` SecretKey string `protobuf:"bytes,5,opt,name=secretKey,proto3" json:"secretKey,omitempty"` UseHTTPS bool `protobuf:"varint,6,opt,name=useHTTPS,proto3" json:"useHTTPS,omitempty"` UseCdnDomains bool `protobuf:"varint,7,opt,name=useCdnDomains,proto3" json:"useCdnDomains,omitempty"` // contains filtered or unexported fields }
func (*OssQiniu) Descriptor
deprecated
func (*OssQiniu) GetAccessKey ¶
func (*OssQiniu) GetImgPath ¶
func (*OssQiniu) GetSecretKey ¶
func (*OssQiniu) GetUseCdnDomains ¶
func (*OssQiniu) GetUseHTTPS ¶
func (*OssQiniu) ProtoMessage ¶
func (*OssQiniu) ProtoMessage()
func (*OssQiniu) ProtoReflect ¶
func (x *OssQiniu) ProtoReflect() protoreflect.Message
type OssTencentCOS ¶
type OssTencentCOS struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` SecretID string `protobuf:"bytes,3,opt,name=secretID,proto3" json:"secretID,omitempty"` SecretKey string `protobuf:"bytes,4,opt,name=secretKey,proto3" json:"secretKey,omitempty"` BaseURL string `protobuf:"bytes,5,opt,name=baseURL,proto3" json:"baseURL,omitempty"` PathPrefix string `protobuf:"bytes,6,opt,name=pathPrefix,proto3" json:"pathPrefix,omitempty"` // contains filtered or unexported fields }
func (*OssTencentCOS) Descriptor
deprecated
func (*OssTencentCOS) Descriptor() ([]byte, []int)
Deprecated: Use OssTencentCOS.ProtoReflect.Descriptor instead.
func (*OssTencentCOS) GetBaseURL ¶
func (x *OssTencentCOS) GetBaseURL() string
func (*OssTencentCOS) GetBucket ¶
func (x *OssTencentCOS) GetBucket() string
func (*OssTencentCOS) GetPathPrefix ¶
func (x *OssTencentCOS) GetPathPrefix() string
func (*OssTencentCOS) GetRegion ¶
func (x *OssTencentCOS) GetRegion() string
func (*OssTencentCOS) GetSecretID ¶
func (x *OssTencentCOS) GetSecretID() string
func (*OssTencentCOS) GetSecretKey ¶
func (x *OssTencentCOS) GetSecretKey() string
func (*OssTencentCOS) ProtoMessage ¶
func (*OssTencentCOS) ProtoMessage()
func (*OssTencentCOS) ProtoReflect ¶
func (x *OssTencentCOS) ProtoReflect() protoreflect.Message
func (*OssTencentCOS) Reset ¶
func (x *OssTencentCOS) Reset()
func (*OssTencentCOS) String ¶
func (x *OssTencentCOS) 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) 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
Click to show internal directories.
Click to hide internal directories.