listener

package
Version: v0.0.0-...-82c3d49 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileListener

func NewFileListener(filePath types.FileListener, topic *string) (*uuid.UUID, error)

func NewHTTPListener

func NewHTTPListener(msg types.HTTPListener, endpoint *string, id *uuid.UUID)

NewHTTPGETListener must be called to create a new listener that will execute an HTTP method to a given URL

func NewSocketListener

func NewSocketListener(ws *websocket.Conn, endpoint *string)

NewSocketListener must be called everytime that a new client is connected through websocket. It will configure and make it ready to receive messages

func SyncWrite

func SyncWrite(c chan bool, q chan bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL