api

package
v0.0.0-...-6864cc4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PORT int

PORT _

View Source
var Router *mux.Router

Router _

Functions

func AddListener

func AddListener(id string, c *chan Result)

AddListener _

func PollMetro

func PollMetro()

PollMetro _

func RemoveListener

func RemoveListener(id string)

RemoveListener _

Types

type Listener

type Listener struct {
	ID      string
	Channel *chan Result
}

Listener _

type Result

type Result struct {
	Err     error
	Payload []byte
}

Result _

Jump to

Keyboard shortcuts

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