protocol

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestClear

type RequestClear struct {
	ChannelId string `json:"ch"`
	Password  string `json:"p"`
}

clear

type RequestGet

type RequestGet struct {
	ChannelId string `json:"ch"`
}

get

type RequestIssue

type RequestIssue struct {
	Host      string `json:"h"`
	ChannelId string `json:"ch"`
	Password  string `json:"p"`
}

issue

type RequestWhere

type RequestWhere struct {
	Channels []string `json:"chs"`
}

type ResponseChannels

type ResponseChannels struct {
	Channels []string `json:"chs"`
}

channels

type ResponseCountOfSubscribers

type ResponseCountOfSubscribers struct {
	Channel string `json:"ch"`
	Count   int    `json:"c"`
}

type ResponseGetWorkers

type ResponseGetWorkers struct {
	Workers []ResponseGetWorkersItem `json:"workers"`
}

type ResponseGetWorkersItem

type ResponseGetWorkersItem struct {
	Host   string `json:"host"`
	Scores int    `json:"scores"`
}

get_workers

type ResponseReg

type ResponseReg struct {
	ChannelId string `json:"ch"`
	Password  string `json:"p"`
}

reg

type ResponseWhere

type ResponseWhere struct {
	Items []ResponseWhereItem `json:"items"`
}

type ResponseWhereItem

type ResponseWhereItem struct {
	ChannelId string `json:"ch"`
	Host      string `json:"h"`
}

type ResponseWorkerStatistics

type ResponseWorkerStatistics struct {
	Channels    int64 `json:"chs"`
	Connections int64 `json:"cs"`
	Memory      int64 `json:"m"`
}

Jump to

Keyboard shortcuts

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