Documentation ¶
Index ¶
- func NewTCP() services.Service
- type TCP
- func (s *TCP) CheckArgs() (err error)
- func (s *TCP) Clean()
- func (s *TCP) GetParentConn() (conn net.Conn, err error)
- func (s *TCP) InitService() (err error)
- func (s *TCP) OutToTCP(inConn *net.Conn) (err error)
- func (s *TCP) OutToUDP(inConn *net.Conn) (err error)
- func (s *TCP) Start(args interface{}, log *logger.Logger) (err error)
- func (s *TCP) StopService()
- func (s *TCP) UDPGCDeamon()
- func (s *TCP) UDPRevecive(key string)
- type TCPArgs
- type UDPConnItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TCP ¶
type TCP struct {
// contains filtered or unexported fields
}
func (*TCP) InitService ¶
func (*TCP) StopService ¶
func (s *TCP) StopService()
func (*TCP) UDPGCDeamon ¶
func (s *TCP) UDPGCDeamon()
func (*TCP) UDPRevecive ¶
type UDPConnItem ¶
type UDPConnItem struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.