conf

package
v0.0.0-...-db561fb Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 6 Imported by: 1

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"
)

Jump to

Keyboard shortcuts

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