Documentation ¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetLog() *Log
- func (x *Bootstrap) GetServer() *Server
- func (x *Bootstrap) GetToken() *Token
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetDisableCaller() bool
- func (x *Log) GetDisableColor() bool
- func (x *Log) GetEnableAbsPath() bool
- func (x *Log) GetEnableFunc() bool
- func (x *Log) GetFormatter() string
- func (x *Log) GetIgnoreBasicFields() bool
- func (x *Log) GetLevel() int32
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Server
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetHost() string
- func (x *Server_HTTP) GetPort() int64
- func (x *Server_HTTP) GetTimeout() *durationpb.Duration
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_gateway_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"` Token *Token `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Log *Log `protobuf:"bytes,3,opt,name=log,proto3" json:"log,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 Log ¶
type Log struct { Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` Formatter string `protobuf:"bytes,2,opt,name=formatter,proto3" json:"formatter,omitempty"` DisableCaller bool `protobuf:"varint,3,opt,name=disable_caller,json=disableCaller,proto3" json:"disable_caller,omitempty"` DisableColor bool `protobuf:"varint,4,opt,name=disable_color,json=disableColor,proto3" json:"disable_color,omitempty"` EnableAbsPath bool `protobuf:"varint,5,opt,name=enable_abs_path,json=enableAbsPath,proto3" json:"enable_abs_path,omitempty"` EnableFunc bool `protobuf:"varint,6,opt,name=enable_func,json=enableFunc,proto3" json:"enable_func,omitempty"` IgnoreBasicFields bool `protobuf:"varint,7,opt,name=ignore_basic_fields,json=ignoreBasicFields,proto3" json:"ignore_basic_fields,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetDisableCaller ¶
func (*Log) GetDisableColor ¶
func (*Log) GetEnableAbsPath ¶
func (*Log) GetEnableFunc ¶
func (*Log) GetFormatter ¶
func (*Log) GetIgnoreBasicFields ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Http *Server_HTTP `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
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_HTTP ¶
type Server_HTTP struct { Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,5,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) GetHost ¶
func (x *Server_HTTP) GetHost() string
func (*Server_HTTP) GetPort ¶
func (x *Server_HTTP) GetPort() int64
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
type Token ¶
type Token struct { Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` Expiration *durationpb.Duration `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) GetExpiration ¶
func (x *Token) GetExpiration() *durationpb.Duration
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.