Documentation ¶
Index ¶
- Variables
- type Auth
- type Bootstrap
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAuth() *Auth
- func (x *Config) GetData() *Data
- func (x *Config) GetLog() *Log
- func (x *Config) GetServer() *Server
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetAliCode() *Data_AliCode
- func (x *Data) GetCos() *Data_Cos
- func (x *Data) GetDatabase() *Data_Database
- func (x *Data) GetElasticSearch() *Data_ElasticSearch
- func (x *Data) GetGitee() *Data_Gitee
- func (x *Data) GetGithub() *Data_Github
- func (x *Data) GetMail() *Data_Mail
- func (x *Data) GetQq() *Data_QQ
- func (x *Data) GetRedis() *Data_Redis
- func (x *Data) GetRocketmq() *Data_Rocketmq
- func (x *Data) GetWechat() *Data_Wechat
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Data_AliCode
- func (*Data_AliCode) Descriptor() ([]byte, []int)deprecated
- func (x *Data_AliCode) GetAccessKeyId() string
- func (x *Data_AliCode) GetAccessKeySecret() string
- func (x *Data_AliCode) GetDomainUrl() string
- func (x *Data_AliCode) GetSignName() string
- func (*Data_AliCode) ProtoMessage()
- func (x *Data_AliCode) ProtoReflect() protoreflect.Message
- func (x *Data_AliCode) Reset()
- func (x *Data_AliCode) String() string
- type Data_Cos
- func (*Data_Cos) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Cos) GetPolicy() *Data_Cos_Policy
- func (x *Data_Cos) GetRegion() string
- func (x *Data_Cos) GetSecretId() string
- func (x *Data_Cos) GetSecretKey() string
- func (x *Data_Cos) GetUrl() string
- func (*Data_Cos) ProtoMessage()
- func (x *Data_Cos) ProtoReflect() protoreflect.Message
- func (x *Data_Cos) Reset()
- func (x *Data_Cos) String() string
- type Data_Cos_Policy
- func (*Data_Cos_Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Cos_Policy) GetStatement() []*Data_Cos_Statement
- func (*Data_Cos_Policy) ProtoMessage()
- func (x *Data_Cos_Policy) ProtoReflect() protoreflect.Message
- func (x *Data_Cos_Policy) Reset()
- func (x *Data_Cos_Policy) String() string
- type Data_Cos_Statement
- func (*Data_Cos_Statement) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Cos_Statement) GetAction() []string
- func (x *Data_Cos_Statement) GetEffect() string
- func (x *Data_Cos_Statement) GetResource() []string
- func (*Data_Cos_Statement) ProtoMessage()
- func (x *Data_Cos_Statement) ProtoReflect() protoreflect.Message
- func (x *Data_Cos_Statement) Reset()
- func (x *Data_Cos_Statement) String() string
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetSource() string
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- type Data_ElasticSearch
- func (*Data_ElasticSearch) Descriptor() ([]byte, []int)deprecated
- func (x *Data_ElasticSearch) GetEndpoint() string
- func (x *Data_ElasticSearch) GetPassword() string
- func (x *Data_ElasticSearch) GetUser() string
- func (*Data_ElasticSearch) ProtoMessage()
- func (x *Data_ElasticSearch) ProtoReflect() protoreflect.Message
- func (x *Data_ElasticSearch) Reset()
- func (x *Data_ElasticSearch) String() string
- type Data_Gitee
- func (*Data_Gitee) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Gitee) GetAccessTokenUrl() string
- func (x *Data_Gitee) GetClientId() string
- func (x *Data_Gitee) GetClientSecret() string
- func (x *Data_Gitee) GetGrantType() string
- func (x *Data_Gitee) GetRedirectUri() string
- func (x *Data_Gitee) GetUserInfoUrl() string
- func (*Data_Gitee) ProtoMessage()
- func (x *Data_Gitee) ProtoReflect() protoreflect.Message
- func (x *Data_Gitee) Reset()
- func (x *Data_Gitee) String() string
- type Data_Github
- func (*Data_Github) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Github) GetAccessTokenUrl() string
- func (x *Data_Github) GetClientId() string
- func (x *Data_Github) GetClientSecret() string
- func (x *Data_Github) GetUserInfoUrl() string
- func (*Data_Github) ProtoMessage()
- func (x *Data_Github) ProtoReflect() protoreflect.Message
- func (x *Data_Github) Reset()
- func (x *Data_Github) String() string
- type Data_Mail
- type Data_QQ
- func (*Data_QQ) Descriptor() ([]byte, []int)deprecated
- func (x *Data_QQ) GetAccessTokenUrl() string
- func (x *Data_QQ) GetClientId() string
- func (x *Data_QQ) GetClientSecret() string
- func (x *Data_QQ) GetGrantType() string
- func (x *Data_QQ) GetOpenIdUrl() string
- func (x *Data_QQ) GetRedirectUri() string
- func (x *Data_QQ) GetUserInfoUrl() string
- func (*Data_QQ) ProtoMessage()
- func (x *Data_QQ) ProtoReflect() protoreflect.Message
- func (x *Data_QQ) Reset()
- func (x *Data_QQ) String() string
- type Data_Redis
- func (*Data_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Redis) GetAddr() string
- func (x *Data_Redis) GetNetwork() string
- func (x *Data_Redis) GetPassword() string
- func (x *Data_Redis) GetReadTimeout() *duration.Duration
- func (x *Data_Redis) GetWriteTimeout() *duration.Duration
- func (*Data_Redis) ProtoMessage()
- func (x *Data_Redis) ProtoReflect() protoreflect.Message
- func (x *Data_Redis) Reset()
- func (x *Data_Redis) String() string
- type Data_Rocketmq
- func (*Data_Rocketmq) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Rocketmq) GetAccessKey() string
- func (x *Data_Rocketmq) GetGroupName() string
- func (x *Data_Rocketmq) GetNameSpace() string
- func (x *Data_Rocketmq) GetSecretKey() string
- func (x *Data_Rocketmq) GetServerAddress() string
- func (*Data_Rocketmq) ProtoMessage()
- func (x *Data_Rocketmq) ProtoReflect() protoreflect.Message
- func (x *Data_Rocketmq) Reset()
- func (x *Data_Rocketmq) String() string
- type Data_Wechat
- func (*Data_Wechat) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Wechat) GetAccessTokenUrl() string
- func (x *Data_Wechat) GetAppid() string
- func (x *Data_Wechat) GetGrantType() string
- func (x *Data_Wechat) GetSecret() string
- func (x *Data_Wechat) GetUserInfoUrl() string
- func (*Data_Wechat) ProtoMessage()
- func (x *Data_Wechat) ProtoReflect() protoreflect.Message
- func (x *Data_Wechat) Reset()
- func (x *Data_Wechat) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAccessKeyID() string
- func (x *Log) GetAccessKeySecret() string
- func (x *Log) GetHost() string
- func (x *Log) GetTopicID() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) 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() *duration.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() *duration.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 ¶
var File_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
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"` Auth *Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` Log *Log `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
added in
v1.2.0
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
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"` Rocketmq *Data_Rocketmq `protobuf:"bytes,3,opt,name=rocketmq,proto3" json:"rocketmq,omitempty"` ElasticSearch *Data_ElasticSearch `protobuf:"bytes,4,opt,name=elasticSearch,proto3" json:"elasticSearch,omitempty"` Cos *Data_Cos `protobuf:"bytes,5,opt,name=cos,proto3" json:"cos,omitempty"` Github *Data_Github `protobuf:"bytes,6,opt,name=github,proto3" json:"github,omitempty"` Gitee *Data_Gitee `protobuf:"bytes,7,opt,name=gitee,proto3" json:"gitee,omitempty"` Wechat *Data_Wechat `protobuf:"bytes,8,opt,name=wechat,proto3" json:"wechat,omitempty"` Qq *Data_QQ `protobuf:"bytes,9,opt,name=qq,proto3" json:"qq,omitempty"` AliCode *Data_AliCode `protobuf:"bytes,10,opt,name=aliCode,proto3" json:"aliCode,omitempty"` Mail *Data_Mail `protobuf:"bytes,11,opt,name=mail,proto3" json:"mail,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetAliCode ¶ added in v1.3.0
func (x *Data) GetAliCode() *Data_AliCode
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
func (*Data) GetElasticSearch ¶
func (x *Data) GetElasticSearch() *Data_ElasticSearch
func (*Data) GetGitee ¶ added in v1.3.0
func (x *Data) GetGitee() *Data_Gitee
func (*Data) GetGithub ¶ added in v1.3.0
func (x *Data) GetGithub() *Data_Github
func (*Data) GetRedis ¶
func (x *Data) GetRedis() *Data_Redis
func (*Data) GetRocketmq ¶
func (x *Data) GetRocketmq() *Data_Rocketmq
func (*Data) GetWechat ¶ added in v1.3.0
func (x *Data) GetWechat() *Data_Wechat
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_AliCode ¶ added in v1.3.0
type Data_AliCode struct { DomainUrl string `protobuf:"bytes,1,opt,name=domainUrl,proto3" json:"domainUrl,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"` SignName string `protobuf:"bytes,4,opt,name=signName,proto3" json:"signName,omitempty"` // contains filtered or unexported fields }
func (*Data_AliCode) Descriptor
deprecated
added in
v1.3.0
func (*Data_AliCode) Descriptor() ([]byte, []int)
Deprecated: Use Data_AliCode.ProtoReflect.Descriptor instead.
func (*Data_AliCode) GetAccessKeyId ¶ added in v1.3.0
func (x *Data_AliCode) GetAccessKeyId() string
func (*Data_AliCode) GetAccessKeySecret ¶ added in v1.3.0
func (x *Data_AliCode) GetAccessKeySecret() string
func (*Data_AliCode) GetDomainUrl ¶ added in v1.3.0
func (x *Data_AliCode) GetDomainUrl() string
func (*Data_AliCode) GetSignName ¶ added in v1.3.0
func (x *Data_AliCode) GetSignName() string
func (*Data_AliCode) ProtoMessage ¶ added in v1.3.0
func (*Data_AliCode) ProtoMessage()
func (*Data_AliCode) ProtoReflect ¶ added in v1.3.0
func (x *Data_AliCode) ProtoReflect() protoreflect.Message
func (*Data_AliCode) Reset ¶ added in v1.3.0
func (x *Data_AliCode) Reset()
func (*Data_AliCode) String ¶ added in v1.3.0
func (x *Data_AliCode) String() string
type Data_Cos ¶
type Data_Cos struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` Policy *Data_Cos_Policy `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*Data_Cos) Descriptor
deprecated
func (*Data_Cos) GetPolicy ¶
func (x *Data_Cos) GetPolicy() *Data_Cos_Policy
func (*Data_Cos) GetSecretId ¶
func (*Data_Cos) GetSecretKey ¶
func (*Data_Cos) ProtoMessage ¶
func (*Data_Cos) ProtoMessage()
func (*Data_Cos) ProtoReflect ¶
func (x *Data_Cos) ProtoReflect() protoreflect.Message
type Data_Cos_Policy ¶
type Data_Cos_Policy struct { Statement []*Data_Cos_Statement `protobuf:"bytes,1,rep,name=statement,proto3" json:"statement,omitempty"` // contains filtered or unexported fields }
func (*Data_Cos_Policy) Descriptor
deprecated
func (*Data_Cos_Policy) Descriptor() ([]byte, []int)
Deprecated: Use Data_Cos_Policy.ProtoReflect.Descriptor instead.
func (*Data_Cos_Policy) GetStatement ¶
func (x *Data_Cos_Policy) GetStatement() []*Data_Cos_Statement
func (*Data_Cos_Policy) ProtoMessage ¶
func (*Data_Cos_Policy) ProtoMessage()
func (*Data_Cos_Policy) ProtoReflect ¶
func (x *Data_Cos_Policy) ProtoReflect() protoreflect.Message
func (*Data_Cos_Policy) Reset ¶
func (x *Data_Cos_Policy) Reset()
func (*Data_Cos_Policy) String ¶
func (x *Data_Cos_Policy) String() string
type Data_Cos_Statement ¶
type Data_Cos_Statement struct { Action []string `protobuf:"bytes,1,rep,name=action,proto3" json:"action,omitempty"` Effect string `protobuf:"bytes,2,opt,name=effect,proto3" json:"effect,omitempty"` Resource []string `protobuf:"bytes,3,rep,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Data_Cos_Statement) Descriptor
deprecated
func (*Data_Cos_Statement) Descriptor() ([]byte, []int)
Deprecated: Use Data_Cos_Statement.ProtoReflect.Descriptor instead.
func (*Data_Cos_Statement) GetAction ¶
func (x *Data_Cos_Statement) GetAction() []string
func (*Data_Cos_Statement) GetEffect ¶
func (x *Data_Cos_Statement) GetEffect() string
func (*Data_Cos_Statement) GetResource ¶
func (x *Data_Cos_Statement) GetResource() []string
func (*Data_Cos_Statement) ProtoMessage ¶
func (*Data_Cos_Statement) ProtoMessage()
func (*Data_Cos_Statement) ProtoReflect ¶
func (x *Data_Cos_Statement) ProtoReflect() protoreflect.Message
func (*Data_Cos_Statement) Reset ¶
func (x *Data_Cos_Statement) Reset()
func (*Data_Cos_Statement) String ¶
func (x *Data_Cos_Statement) 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_ElasticSearch ¶
type Data_ElasticSearch struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*Data_ElasticSearch) Descriptor
deprecated
func (*Data_ElasticSearch) Descriptor() ([]byte, []int)
Deprecated: Use Data_ElasticSearch.ProtoReflect.Descriptor instead.
func (*Data_ElasticSearch) GetEndpoint ¶
func (x *Data_ElasticSearch) GetEndpoint() string
func (*Data_ElasticSearch) GetPassword ¶
func (x *Data_ElasticSearch) GetPassword() string
func (*Data_ElasticSearch) GetUser ¶
func (x *Data_ElasticSearch) GetUser() string
func (*Data_ElasticSearch) ProtoMessage ¶
func (*Data_ElasticSearch) ProtoMessage()
func (*Data_ElasticSearch) ProtoReflect ¶
func (x *Data_ElasticSearch) ProtoReflect() protoreflect.Message
func (*Data_ElasticSearch) Reset ¶
func (x *Data_ElasticSearch) Reset()
func (*Data_ElasticSearch) String ¶
func (x *Data_ElasticSearch) String() string
type Data_Gitee ¶ added in v1.3.0
type Data_Gitee struct { AccessTokenUrl string `protobuf:"bytes,1,opt,name=accessTokenUrl,proto3" json:"accessTokenUrl,omitempty"` UserInfoUrl string `protobuf:"bytes,2,opt,name=userInfoUrl,proto3" json:"userInfoUrl,omitempty"` ClientId string `protobuf:"bytes,3,opt,name=clientId,proto3" json:"clientId,omitempty"` ClientSecret string `protobuf:"bytes,4,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` GrantType string `protobuf:"bytes,5,opt,name=grantType,proto3" json:"grantType,omitempty"` RedirectUri string `protobuf:"bytes,6,opt,name=redirectUri,proto3" json:"redirectUri,omitempty"` // contains filtered or unexported fields }
func (*Data_Gitee) Descriptor
deprecated
added in
v1.3.0
func (*Data_Gitee) Descriptor() ([]byte, []int)
Deprecated: Use Data_Gitee.ProtoReflect.Descriptor instead.
func (*Data_Gitee) GetAccessTokenUrl ¶ added in v1.3.0
func (x *Data_Gitee) GetAccessTokenUrl() string
func (*Data_Gitee) GetClientId ¶ added in v1.3.0
func (x *Data_Gitee) GetClientId() string
func (*Data_Gitee) GetClientSecret ¶ added in v1.3.0
func (x *Data_Gitee) GetClientSecret() string
func (*Data_Gitee) GetGrantType ¶ added in v1.3.0
func (x *Data_Gitee) GetGrantType() string
func (*Data_Gitee) GetRedirectUri ¶ added in v1.3.0
func (x *Data_Gitee) GetRedirectUri() string
func (*Data_Gitee) GetUserInfoUrl ¶ added in v1.3.0
func (x *Data_Gitee) GetUserInfoUrl() string
func (*Data_Gitee) ProtoMessage ¶ added in v1.3.0
func (*Data_Gitee) ProtoMessage()
func (*Data_Gitee) ProtoReflect ¶ added in v1.3.0
func (x *Data_Gitee) ProtoReflect() protoreflect.Message
func (*Data_Gitee) Reset ¶ added in v1.3.0
func (x *Data_Gitee) Reset()
func (*Data_Gitee) String ¶ added in v1.3.0
func (x *Data_Gitee) String() string
type Data_Github ¶ added in v1.3.0
type Data_Github struct { AccessTokenUrl string `protobuf:"bytes,1,opt,name=accessTokenUrl,proto3" json:"accessTokenUrl,omitempty"` UserInfoUrl string `protobuf:"bytes,2,opt,name=userInfoUrl,proto3" json:"userInfoUrl,omitempty"` ClientId string `protobuf:"bytes,3,opt,name=clientId,proto3" json:"clientId,omitempty"` ClientSecret string `protobuf:"bytes,4,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` // contains filtered or unexported fields }
func (*Data_Github) Descriptor
deprecated
added in
v1.3.0
func (*Data_Github) Descriptor() ([]byte, []int)
Deprecated: Use Data_Github.ProtoReflect.Descriptor instead.
func (*Data_Github) GetAccessTokenUrl ¶ added in v1.3.0
func (x *Data_Github) GetAccessTokenUrl() string
func (*Data_Github) GetClientId ¶ added in v1.3.0
func (x *Data_Github) GetClientId() string
func (*Data_Github) GetClientSecret ¶ added in v1.3.0
func (x *Data_Github) GetClientSecret() string
func (*Data_Github) GetUserInfoUrl ¶ added in v1.3.0
func (x *Data_Github) GetUserInfoUrl() string
func (*Data_Github) ProtoMessage ¶ added in v1.3.0
func (*Data_Github) ProtoMessage()
func (*Data_Github) ProtoReflect ¶ added in v1.3.0
func (x *Data_Github) ProtoReflect() protoreflect.Message
func (*Data_Github) Reset ¶ added in v1.3.0
func (x *Data_Github) Reset()
func (*Data_Github) String ¶ added in v1.3.0
func (x *Data_Github) String() string
type Data_Mail ¶ added in v1.3.0
type Data_Mail struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Data_Mail) Descriptor
deprecated
added in
v1.3.0
func (*Data_Mail) ProtoMessage ¶ added in v1.3.0
func (*Data_Mail) ProtoMessage()
func (*Data_Mail) ProtoReflect ¶ added in v1.3.0
func (x *Data_Mail) ProtoReflect() protoreflect.Message
type Data_QQ ¶ added in v1.3.0
type Data_QQ struct { AccessTokenUrl string `protobuf:"bytes,1,opt,name=accessTokenUrl,proto3" json:"accessTokenUrl,omitempty"` OpenIdUrl string `protobuf:"bytes,2,opt,name=openIdUrl,proto3" json:"openIdUrl,omitempty"` UserInfoUrl string `protobuf:"bytes,3,opt,name=userInfoUrl,proto3" json:"userInfoUrl,omitempty"` ClientId string `protobuf:"bytes,4,opt,name=clientId,proto3" json:"clientId,omitempty"` ClientSecret string `protobuf:"bytes,5,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` GrantType string `protobuf:"bytes,6,opt,name=grantType,proto3" json:"grantType,omitempty"` RedirectUri string `protobuf:"bytes,7,opt,name=redirectUri,proto3" json:"redirectUri,omitempty"` // contains filtered or unexported fields }
func (*Data_QQ) Descriptor
deprecated
added in
v1.3.0
func (*Data_QQ) GetAccessTokenUrl ¶ added in v1.3.0
func (*Data_QQ) GetClientId ¶ added in v1.3.0
func (*Data_QQ) GetClientSecret ¶ added in v1.3.0
func (*Data_QQ) GetGrantType ¶ added in v1.3.0
func (*Data_QQ) GetOpenIdUrl ¶ added in v1.3.0
func (*Data_QQ) GetRedirectUri ¶ added in v1.3.0
func (*Data_QQ) GetUserInfoUrl ¶ added in v1.3.0
func (*Data_QQ) ProtoMessage ¶ added in v1.3.0
func (*Data_QQ) ProtoMessage()
func (*Data_QQ) ProtoReflect ¶ added in v1.3.0
func (x *Data_QQ) ProtoReflect() protoreflect.Message
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 Data_Rocketmq ¶
type Data_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 (*Data_Rocketmq) Descriptor
deprecated
func (*Data_Rocketmq) Descriptor() ([]byte, []int)
Deprecated: Use Data_Rocketmq.ProtoReflect.Descriptor instead.
func (*Data_Rocketmq) GetAccessKey ¶
func (x *Data_Rocketmq) GetAccessKey() string
func (*Data_Rocketmq) GetGroupName ¶ added in v1.3.0
func (x *Data_Rocketmq) GetGroupName() string
func (*Data_Rocketmq) GetNameSpace ¶
func (x *Data_Rocketmq) GetNameSpace() string
func (*Data_Rocketmq) GetSecretKey ¶
func (x *Data_Rocketmq) GetSecretKey() string
func (*Data_Rocketmq) GetServerAddress ¶
func (x *Data_Rocketmq) GetServerAddress() string
func (*Data_Rocketmq) ProtoMessage ¶
func (*Data_Rocketmq) ProtoMessage()
func (*Data_Rocketmq) ProtoReflect ¶
func (x *Data_Rocketmq) ProtoReflect() protoreflect.Message
func (*Data_Rocketmq) Reset ¶
func (x *Data_Rocketmq) Reset()
func (*Data_Rocketmq) String ¶
func (x *Data_Rocketmq) String() string
type Data_Wechat ¶ added in v1.3.0
type Data_Wechat struct { AccessTokenUrl string `protobuf:"bytes,1,opt,name=accessTokenUrl,proto3" json:"accessTokenUrl,omitempty"` UserInfoUrl string `protobuf:"bytes,2,opt,name=userInfoUrl,proto3" json:"userInfoUrl,omitempty"` Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` GrantType string `protobuf:"bytes,5,opt,name=grantType,proto3" json:"grantType,omitempty"` // contains filtered or unexported fields }
func (*Data_Wechat) Descriptor
deprecated
added in
v1.3.0
func (*Data_Wechat) Descriptor() ([]byte, []int)
Deprecated: Use Data_Wechat.ProtoReflect.Descriptor instead.
func (*Data_Wechat) GetAccessTokenUrl ¶ added in v1.3.0
func (x *Data_Wechat) GetAccessTokenUrl() string
func (*Data_Wechat) GetAppid ¶ added in v1.3.0
func (x *Data_Wechat) GetAppid() string
func (*Data_Wechat) GetGrantType ¶ added in v1.3.0
func (x *Data_Wechat) GetGrantType() string
func (*Data_Wechat) GetSecret ¶ added in v1.3.0
func (x *Data_Wechat) GetSecret() string
func (*Data_Wechat) GetUserInfoUrl ¶ added in v1.3.0
func (x *Data_Wechat) GetUserInfoUrl() string
func (*Data_Wechat) ProtoMessage ¶ added in v1.3.0
func (*Data_Wechat) ProtoMessage()
func (*Data_Wechat) ProtoReflect ¶ added in v1.3.0
func (x *Data_Wechat) ProtoReflect() protoreflect.Message
func (*Data_Wechat) Reset ¶ added in v1.3.0
func (x *Data_Wechat) Reset()
func (*Data_Wechat) String ¶ added in v1.3.0
func (x *Data_Wechat) 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) GetAccessKeyID ¶ added in v1.1.0
func (*Log) GetAccessKeySecret ¶ added in v1.1.0
func (*Log) GetTopicID ¶ added in v1.1.0
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
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 *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