component

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadBufferSize  = 1024
	WriteBufferSize = 1024
)
View Source
const (
	ClientIDPrefix = "edgex-go-"
)

Variables

View Source
var ExportSubscriberCache = make(map[string]interface{}, 10)

{token:MqttClient}

View Source
var MqttTokenCache string

Functions

func CreateMqttClient

func CreateMqttClient(addressable domain.Addressable, token string)

func WebSocketHandler

func WebSocketHandler(w http.ResponseWriter, r *http.Request)

func WsClientSend

func WsClientSend(token string, message []byte)

Types

type WsClientConn

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

Jump to

Keyboard shortcuts

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