service

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v1.0.1

func Close()

func Config

func Config() *config.Config

func ConfigLoader added in v1.0.1

func ConfigLoader(cfg *config.Config, configPath string) error

func Init

func Init(cfg *config.Config)

func LoadConfig added in v1.0.1

func LoadConfig(cfg *config.Config) error

func Reload added in v1.0.1

func Reload(cfg *config.Config)

func SaveConfig added in v1.0.2

func SaveConfig(cfg *config.Config) error

func SetConfig added in v1.0.1

func SetConfig(cfg *config.Config)

func Start added in v1.0.1

func Start(ctx context.Context)

func Syncer added in v1.0.1

func Syncer() *sync.Syncer

func SystemBarReload added in v1.0.2

func SystemBarReload() <-chan struct{}

func WriteConfigFile added in v1.0.1

func WriteConfigFile(configPath string, bs []byte) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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