Documentation ¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetData() *Data
- 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 Data
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetDsn() 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_Redis
- func (*Data_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Redis) GetDb() int64
- func (x *Data_Redis) GetHost() string
- func (x *Data_Redis) GetPassword() string
- func (x *Data_Redis) GetPort() int64
- func (*Data_Redis) ProtoMessage()
- func (x *Data_Redis) ProtoReflect() protoreflect.Message
- func (x *Data_Redis) Reset()
- func (x *Data_Redis) 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_GRPC
- func (*Server_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Server_GRPC) GetHost() string
- func (x *Server_GRPC) GetPort() int64
- func (x *Server_GRPC) GetServiceName() 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) 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_iam_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"` Log *Log `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Token *Token `protobuf:"bytes,4,opt,name=token,proto3" json:"token,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 { 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"` Seed bool `protobuf:"varint,3,opt,name=seed,proto3" json:"seed,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
func (*Data) GetRedis ¶
func (x *Data) GetRedis() *Data_Redis
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_Database ¶
type Data_Database struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Dsn string `protobuf:"bytes,2,opt,name=dsn,proto3" json:"dsn,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) GetDsn ¶
func (x *Data_Database) GetDsn() 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_Redis ¶
type Data_Redis struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Db int64 `protobuf:"varint,4,opt,name=db,proto3" json:"db,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) GetDb ¶
func (x *Data_Redis) GetDb() int64
func (*Data_Redis) GetHost ¶
func (x *Data_Redis) GetHost() string
func (*Data_Redis) GetPassword ¶
func (x *Data_Redis) GetPassword() string
func (*Data_Redis) GetPort ¶
func (x *Data_Redis) GetPort() int64
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 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,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 { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` 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_GRPC) Descriptor
deprecated
func (*Server_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
func (*Server_GRPC) GetHost ¶
func (x *Server_GRPC) GetHost() string
func (*Server_GRPC) GetPort ¶
func (x *Server_GRPC) GetPort() int64
func (*Server_GRPC) GetServiceName ¶
func (x *Server_GRPC) GetServiceName() 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 { Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,4,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.