container

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContainer

func BuildContainer(opt fx.Option) (app *fx.App)

BuildContainer ...

func MigrationList added in v0.6.0

func MigrationList(adaptors *adaptors.Adaptors,
	accessList access_list.AccessListService,
	validation *validation.Validate,
	scriptService scripts.ScriptService,
	orm *orm.Orm,
	endpoint *endpoint.Endpoint) []local_migrations.Migration

func NewApiConfig

func NewApiConfig(cfg *models.AppConfig) api.Config

NewApiConfig ...

func NewBackupConfig

func NewBackupConfig(cfg *models.AppConfig) *backup.Config

NewBackupConfig ...

func NewDemo added in v0.6.0

func NewDemo(adaptors *adaptors.Adaptors,
	scriptService scripts.ScriptService) (d *demo.Demos)

func NewLoggerConfig added in v0.13.0

func NewLoggerConfig() *logging.Config

func NewMigrationsConfig

func NewMigrationsConfig() *migrations.Config

NewMigrationsConfig ...

func NewMqttConfig

func NewMqttConfig(cfg *models.AppConfig) *mqtt.Config

NewMqttConfig ...

func NewOrmConfig

func NewOrmConfig(cfg *models.AppConfig) *orm.Config

NewOrmConfig ...

func NewZigbee2mqttConfig

func NewZigbee2mqttConfig(cfg *models.AppConfig) *zigbee2mqtt.Config

NewZigbee2mqttConfig ...

func ReadConfig added in v0.13.0

func ReadConfig() (conf *models.AppConfig)

Types

type Printer

type Printer struct {
}

Printer ...

func NewPrinter

func NewPrinter() *Printer

NewPrinter ...

func (*Printer) Printf

func (p *Printer) Printf(msg string, fields ...interface{})

Printf ...

Jump to

Keyboard shortcuts

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