Documentation ¶
Index ¶
Constants ¶
View Source
const ( Request = 0 Login = 1 )
constants for request and login
View Source
const (
//Name is a variable of type string which says about the protocol used
Name = "highway"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionMgr ¶
ConnectionMgr conn manage
func (*ConnectionMgr) DeactiveAllConn ¶
func (connMgr *ConnectionMgr) DeactiveAllConn()
DeactiveAllConn close all conn
type HighwayConnection ¶
type HighwayConnection struct {
// contains filtered or unexported fields
}
HighwayConnection Highway connection
func (*HighwayConnection) GetRemoteAddr ¶
func (svrConn *HighwayConnection) GetRemoteAddr() string
GetRemoteAddr Get remote addr
func (*HighwayConnection) Open ¶
func (svrConn *HighwayConnection) Open()
Open open service connection
Click to show internal directories.
Click to hide internal directories.