config

package
v0.3.1-rc.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBootstrapDns

func CheckBootstrapDns(pa *pd.Dns) error

func SetDefault

func SetDefault(targetJSON, defaultJSON []byte) []byte

Types

type Observer

type Observer interface {
	Update(*config.Setting)
}

type ObserverFunc

type ObserverFunc func(*config.Setting)

func (ObserverFunc) Update

func (o ObserverFunc) Update(s *config.Setting)

type Setting

type Setting interface {
	gc.ConfigDaoServer
	AddObserver(Observer)
}

func NewConfig

func NewConfig(path string) Setting

Jump to

Keyboard shortcuts

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