handler

package
v0.0.0-...-957e36a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EC_GENERIC_DB_FAIL = 889464

	EC_ADMIN_PASSWORD_INCORRECT  = 1001
	EC_ADMIN_ROOM_INFO_FAIL      = 1002
	EC_ADMIN_KEYGEN_FAIL         = 1003
	EC_ADMIN_DUPLICATED_STREAMER = 1004

	EC_ST_NO_ACCOUNT         = 2001
	EC_ST_PASSWORD_INCORRECT = 2002
	EC_ST_DECODE_PUB_FAIL    = 2003
	EC_ST_BAD_TIMESTAMP      = 2004

	EC_EVT_COND_DECODE_FAIL = 3001

	EC_DD_CODE_NOT_FOUND     = 4001
	EC_DD_PASSWORD_INCORRECT = 4002
	EC_DD_KEYGEN_FAIL        = 4003
	EC_DD_ADDR_ENC_FAIL      = 4004
	EC_DD_SET_ADDR_FAIL      = 4005

	EC_DM_SET_SENDER_FAIL = 5001
	EC_DM_START_FAIL      = 5002
)
View Source
const (
	API_PREFIX = "/api"
	GET        = http.MethodGet
	POST       = http.MethodPost
)

Variables

This section is empty.

Functions

func InitAPIServer

func InitAPIServer(server *swe.APIServer)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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