common

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ClientToServerMessageRequestTypeResponse = "rs"
View Source
const ClientToServerMessageRequestTypeSubscribe = "s"
View Source
const ClientToServerMessageRequestTypeUnsubscribe = "u"
View Source
const ServerToClientMessageRequestTypeRequest = "rq"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientToServerMessage

type ClientToServerMessage struct {
	RequestType string           `json:"requestType"`
	Application string           `json:"channel"`
	Response    *funcie.Response `json:"response"`
}

type ServerToClientMessage

type ServerToClientMessage struct {
	RequestType string          `json:"requestType"`
	Message     *funcie.Message `json:"message"`
}

Jump to

Keyboard shortcuts

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