ping

package
v0.20.9 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package ping implements WebSocket PING messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTicks

func ParseTicks(s string) (d int64, err error)

func SendTicks

func SendTicks(conn *websocket.Conn, deadline time.Time) error

SendTicks sends the current ticks as a ping message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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