subscribe

package
v0.0.0-...-e75eb70 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(subscribePoT *PoT)

func NewProvider

func NewProvider() *provider

Types

type PoT

type PoT struct {
	Keys     *PoTKeys
	Channels *PoTChannels
}

type PoTChannels

type PoTChannels map[string][]Provider

type PoTKeys

type PoTKeys []interface{}

type Provider

type Provider interface {
	Provided(channel string, content interface{})
}

type Subscribe

type Subscribe interface {
	Subscribe(channels ...string)
}

Jump to

Keyboard shortcuts

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