example

package
Version: v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpgradeWebsocket

func UpgradeWebsocket(w http.ResponseWriter, r *http.Request)

func UpgradeWebsocket_2 added in v0.0.2

func UpgradeWebsocket_2(w http.ResponseWriter, r *http.Request)

Types

type PingMsg

type PingMsg struct {
	Name  string
	Age   int
	Ready bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL