websocketserver

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllMessagesToDeviceMap map[string]chan *QueuedMessage.QueuedMessage = map[string]chan *QueuedMessage.QueuedMessage{}
View Source
var OCPP_CONNECTION_URL string = "/ocpp/{id}"
View Source
var OCPP_PORT string = ":3000"

Functions

func ChargingStationHandler

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

func Index

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

func Start

func Start()

Types

type ChargingStationConnection

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

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

type Routes

type Routes []Route

Jump to

Keyboard shortcuts

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