conf

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 5 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 Bootstrap

type Bootstrap struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

func (*Bootstrap) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetConfig added in v1.2.0

func (x *Bootstrap) GetConfig() *Config

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 Config added in v1.2.0

type Config 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"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated added in v1.2.0

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetData added in v1.2.0

func (x *Config) GetData() *Data

func (*Config) GetLog added in v1.2.0

func (x *Config) GetLog() *Log

func (*Config) GetServer added in v1.2.0

func (x *Config) GetServer() *Server

func (*Config) ProtoMessage added in v1.2.0

func (*Config) ProtoMessage()

func (*Config) ProtoReflect added in v1.2.0

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

func (*Config) Reset added in v1.2.0

func (x *Config) Reset()

func (*Config) String added in v1.2.0

func (x *Config) String() string

type Data

type Data struct {
	Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Jwt      *Data_Jwt      `protobuf:"bytes,2,opt,name=jwt,proto3" json:"jwt,omitempty"`
	Cos      *Data_Cos      `protobuf:"bytes,3,opt,name=cos,proto3" json:"cos,omitempty"`
	Redis    *Data_Redis    `protobuf:"bytes,4,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) GetCos

func (x *Data) GetCos() *Data_Cos

func (*Data) GetDatabase

func (x *Data) GetDatabase() *Data_Database

func (*Data) GetJwt

func (x *Data) GetJwt() *Data_Jwt

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_Cos

type Data_Cos struct {
	BucketUser     *Data_Cos_BucketUser     `protobuf:"bytes,1,opt,name=bucketUser,proto3" json:"bucketUser,omitempty"`
	BucketCreation *Data_Cos_BucketCreation `protobuf:"bytes,2,opt,name=bucketCreation,proto3" json:"bucketCreation,omitempty"`
	BucketComment  *Data_Cos_BucketComment  `protobuf:"bytes,3,opt,name=bucketComment,proto3" json:"bucketComment,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Cos) Descriptor deprecated

func (*Data_Cos) Descriptor() ([]byte, []int)

Deprecated: Use Data_Cos.ProtoReflect.Descriptor instead.

func (*Data_Cos) GetBucketComment

func (x *Data_Cos) GetBucketComment() *Data_Cos_BucketComment

func (*Data_Cos) GetBucketCreation

func (x *Data_Cos) GetBucketCreation() *Data_Cos_BucketCreation

func (*Data_Cos) GetBucketUser

func (x *Data_Cos) GetBucketUser() *Data_Cos_BucketUser

func (*Data_Cos) ProtoMessage

func (*Data_Cos) ProtoMessage()

func (*Data_Cos) ProtoReflect

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

func (*Data_Cos) Reset

func (x *Data_Cos) Reset()

func (*Data_Cos) String

func (x *Data_Cos) String() string

type Data_Cos_BucketComment

type Data_Cos_BucketComment struct {
	BucketUrl string            `protobuf:"bytes,1,opt,name=bucketUrl,proto3" json:"bucketUrl,omitempty"`
	CiUrl     string            `protobuf:"bytes,2,opt,name=ciUrl,proto3" json:"ciUrl,omitempty"`
	SecretId  string            `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	SecretKey string            `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Callback  map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Data_Cos_BucketComment) Descriptor deprecated

func (*Data_Cos_BucketComment) Descriptor() ([]byte, []int)

Deprecated: Use Data_Cos_BucketComment.ProtoReflect.Descriptor instead.

func (*Data_Cos_BucketComment) GetBucketUrl

func (x *Data_Cos_BucketComment) GetBucketUrl() string

func (*Data_Cos_BucketComment) GetCallback

func (x *Data_Cos_BucketComment) GetCallback() map[string]string

func (*Data_Cos_BucketComment) GetCiUrl

func (x *Data_Cos_BucketComment) GetCiUrl() string

func (*Data_Cos_BucketComment) GetSecretId

func (x *Data_Cos_BucketComment) GetSecretId() string

func (*Data_Cos_BucketComment) GetSecretKey

func (x *Data_Cos_BucketComment) GetSecretKey() string

func (*Data_Cos_BucketComment) ProtoMessage

func (*Data_Cos_BucketComment) ProtoMessage()

func (*Data_Cos_BucketComment) ProtoReflect

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

func (*Data_Cos_BucketComment) Reset

func (x *Data_Cos_BucketComment) Reset()

func (*Data_Cos_BucketComment) String

func (x *Data_Cos_BucketComment) String() string

type Data_Cos_BucketCreation

type Data_Cos_BucketCreation struct {
	BucketUrl string            `protobuf:"bytes,1,opt,name=bucketUrl,proto3" json:"bucketUrl,omitempty"`
	CiUrl     string            `protobuf:"bytes,2,opt,name=ciUrl,proto3" json:"ciUrl,omitempty"`
	SecretId  string            `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	SecretKey string            `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Callback  map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Data_Cos_BucketCreation) Descriptor deprecated

func (*Data_Cos_BucketCreation) Descriptor() ([]byte, []int)

Deprecated: Use Data_Cos_BucketCreation.ProtoReflect.Descriptor instead.

func (*Data_Cos_BucketCreation) GetBucketUrl

func (x *Data_Cos_BucketCreation) GetBucketUrl() string

func (*Data_Cos_BucketCreation) GetCallback

func (x *Data_Cos_BucketCreation) GetCallback() map[string]string

func (*Data_Cos_BucketCreation) GetCiUrl

func (x *Data_Cos_BucketCreation) GetCiUrl() string

func (*Data_Cos_BucketCreation) GetSecretId

func (x *Data_Cos_BucketCreation) GetSecretId() string

func (*Data_Cos_BucketCreation) GetSecretKey

func (x *Data_Cos_BucketCreation) GetSecretKey() string

func (*Data_Cos_BucketCreation) ProtoMessage

func (*Data_Cos_BucketCreation) ProtoMessage()

func (*Data_Cos_BucketCreation) ProtoReflect

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

func (*Data_Cos_BucketCreation) Reset

func (x *Data_Cos_BucketCreation) Reset()

func (*Data_Cos_BucketCreation) String

func (x *Data_Cos_BucketCreation) String() string

type Data_Cos_BucketUser

type Data_Cos_BucketUser struct {
	BucketUrl string `protobuf:"bytes,1,opt,name=bucketUrl,proto3" json:"bucketUrl,omitempty"`
	SecretId  string `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
	SecretKey string `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Cos_BucketUser) Descriptor deprecated

func (*Data_Cos_BucketUser) Descriptor() ([]byte, []int)

Deprecated: Use Data_Cos_BucketUser.ProtoReflect.Descriptor instead.

func (*Data_Cos_BucketUser) GetBucketUrl

func (x *Data_Cos_BucketUser) GetBucketUrl() string

func (*Data_Cos_BucketUser) GetSecretId

func (x *Data_Cos_BucketUser) GetSecretId() string

func (*Data_Cos_BucketUser) GetSecretKey

func (x *Data_Cos_BucketUser) GetSecretKey() string

func (*Data_Cos_BucketUser) ProtoMessage

func (*Data_Cos_BucketUser) ProtoMessage()

func (*Data_Cos_BucketUser) ProtoReflect

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

func (*Data_Cos_BucketUser) Reset

func (x *Data_Cos_BucketUser) Reset()

func (*Data_Cos_BucketUser) String

func (x *Data_Cos_BucketUser) String() string

type Data_Database

type Data_Database struct {
	Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,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) GetSource

func (x *Data_Database) GetSource() 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_Jwt

type Data_Jwt struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Jwt) Descriptor deprecated

