server

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(l log.Logger, c *metric.Collector)

Init ..

func WsBroadcastData

func WsBroadcastData(data map[string]interface{})

WsBroadcastData ..

Types

type WsClient

type WsClient struct {
	// contains filtered or unexported fields
}

WsClient ..

func NewWsClient

func NewWsClient(conn *websocket.Conn, unregister chan *WsClient) *WsClient

NewWsClient ..

type WsMsg

type WsMsg struct {
	// contains filtered or unexported fields
}

WsMsg ..

Jump to

Keyboard shortcuts

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