broadcast

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backoff

type Backoff struct {
	MaxDelay  int32   `json:"max_delay,omitempty"`
	BaseDelay int32   `json:"base_delay,omitempty"`
	Factor    float32 `json:"factor,omitempty"`
	Jitter    float32 `json:"jitter,omitempty"`
}

type ServerListReply

type ServerListReply struct {
	Domain       string   `json:"domain,omitempty"`
	TCPPort      int32    `json:"tcp_port,omitempty"`
	WsPort       int32    `json:"ws_port,omitempty"`
	WssPort      int32    `json:"wss_port,omitempty"`
	Heartbeat    int32    `json:"heartbeat,omitempty"`
	HeartbeatMax int32    `json:"heartbeat_max,omitempty"`
	Nodes        []string `json:"nodes,omitempty"`
	Backoff      *Backoff `json:"backoff,omitempty"`
}

func (*ServerListReply) ServerListChange

func (l *ServerListReply) ServerListChange(w *wardensvr.ServerListReply)

Jump to

Keyboard shortcuts

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