dispatch

package
v0.0.0-...-37d5b15 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeMsg

func DecodeMsg(packs []byte, pkgLen int) bool

func MsgRecv

func MsgRecv(conn net.Conn)

func SingMsgProc

func SingMsgProc(pkg []byte)

Types

type DisTask

type DisTask struct {
	// contains filtered or unexported fields
}

func NewDispatch

func NewDispatch() *DisTask

func (*DisTask) MsgProc

func (d *DisTask) MsgProc(closeSig chan bool, message interface{})

func (*DisTask) OnDestroy

func (d *DisTask) OnDestroy()

func (*DisTask) OnInit

func (d *DisTask) OnInit()

Jump to

Keyboard shortcuts

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