conf

package
v0.0.0-...-1246224 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Deprecated: Use AutoCode.ProtoReflect.Descriptor instead.

func (*AutoCode) GetAiPath

func (x *AutoCode) GetAiPath() string

func (*AutoCode) GetModule

func (x *AutoCode) GetModule() string

func (*AutoCode) GetRoot

func (x *AutoCode) GetRoot() string

func (*AutoCode) GetServer

func (x *AutoCode) GetServer() string

func (*AutoCode) GetWeb

func (x *AutoCode) GetWeb() string

func (*AutoCode) ProtoMessage

func (*AutoCode) ProtoMessage()

func (*AutoCode) ProtoReflect

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

func (*AutoCode) Reset

func (x *AutoCode) Reset()

func (*AutoCode) String

func (x *AutoCode) String() string

func (*AutoCode) WebRoot

func (a *AutoCode) WebRoot() string

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetAutoCode

func (x *Bootstrap) GetAutoCode() *AutoCode

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetEmail

func (x *Bootstrap) GetEmail() *Email

func (*Bootstrap) GetJwt

func (x *Bootstrap) GetJwt() *JWT

func (*Bootstrap) GetLog

func (x *Bootstrap) GetLog() *Log

func (*Bootstrap) GetMongo

func (x *Bootstrap) GetMongo() *Mongo

func (*Bootstrap) GetOss

func (x *Bootstrap) GetOss() *Oss

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

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

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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) 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() int64

func (*Email) GetSecret

func (x *Email) GetSecret() string

func (*Email) GetTo

func (x *Email) GetTo() string

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

Deprecated: Use JWT.ProtoReflect.Descriptor instead.

func (*JWT) GetBufferTime

func (x *JWT) GetBufferTime() string

func (*JWT) GetExpiresTime

func (x *JWT) GetExpiresTime() string

func (*JWT) GetIssuer

func (x *JWT) GetIssuer() string

func (*JWT) GetSigningKey

func (x *JWT) GetSigningKey() string

func (*JWT) GetUseMultipoint

func (x *JWT) GetUseMultipoint() bool

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAppid

func (x *Log) GetAppid() string

func (*Log) GetLogCompress

func (x *Log) GetLogCompress() bool

func (*Log) GetLogFile

func (x *Log) GetLogFile() bool

func (*Log) GetLogFileMaxBackups

func (x *Log) GetLogFileMaxBackups() int64

func (*Log) GetLogFileMaxSize

func (x *Log) GetLogFileMaxSize() int64

func (*Log) GetLogFormat

func (x *Log) GetLogFormat() string

func (*Log) GetLogLevel

func (x *Log) GetLogLevel() string

func (*Log) GetLogMaxAge

func (x *Log) GetLogMaxAge() int64

func (*Log) GetLogPath

func (x *Log) GetLogPath() string

func (*Log) GetServerName

func (x *Log) GetServerName() string

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

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

Deprecated: Use Mongo.ProtoReflect.Descriptor instead.

func (*Mongo) GetAuthSource

func (x *Mongo) GetAuthSource() string

func (*Mongo) GetColl

func (x *Mongo) GetColl() string

func (*Mongo) GetConnectTimeoutMs

func (x *Mongo) GetConnectTimeoutMs() int64

func (*Mongo) GetDatabase

func (x *Mongo) GetDatabase() string

func (*Mongo) GetHosts

func (x *Mongo) GetHosts() []*MongoHost

func (*Mongo) GetIsZap

func (x *Mongo) GetIsZap() bool

func (*Mongo) GetMaxPoolSize

func (x *Mongo) GetMaxPoolSize() int64

func (*Mongo) GetMinPoolSize

func (x *Mongo) GetMinPoolSize() int64

func (*Mongo) GetOptions

func (x *Mongo) GetOptions() string

func (*Mongo) GetPassword

func (x *Mongo) GetPassword() string

func (*Mongo) GetSocketTimeoutMs

func (x *Mongo) GetSocketTimeoutMs() int64

func (*Mongo) GetUsername

func (x *Mongo) GetUsername() string

func (*Mongo) ProtoMessage

func (*Mongo) ProtoMessage()

func (*Mongo) ProtoReflect

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

func (*Mongo) Reset

func (x *Mongo) Reset()

func (*Mongo) String

func (x *Mongo) String() string

func (*Mongo) Uri

func (x *Mongo) Uri() string

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

Deprecated: Use MongoHost.ProtoReflect.Descriptor instead.

func (*MongoHost) GetHost

func (x *MongoHost) GetHost() string

func (*MongoHost) GetPort

func (x *MongoHost) GetPort() string

func (*MongoHost) ProtoMessage

func (*MongoHost) ProtoMessage()

func (*MongoHost) ProtoReflect

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

func (*MongoHost) Reset

func (x *MongoHost) Reset()

func (*MongoHost) String

func (x *MongoHost) String() string

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

Deprecated: Use Oss.ProtoReflect.Descriptor instead.

