Documentation ¶
Index ¶
- Variables
- type Bootstrap
- type Config
- type Data
- 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 ¶
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) 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"` 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) 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 {
// contains filtered or unexported fields
}
func (*Data) Descriptor
deprecated
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.