httpq

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: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsocketGateway

type WebsocketGateway struct {
	memory.MemGateway

	Port int

	Endpoints []string
	IPS       []string
	// contains filtered or unexported fields
}

func (*WebsocketGateway) Broadcast

func (o *WebsocketGateway) Broadcast(message *qtiny.Message, discovery qtiny.Discovery) error

func (*WebsocketGateway) GetMeta

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

func (*WebsocketGateway) GetType

func (o *WebsocketGateway) GetType() string

func (*WebsocketGateway) Init

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

func (*WebsocketGateway) Multicast

func (o *WebsocketGateway) Multicast(message *qtiny.Message, discovery qtiny.Discovery) error

func (*WebsocketGateway) Post

func (o *WebsocketGateway) Post(message *qtiny.Message, discovery qtiny.Discovery) error

func (*WebsocketGateway) ServeHTTP

func (o *WebsocketGateway) ServeHTTP(response http.ResponseWriter, request *http.Request)

func (*WebsocketGateway) Start

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

func (*WebsocketGateway) Stop

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

Jump to

Keyboard shortcuts

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