func (*Oss) GetAliyun

func (x *Oss) GetAliyun() *OssAliyun

func (*Oss) GetAwsS3

func (x *Oss) GetAwsS3() *OssAwsS3

func (*Oss) GetCloudflareR2

func (x *Oss) GetCloudflareR2() *OssCloudflareR2

func (*Oss) GetHuaweiyun

func (x *Oss) GetHuaweiyun() *OssHuaweiyun

func (*Oss) GetLocal

func (x *Oss) GetLocal() *OssLocal

func (*Oss) GetQiniu

func (x *Oss) GetQiniu() *OssQiniu

func (*Oss) GetTencentCOS

func (x *Oss) GetTencentCOS() *OssTencentCOS

func (*Oss) GetType

func (x *Oss) GetType() string

func (*Oss) ProtoMessage

func (*Oss) ProtoMessage()

func (*Oss) ProtoReflect

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

func (*Oss) Reset

func (x *Oss) Reset()

func (*Oss) String

func (x *Oss) String() string

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

Deprecated: Use OssAliyun.ProtoReflect.Descriptor instead.

func (*OssAliyun) GetAccessKeyId

func (x *OssAliyun) GetAccessKeyId() string

func (*OssAliyun) GetAccessKeySecret

func (x *OssAliyun) GetAccessKeySecret() string

func (*OssAliyun) GetBasePath

func (x *OssAliyun) GetBasePath() string

func (*OssAliyun) GetBucketName

func (x *OssAliyun) GetBucketName() string

func (*OssAliyun) GetBucketUrl

func (x *OssAliyun) GetBucketUrl() string

func (*OssAliyun) GetEndpoint

func (x *OssAliyun) GetEndpoint() string

func (*OssAliyun) ProtoMessage

func (*OssAliyun) ProtoMessage()

func (*OssAliyun) ProtoReflect

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

func (*OssAliyun) Reset

func (x *OssAliyun) Reset()

func (*OssAliyun) String

func (x *OssAliyun) String() string

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

Deprecated: Use OssAwsS3.ProtoReflect.Descriptor instead.

func (*OssAwsS3) GetBaseURL

func (x *OssAwsS3) GetBaseURL() string

func (*OssAwsS3) GetBucket

func (x *OssAwsS3) GetBucket() string

func (*OssAwsS3) GetDisableSSL

func (x *OssAwsS3) GetDisableSSL() bool

func (*OssAwsS3) GetEndpoint

func (x *OssAwsS3) GetEndpoint() string

func (*OssAwsS3) GetPathPrefix

func (x *OssAwsS3) GetPathPrefix() string

func (*OssAwsS3) GetRegion

func (x *OssAwsS3) GetRegion() string

func (*OssAwsS3) GetS3ForcePathStyle

func (x *OssAwsS3) GetS3ForcePathStyle() bool

func (*OssAwsS3) GetSecretID

func (x *OssAwsS3) GetSecretID() string

func (*OssAwsS3) GetSecretKey

func (x *OssAwsS3) GetSecretKey() string

func (*OssAwsS3) ProtoMessage

func (*OssAwsS3) ProtoMessage()

func (*OssAwsS3) ProtoReflect

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

func (*OssAwsS3) Reset

func (x *OssAwsS3) Reset()

func (*OssAwsS3) String

func (x *OssAwsS3) String() string

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

Deprecated: Use OssLocal.ProtoReflect.Descriptor instead.

func (*OssLocal) GetPath

func (x *OssLocal) GetPath() string

func (*OssLocal) GetStorePath

func (x *OssLocal) GetStorePath() string

func (*OssLocal) ProtoMessage

func (*OssLocal) ProtoMessage()

func (*OssLocal) ProtoReflect

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

func (*OssLocal) Reset

func (x *OssLocal) Reset()

func (*OssLocal) String

func (x *OssLocal) String() string

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

Deprecated: Use OssQiniu.ProtoReflect.Descriptor instead.

func (*OssQiniu) GetAccessKey

func (x *OssQiniu) GetAccessKey() string

func (*OssQiniu) GetBucket

func (x *OssQiniu) GetBucket() string

func (*OssQiniu) GetImgPath

func (x *OssQiniu) GetImgPath() string

func (*OssQiniu) GetSecretKey

func (x *OssQiniu) GetSecretKey() string

func (*OssQiniu) GetUseCdnDomains

func (x *OssQiniu) GetUseCdnDomains() bool

func (*OssQiniu) GetUseHTTPS

func (x *OssQiniu) GetUseHTTPS() bool

func (*OssQiniu) GetZone

func (x *OssQiniu) GetZone() string

func (*OssQiniu) ProtoMessage

func (*OssQiniu) ProtoMessage()

func (*OssQiniu) ProtoReflect

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

func (*OssQiniu) Reset

func (x *OssQiniu) Reset()

func (*OssQiniu) String

func (x *OssQiniu) String() string

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) 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 *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