Documentation ¶
Index ¶
- type BeforeReplyFn
- type BeforeSendFn
- type CleanFn
- type CreateOutUDPConnFn
- type IOBinder
- func (s *IOBinder) AfterReadFromClient(fn BeforeSendFn) *IOBinder
- func (s *IOBinder) AfterReadFromServer(fn BeforeReplyFn) *IOBinder
- func (s *IOBinder) AliveWithClientConn(srcAddr string, outTCPConn *net.Conn) *IOBinder
- func (s *IOBinder) AliveWithServeConn(srcAddr string, inTCPConn *net.Conn) *IOBinder
- func (s *IOBinder) Clean(fn CleanFn) *IOBinder
- func (s *IOBinder) Close()
- func (s *IOBinder) Factory(fn CreateOutUDPConnFn) *IOBinder
- func (s *IOBinder) Run() (err error)
- func (s *IOBinder) Timeout(timeout time.Duration) *IOBinder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeforeReplyFn ¶
type BeforeSendFn ¶
type CreateOutUDPConnFn ¶
type IOBinder ¶
type IOBinder struct {
// contains filtered or unexported fields
}
func (*IOBinder) AfterReadFromClient ¶
func (s *IOBinder) AfterReadFromClient(fn BeforeSendFn) *IOBinder
func (*IOBinder) AfterReadFromServer ¶
func (s *IOBinder) AfterReadFromServer(fn BeforeReplyFn) *IOBinder
func (*IOBinder) AliveWithClientConn ¶
func (*IOBinder) AliveWithServeConn ¶
func (*IOBinder) Factory ¶
func (s *IOBinder) Factory(fn CreateOutUDPConnFn) *IOBinder
Click to show internal directories.
Click to hide internal directories.