api

package
v0.0.0-...-d1f9358 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WSEventEncryptionStatusChange web socket broadcast event for status change
	WSEventEncryptionStatusChange = "encryption_status_change"
)

Variables

This section is empty.

Functions

func NewHTTPHandler

func NewHTTPHandler(an anonymous.Anonymous) http.Handler

NewHTTPHandler initializes the router.

Types

type Error

type Error struct {
	Message    string `json:"message"`
	StatusCode int    `json:"status_code"`
}

Error - returned error message for api errors

Jump to

Keyboard shortcuts

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