Documentation ¶
Index ¶
Constants ¶
View Source
const ( PT_REQUEST = true PT_RESPONSE = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiProcessor ¶
type Connection ¶
type Connection struct { Addr string // contains filtered or unexported fields }
func GetConnection ¶
func GetConnection(c *net.TCPConn) *Connection
func NewConnection ¶
func NewConnection(addr string) *Connection
func (*Connection) Close ¶
func (conn *Connection) Close() error
func (*Connection) Connect ¶
func (conn *Connection) Connect() (err error)
func (*Connection) String ¶
func (conn *Connection) String() string
type Node ¶
type Node struct { Name string Addr string Processor ApiProcessor // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.