constant

package
v0.0.0-...-6dd53b5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ConnectingRetryDuration = 100 * time.Millisecond

ConnectingRetryDuration represents the interval of retrying send initial Ping packet to the peer

View Source
const HeartbeatInterval = 20

HeartbeatInterval represent the interval of keepping heartbeat with the gateway in seconds

View Source
const MaxBufferSize = 4096

MaxBufferSize represents the max buffer size of read UDP packet

View Source
const MaxRetrySend = 10

MaxRetrySend represents the max tries of send notification to the peer

View Source
const PeerKeepaliveDuration = 5 * time.Second

PeerKeepaliveDuration represents the interval of keepaliving heartbeat

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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