servicestate

package module
v0.0.0-...-040153f Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NUMBER_PREFIX_NODE = "number_prefixs"
)

Variables

This section is empty.

Functions

func ExecuteGroupInt

func ExecuteGroupInt(category string, f func(map[string]int))

func ExecuteGroupStr

func ExecuteGroupStr(category string, f func(map[string]string))

func Init

func Init(root_path, service_id string, etcd_hosts []string)

func RegisterCallback

func RegisterCallback(path string, callback chan string)

func ServiceVarInt

func ServiceVarInt(category, service string) int

func ServiceVarStr

func ServiceVarStr(category, service string) string

func SetServiceVar

func SetServiceVar(path, value string) error

func UpdateGlobalVar

func UpdateGlobalVar(path, key, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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