func (*Data_Jwt) Descriptor() ([]byte, []int)

Deprecated: Use Data_Jwt.ProtoReflect.Descriptor instead.

func (*Data_Jwt) GetKey

func (x *Data_Jwt) GetKey() string

func (*Data_Jwt) ProtoMessage

func (*Data_Jwt) ProtoMessage()

func (*Data_Jwt) ProtoReflect

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

func (*Data_Jwt) Reset

func (x *Data_Jwt) Reset()

func (*Data_Jwt) String

func (x *Data_Jwt) 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"`
	Password     string             `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	ReadTimeout  *duration.Duration `protobuf:"bytes,4,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"`
	WriteTimeout *duration.Duration `protobuf:"bytes,5,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,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) 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() *duration.Duration

func (*Data_Redis) GetWriteTimeout

func (x *Data_Redis) GetWriteTimeout() *duration.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 added in v1.1.0

type Log struct {
	Host            string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,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"`
	TopicID         string `protobuf:"bytes,4,opt,name=topicID,proto3" json:"topicID,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated added in v1.1.0

func (*Log) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAccessKeyID added in v1.1.0

func (x *Log) GetAccessKeyID() string

func (*Log) GetAccessKeySecret added in v1.1.0

func (x *Log) GetAccessKeySecret() string

func (*Log) GetHost added in v1.1.0

func (x *Log) GetHost() string

func (*Log) GetTopicID added in v1.1.0

func (x *Log) GetTopicID() string

func (*Log) ProtoMessage added in v1.1.0

func (*Log) ProtoMessage()

func (*Log) ProtoReflect added in v1.1.0

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

func (*Log) Reset added in v1.1.0

func (x *Log) Reset()

func (*Log) String added in v1.1.0

func (x *Log) 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"`
	Rocketmq *Server_RocketMq `protobuf:"bytes,3,opt,name=rocketmq,proto3" json:"rocketmq,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) GetRocketmq added in v1.3.0

func (x *Server) GetRocketmq() *Server_RocketMq

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 *duration.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() *duration.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 *duration.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() *duration.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 Server_RocketMq added in v1.3.0

type Server_RocketMq struct {
	ServerAddress string `protobuf:"bytes,1,opt,name=serverAddress,proto3" json:"serverAddress,omitempty"`
	SecretKey     string `protobuf:"bytes,2,opt,name=secretKey,proto3" json:"secretKey,omitempty"`
	AccessKey     string `protobuf:"bytes,3,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
	NameSpace     string `protobuf:"bytes,4,opt,name=nameSpace,proto3" json:"nameSpace,omitempty"`
	GroupName     string `protobuf:"bytes,5,opt,name=groupName,proto3" json:"groupName,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_RocketMq) Descriptor deprecated added in v1.3.0

func (*Server_RocketMq) Descriptor() ([]byte, []int)

Deprecated: Use Server_RocketMq.ProtoReflect.Descriptor instead.

func (*Server_RocketMq) GetAccessKey added in v1.3.0

func (x *Server_RocketMq) GetAccessKey() string

func (*Server_RocketMq) GetGroupName added in v1.3.0

func (x *Server_RocketMq) GetGroupName() string

func (*Server_RocketMq) GetNameSpace added in v1.3.0

func (x *Server_RocketMq) GetNameSpace() string

func (*Server_RocketMq) GetSecretKey added in v1.3.0

func (x *Server_RocketMq) GetSecretKey() string

func (*Server_RocketMq) GetServerAddress added in v1.3.0

func (x *Server_RocketMq) GetServerAddress() string

func (*Server_RocketMq) ProtoMessage added in v1.3.0

func (*Server_RocketMq) ProtoMessage()

func (*Server_RocketMq) ProtoReflect added in v1.3.0

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

func (*Server_RocketMq) Reset added in v1.3.0

func (x *Server_RocketMq) Reset()

func (*Server_RocketMq) String added in v1.3.0

func (x *Server_RocketMq) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL