cfgmgr

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(s string, i interface{}) error

func NotifyChange

func NotifyChange(s string) (<-chan string, func())

NotifyChange - informa na mudanca de uma chave de configuracao identificada em s retorna um channel que sera disparado qndo da mudanca e uma funcao para fechar o channel.

func Save

func Save(s string, i interface{}) error

func UpdateOnChange

func UpdateOnChange(s string, i interface{}) (chan struct{}, func(), chan error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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