v1_1

package
v0.0.0-...-120cf50 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler() *Handler

func (*Handler) Handle

func (h *Handler) Handle(s net.SessionI, n int)

func (*Handler) Reg

func (h *Handler) Reg(f interface{}, reqId uint32, req reflect.Type, rspId uint32, rsp reflect.Type) error

注册回调函数,函数类型:func(session, req, rsp)

Jump to

Keyboard shortcuts

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