config

package
v0.0.0-...-b4e95bd Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 9 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 ...*source.ChangeSet) (*source.ChangeSet, error)

func Publish

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

Publish a change

func Values

func Values(ch *source.ChangeSet) (reader.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