broadcast

package
v0.0.0-...-3226e9d Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(b Broadcast)

Types

type Broadcast

type Broadcast interface {
	Send(namespace *config.ConfigResponse) error
	Watch() Watcher
}

func GetBroadcast

func GetBroadcast() Broadcast

type Watcher

type Watcher interface {
	Next() (*config.ConfigResponse, error)
	Stop() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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