nodeconfsource

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfModel

type ConfModel struct {
	Id           primitive.ObjectID `bson:"_id"`
	NetworkId    string             `bson:"networkId"`
	Nodes        []nodeconf.Node    `bson:"nodes"`
	CreationTime time.Time          `bson:"creationTime"`
	Enable       bool               `bson:"enable"`
}

type NodeConfSource

type NodeConfSource interface {
	nodeconf.Source
	app.Component
	Add(conf nodeconf.Configuration, enable bool) (id string, err error)
}

func New

func New() NodeConfSource

Jump to

Keyboard shortcuts

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