Documentation ¶
Overview ¶
Package conf provides config for each plugin
Index ¶
Constants ¶
View Source
const Namespace = "github.com/chaitin/veinmind-tools/veinmind-common/go/service/conf"
Variables ¶
This section is empty.
Functions ¶
func DefaultConfClient ¶
func DefaultConfClient() *confClient
Types ¶
type ConfService ¶
type ConfService struct {
// contains filtered or unexported fields
}
func NewConfService ¶
func NewConfService() (*ConfService, error)
func (*ConfService) Add ¶
func (c *ConfService) Add(registry *service.Registry)
func (*ConfService) Pull ¶
func (c *ConfService) Pull(ns PluginConfNS) ([]byte, error)
func (*ConfService) Store ¶
func (c *ConfService) Store(ns PluginConfNS, b []byte) error
type PluginConfNS ¶
type PluginConfNS string
const (
Sensitive PluginConfNS = "veinmind-sensitive"
)
Click to show internal directories.
Click to hide internal directories.