config

package
v0.0.0-...-64a62c9 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// We need a path splitter since its structured in go-os
	PathSplitter = "/"
	WatchTopic   = "micro.config.watch"
)

Functions

func Init

func Init() error

func Parse

func Parse(ch ...*config.ChangeSet) (*config.ChangeSet, error)

func Publish

func Publish(ctx context.Context, ch *proto.WatchResponse) error

Publish a change

func Values

func Values(ch *config.ChangeSet) (config.Values, error)

func Watch

func Watch(id string) (*watcher, error)

Watch created by a client RPC request

func Watcher

func Watcher(ctx context.Context, ch *proto.WatchResponse) error

Used as a subscriber between config services for events

Types

This section is empty.

Jump to

Keyboard shortcuts

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