et

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ET

type ET struct{}

ET ET代理协议的实现 必须使用NewET进行初始化

func NewET

func NewET(arg *comm.Arg) *ET

NewET 构造ET

func (*ET) Handle

func (et *ET) Handle(e *mynet.Arg) (err error)

Handle 处理ET请求

func (*ET) Match

func (et *ET) Match(firstMsg []byte) bool

Match 判断请求消息是否匹配该业务

func (*ET) Name

func (et *ET) Name() string

Name Sender的名字

func (*ET) Send

func (et *ET) Send(e *mynet.Arg) error

Send 发送ET请求

Jump to

Keyboard shortcuts

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