udp

package
v0.0.0-...-edd91d0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PathConnection = "/qconn"
View Source
const PathNodeQueue = "/qnode"

Variables

This section is empty.

Functions

This section is empty.

Types

type UdpGateway

type UdpGateway struct {
	memory.MemGateway
	// contains filtered or unexported fields
}

func (*UdpGateway) Broadcast

func (o *UdpGateway) Broadcast(message *qtiny.Message) error

func (*UdpGateway) GetMeta

func (o *UdpGateway) GetMeta() map[string]interface{}

func (*UdpGateway) GetType

func (o *UdpGateway) GetType() string

func (*UdpGateway) Init

func (o *UdpGateway) Init(config map[string]interface{}) error

func (*UdpGateway) Poll

func (o *UdpGateway) Poll(limit int) (chan *qtiny.Message, error)

func (*UdpGateway) Post

func (o *UdpGateway) Post(message *qtiny.Message) error

func (*UdpGateway) Start

func (o *UdpGateway) Start(config map[string]interface{}) error

func (*UdpGateway) Stop

func (o *UdpGateway) Stop(config map[string]interface{}) error

func (*UdpGateway) String

func (o *UdpGateway) String() string

Jump to

Keyboard shortcuts

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