core

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 9 Imported by: 7

Documentation

Index

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 GetContainer() *dig.Container

func InitConfig

func InitConfig(p Bootup) error

func InitLogger

func InitLogger(p Bootup) (*zap.Logger, error)

func Provide added in v0.5.0

func Provide(constructor ...interface{})

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
}

type OptionalParam added in v0.5.7

type OptionalParam[T any] struct {
	dig.In
	P T `optional:"true"`
}

type Startup added in v0.5.1

type Startup interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL