Documentation ¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetMirror() *Mirror
- 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_TencentOSS
- func (*Data_TencentOSS) Descriptor() ([]byte, []int)deprecated
- func (x *Data_TencentOSS) GetBucketUrl() string
- func (x *Data_TencentOSS) GetSecretId() string
- func (x *Data_TencentOSS) GetSecretKey() string
- func (x *Data_TencentOSS) GetTimeout() *durationpb.Duration
- func (*Data_TencentOSS) ProtoMessage()
- func (x *Data_TencentOSS) ProtoReflect() protoreflect.Message
- func (x *Data_TencentOSS) Reset()
- func (x *Data_TencentOSS) String() string
- type Mirror
- func (*Mirror) Descriptor() ([]byte, []int)deprecated
- func (x *Mirror) GetH2() bool
- func (x *Mirror) GetInsecure() bool
- func (x *Mirror) GetServerName() string
- func (x *Mirror) GetTimeout() *durationpb.Duration
- func (x *Mirror) GetUpstream() string
- func (x *Mirror) GetWithoutTls() bool
- func (*Mirror) ProtoMessage()
- func (x *Mirror) ProtoReflect() protoreflect.Message
- func (x *Mirror) Reset()
- func (x *Mirror) String() string
- type Server
- type Server_Connect
- func (*Server_Connect) Descriptor() ([]byte, []int)deprecated
- func (x *Server_Connect) GetAddr() string
- func (x *Server_Connect) GetCert() string
- func (x *Server_Connect) GetKey() string
- func (x *Server_Connect) GetNetwork() string
- func (x *Server_Connect) GetTimeout() *durationpb.Duration
- func (x *Server_Connect) GetTls() bool
- func (*Server_Connect) ProtoMessage()
- func (x *Server_Connect) ProtoReflect() protoreflect.Message
- func (x *Server_Connect) Reset()
- func (x *Server_Connect) String() string
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 { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Mirror *Mirror `protobuf:"bytes,3,opt,name=mirror,proto3" json:"mirror,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 Data ¶
type Data struct { TencentOss *Data_TencentOSS `protobuf:"bytes,1,opt,name=tencent_oss,json=tencentOss,proto3" json:"tencent_oss,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetTencentOss ¶
func (x *Data) GetTencentOss() *Data_TencentOSS
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_TencentOSS ¶
type Data_TencentOSS struct { BucketUrl string `protobuf:"bytes,1,opt,name=bucket_url,json=bucketUrl,proto3" json:"bucket_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"` Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Data_TencentOSS) Descriptor
deprecated
func (*Data_TencentOSS) Descriptor() ([]byte, []int)
Deprecated: Use Data_TencentOSS.ProtoReflect.Descriptor instead.
func (*Data_TencentOSS) GetBucketUrl ¶
func (x *Data_TencentOSS) GetBucketUrl() string
func (*Data_TencentOSS) GetSecretId ¶
func (x *Data_TencentOSS) GetSecretId() string
func (*Data_TencentOSS) GetSecretKey ¶
func (x *Data_TencentOSS) GetSecretKey() string
func (*Data_TencentOSS) GetTimeout ¶
func (x *Data_TencentOSS) GetTimeout() *durationpb.Duration
func (*Data_TencentOSS) ProtoMessage ¶
func (*Data_TencentOSS) ProtoMessage()
func (*Data_TencentOSS) ProtoReflect ¶
func (x *Data_TencentOSS) ProtoReflect() protoreflect.Message
func (*Data_TencentOSS) Reset ¶
func (x *Data_TencentOSS) Reset()
func (*Data_TencentOSS) String ¶
func (x *Data_TencentOSS) String() string
type Mirror ¶
type Mirror struct { ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` Upstream string `protobuf:"bytes,2,opt,name=upstream,proto3" json:"upstream,omitempty"` H2 bool `protobuf:"varint,3,opt,name=h2,proto3" json:"h2,omitempty"` Insecure bool `protobuf:"varint,4,opt,name=insecure,proto3" json:"insecure,omitempty"` WithoutTls bool `protobuf:"varint,5,opt,name=without_tls,json=withoutTls,proto3" json:"without_tls,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Mirror) Descriptor
deprecated
func (*Mirror) GetInsecure ¶
func (*Mirror) GetServerName ¶
func (*Mirror) GetTimeout ¶
func (x *Mirror) GetTimeout() *durationpb.Duration
func (*Mirror) GetUpstream ¶
func (*Mirror) GetWithoutTls ¶
func (*Mirror) ProtoMessage ¶
func (*Mirror) ProtoMessage()
func (*Mirror) ProtoReflect ¶
func (x *Mirror) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Connect *Server_Connect `protobuf:"bytes,1,opt,name=connect,proto3" json:"connect,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetConnect ¶
func (x *Server) GetConnect() *Server_Connect
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Server_Connect ¶
type Server_Connect 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"` Tls bool `protobuf:"varint,4,opt,name=tls,proto3" json:"tls,omitempty"` Cert string `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"` Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*Server_Connect) Descriptor
deprecated
func (*Server_Connect) Descriptor() ([]byte, []int)
Deprecated: Use Server_Connect.ProtoReflect.Descriptor instead.
func (*Server_Connect) GetAddr ¶
func (x *Server_Connect) GetAddr() string
func (*Server_Connect) GetCert ¶
func (x *Server_Connect) GetCert() string
func (*Server_Connect) GetKey ¶
func (x *Server_Connect) GetKey() string
func (*Server_Connect) GetNetwork ¶
func (x *Server_Connect) GetNetwork() string
func (*Server_Connect) GetTimeout ¶
func (x *Server_Connect) GetTimeout() *durationpb.Duration
func (*Server_Connect) GetTls ¶
func (x *Server_Connect) GetTls() bool
func (*Server_Connect) ProtoMessage ¶
func (*Server_Connect) ProtoMessage()
func (*Server_Connect) ProtoReflect ¶
func (x *Server_Connect) ProtoReflect() protoreflect.Message
func (*Server_Connect) Reset ¶
func (x *Server_Connect) Reset()
func (*Server_Connect) String ¶
func (x *Server_Connect) String() string
Click to show internal directories.
Click to hide internal directories.