event

package
v0.0.0-...-f28e2c2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Auth = 2 //授权
View Source
const PackageLength = 48 //包长
View Source
const Ping = 0 //ping
View Source
const StartProxy = 6 //开始转发工作

Variables

This section is empty.

Functions

func GenerateSignal

func GenerateSignal(t int, ext string) []byte

生成信息字节(总长度XX)

func StringFormat32

func StringFormat32(raw string) string

将字符串填充成32个长度

Types

type Signal

type Signal struct {
	T   int    //信号类型
	Ext string //附件信息
}

内网通讯信号每

Jump to

Keyboard shortcuts

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