Documentation ¶
Index ¶
- Variables
- type Database
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Redis) GetAddr() string
- func (x *Redis) GetDb() int32
- func (x *Redis) GetPass() string
- func (x *Redis) GetReadTimeout() *durationpb.Duration
- func (x *Redis) GetSsl() bool
- func (x *Redis) GetUsername() string
- func (x *Redis) GetWriteTimeout() *durationpb.Duration
- func (*Redis) ProtoMessage()
- func (x *Redis) ProtoReflect() protoreflect.Message
- func (x *Redis) Reset()
- func (x *Redis) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAuth() *Server_AuthIntrospect
- func (x *Server) GetGrpc() *Server_GRPC
- func (x *Server) GetHttp() *Server_HTTP
- func (x *Server) GetLog() *Server_Log
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Server_AuthIntrospect
- func (*Server_AuthIntrospect) Descriptor() ([]byte, []int)deprecated
- func (x *Server_AuthIntrospect) GetAutoParse() bool
- func (x *Server_AuthIntrospect) GetExcludes() string
- func (x *Server_AuthIntrospect) GetRequired() bool
- func (*Server_AuthIntrospect) ProtoMessage()
- func (x *Server_AuthIntrospect) ProtoReflect() protoreflect.Message
- func (x *Server_AuthIntrospect) Reset()
- func (x *Server_AuthIntrospect) String() string
- 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() *durationpb.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() *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 Server_Log
- func (*Server_Log) Descriptor() ([]byte, []int)deprecated
- func (x *Server_Log) GetFile() string
- func (x *Server_Log) GetFormat() string
- func (x *Server_Log) GetLevel() string
- func (*Server_Log) ProtoMessage()
- func (x *Server_Log) ProtoReflect() protoreflect.Message
- func (x *Server_Log) Reset()
- func (x *Server_Log) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_conf_core_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Database ¶
type 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 (*Database) Descriptor
deprecated
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type Redis ¶
type Redis struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Pass string `protobuf:"bytes,2,opt,name=pass,proto3" json:"pass,omitempty"` Ssl bool `protobuf:"varint,3,opt,name=ssl,proto3" json:"ssl,omitempty"` Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` Username string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*Redis) Descriptor
deprecated
func (*Redis) GetReadTimeout ¶
func (x *Redis) GetReadTimeout() *durationpb.Duration
func (*Redis) GetUsername ¶
func (*Redis) GetWriteTimeout ¶
func (x *Redis) GetWriteTimeout() *durationpb.Duration
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) 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"` Auth *Server_AuthIntrospect `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` Log *Server_Log `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetAuth ¶
func (x *Server) GetAuth() *Server_AuthIntrospect
func (*Server) GetGrpc ¶
func (x *Server) GetGrpc() *Server_GRPC
func (*Server) GetHttp ¶
func (x *Server) GetHttp() *Server_HTTP
func (*Server) GetLog ¶
func (x *Server) GetLog() *Server_Log
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Server_AuthIntrospect ¶
type Server_AuthIntrospect struct { Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"` Excludes string `protobuf:"bytes,2,opt,name=excludes,proto3" json:"excludes,omitempty"` AutoParse bool `protobuf:"varint,3,opt,name=auto_parse,json=autoParse,proto3" json:"auto_parse,omitempty"` // contains filtered or unexported fields }
func (*Server_AuthIntrospect) Descriptor
deprecated
func (*Server_AuthIntrospect) Descriptor() ([]byte, []int)
Deprecated: Use Server_AuthIntrospect.ProtoReflect.Descriptor instead.
func (*Server_AuthIntrospect) GetAutoParse ¶
func (x *Server_AuthIntrospect) GetAutoParse() bool
func (*Server_AuthIntrospect) GetExcludes ¶
func (x *Server_AuthIntrospect) GetExcludes() string
func (*Server_AuthIntrospect) GetRequired ¶
func (x *Server_AuthIntrospect) GetRequired() bool
func (*Server_AuthIntrospect) ProtoMessage ¶
func (*Server_AuthIntrospect) ProtoMessage()
func (*Server_AuthIntrospect) ProtoReflect ¶
func (x *Server_AuthIntrospect) ProtoReflect() protoreflect.Message
func (*Server_AuthIntrospect) Reset ¶
func (x *Server_AuthIntrospect) Reset()
func (*Server_AuthIntrospect) String ¶
func (x *Server_AuthIntrospect) 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 *durationpb.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() *durationpb.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 *durationpb.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() *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 Server_Log ¶
type Server_Log struct { Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*Server_Log) Descriptor
deprecated
func (*Server_Log) Descriptor() ([]byte, []int)
Deprecated: Use Server_Log.ProtoReflect.Descriptor instead.
func (*Server_Log) GetFile ¶
func (x *Server_Log) GetFile() string
func (*Server_Log) GetFormat ¶
func (x *Server_Log) GetFormat() string
func (*Server_Log) GetLevel ¶
func (x *Server_Log) GetLevel() string
func (*Server_Log) ProtoMessage ¶
func (*Server_Log) ProtoMessage()
func (*Server_Log) ProtoReflect ¶
func (x *Server_Log) ProtoReflect() protoreflect.Message
func (*Server_Log) Reset ¶
func (x *Server_Log) Reset()
func (*Server_Log) String ¶
func (x *Server_Log) String() string
Click to show internal directories.
Click to hide internal directories.