Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentNutsDB ErrorParamInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorStartComponent ErrorReloadComponent ErrorDependencyLogDefault )
View Source
const (
ComponentType = "nutsdb"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func RegisterNew ¶
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentNutsDB ¶
type ComponentNutsDB interface { libcfg.Component SetLogger(key string) GetServer() (libndb.NutsDB, liberr.Error) GetClient(tickSync time.Duration) (libndb.Client, liberr.Error) SetStatusRouter(sts libsts.RouteStatus, prefix string) }
func Load ¶
func Load(getCpt libcfg.FuncComponentGet, key string) ComponentNutsDB
func New ¶
func New(logKey string) ComponentNutsDB
Click to show internal directories.
Click to hide internal directories.