Versions in this module Expand all Collapse all v0 v0.0.29 Jul 27, 2024 v0.0.28 Jul 20, 2024 v0.0.27 Jul 16, 2024 v0.0.26 Jul 4, 2024 v0.0.25 Jul 4, 2024 v0.0.24 May 7, 2024 v0.0.23 May 7, 2024 v0.0.22 Apr 29, 2024 v0.0.21 Apr 29, 2024 v0.0.20 Apr 29, 2024 v0.0.19 Apr 27, 2024 v0.0.18 Apr 27, 2024 v0.0.17 Apr 27, 2024 v0.0.16 Apr 27, 2024 v0.0.15 Apr 23, 2024 v0.0.14 Apr 23, 2024 v0.0.13 Apr 23, 2024 v0.0.12 Apr 17, 2024 v0.0.11 Apr 17, 2024 Changes in this version + var File_conf_conf_proto protoreflect.FileDescriptor + var ProviderSetConf = wire.NewSet(wire.FieldsOf(new(*Bootstrap), "Server"), ...) + type Before func(bc *Bootstrap) error + type Bootstrap struct + Data *Data + Env *Env + Log *Log + Server *Server + func LoadConfig(flagConf *string, before Before) (*Bootstrap, error) + func (*Bootstrap) Descriptor() ([]byte, []int) + func (*Bootstrap) ProtoMessage() + func (x *Bootstrap) GetData() *Data + func (x *Bootstrap) GetEnv() *Env + func (x *Bootstrap) GetLog() *Log + func (x *Bootstrap) GetServer() *Server + func (x *Bootstrap) ProtoReflect() protoreflect.Message + func (x *Bootstrap) Reset() + func (x *Bootstrap) String() string + type Data struct + Database *Data_Database + Redis *Data_Redis + func (*Data) Descriptor() ([]byte, []int) + func (*Data) ProtoMessage() + func (x *Data) GetDatabase() *Data_Database + func (x *Data) GetRedis() *Data_Redis + func (x *Data) ProtoReflect() protoreflect.Message + func (x *Data) Reset() + func (x *Data) String() string + type Data_Database struct + Driver string + Source string + func (*Data_Database) Descriptor() ([]byte, []int) + func (*Data_Database) ProtoMessage() + func (x *Data_Database) GetDriver() string + func (x *Data_Database) GetSource() string + func (x *Data_Database) ProtoReflect() protoreflect.Message + func (x *Data_Database) Reset() + func (x *Data_Database) String() string + type Data_Redis struct + Addr string + Network string + ReadTimeout *durationpb.Duration + WriteTimeout *durationpb.Duration + func (*Data_Redis) Descriptor() ([]byte, []int) + func (*Data_Redis) ProtoMessage() + func (x *Data_Redis) GetAddr() string + func (x *Data_Redis) GetNetwork() string + func (x *Data_Redis) GetReadTimeout() *durationpb.Duration + func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration + func (x *Data_Redis) ProtoReflect() protoreflect.Message + func (x *Data_Redis) Reset() + func (x *Data_Redis) String() string + type Env struct + Metadata map[string]string + Name string + Namespace string + Version string + func (*Env) Descriptor() ([]byte, []int) + func (*Env) ProtoMessage() + func (x *Env) GetMetadata() map[string]string + func (x *Env) GetName() string + func (x *Env) GetNamespace() string + func (x *Env) GetVersion() string + func (x *Env) ProtoReflect() protoreflect.Message + func (x *Env) Reset() + func (x *Env) String() string + type Log struct + Compress bool + Encoder string + Filename string + Level string + LocalTime bool + MaxAge int32 + MaxBackups int32 + MaxSize int32 + func (*Log) Descriptor() ([]byte, []int) + func (*Log) ProtoMessage() + func (x *Log) GetCompress() bool + func (x *Log) GetEncoder() string + func (x *Log) GetFilename() string + func (x *Log) GetLevel() string + func (x *Log) GetLocalTime() bool + func (x *Log) GetMaxAge() int32 + func (x *Log) GetMaxBackups() int32 + func (x *Log) GetMaxSize() int32 + func (x *Log) ProtoReflect() protoreflect.Message + func (x *Log) Reset() + func (x *Log) String() string + type Server struct + Grpc *Server_GRPC + Http *Server_HTTP + func (*Server) Descriptor() ([]byte, []int) + func (*Server) ProtoMessage() + func (x *Server) GetGrpc() *Server_GRPC + func (x *Server) GetHttp() *Server_HTTP + func (x *Server) ProtoReflect() protoreflect.Message + func (x *Server) Reset() + func (x *Server) String() string + type Server_GRPC struct + Addr string + Network string + Timeout *durationpb.Duration + func (*Server_GRPC) Descriptor() ([]byte, []int) + func (*Server_GRPC) ProtoMessage() + func (x *Server_GRPC) GetAddr() string + func (x *Server_GRPC) GetNetwork() string + func (x *Server_GRPC) GetTimeout() *durationpb.Duration + func (x *Server_GRPC) ProtoReflect() protoreflect.Message + func (x *Server_GRPC) Reset() + func (x *Server_GRPC) String() string + type Server_HTTP struct + Addr string + Network string + Timeout *durationpb.Duration + func (*Server_HTTP) Descriptor() ([]byte, []int) + func (*Server_HTTP) ProtoMessage() + func (x *Server_HTTP) GetAddr() string + func (x *Server_HTTP) GetNetwork() string + func (x *Server_HTTP) GetTimeout() *durationpb.Duration + func (x *Server_HTTP) ProtoReflect() protoreflect.Message + func (x *Server_HTTP) Reset() + func (x *Server_HTTP) String() string