dogWebSocket

package
v0.0.0-...-1fceeaa Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CodeForcedLogout = "1000"
View Source
var GetUid = func(http.ResponseWriter, *http.Request) uint64 {
	return 0
}
View Source
var Receive = func(uint64, string) {}
View Source
var Register = func(uint64) bool {
	return true
}
View Source
var UnRegister = func(uint64) bool {
	return true
}

Functions

func Run

func Run()

启动ws主进程

func Send

func Send(id uint64, d interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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