Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorPayload ¶
type Message ¶
type Message struct { Type string `json:"type"` Data interface{} `json:"data"` }
func CreateClientError ¶
func CreateClientError(payload ErrorPayload) Message
func CreateServerChallenge ¶
func CreateServerError ¶
func CreateServerError(payload ErrorPayload) Message
type MessageNoData ¶
type MessageNoData struct {
Type string `json:"type"`
}
func CreateAuthorizedMessage ¶
func CreateAuthorizedMessage() MessageNoData
Click to show internal directories.
Click to hide internal directories.