Documentation
¶
Index ¶
- Variables
- func GetContainer() *dig.Container
- func InitConfig(p Bootup) error
- func InitLogger(p Bootup) (*zap.Logger, error)
- func Provide(constructor ...interface{})
- func ProvideStartup(constructor ...any)
- func ToEmbedConfig(content []byte)
- type Bootup
- type ConfigYamlContent
- type OptionalParam
- type Startup
Constants ¶
This section is empty.
Variables ¶
View Source
var AppName = "RFID App"
View Source
var Container = dig.New()
View Source
var StartupOptions = dig.Group("startups")
View Source
var Version = "latest"
Functions ¶
func GetContainer ¶
func InitConfig ¶
func ProvideStartup ¶ added in v0.5.1
func ProvideStartup(constructor ...any)
func ToEmbedConfig ¶ added in v0.5.4
func ToEmbedConfig(content []byte)
Types ¶
type Bootup ¶ added in v0.5.4
type Bootup struct { dig.In EmbedConfig []ConfigYamlContent `group:"config"` }
type ConfigYamlContent ¶ added in v0.5.4
type ConfigYamlContent []byte
type OptionalParam ¶ added in v0.5.7
Click to show internal directories.
Click to hide internal directories.