Documentation
¶
Index ¶
- func Bind(site int32, ip string, port int, socketType define.SocketType, ...) (ask.IAsker, error)
- func CheckWorks(msg string, root *base.Work)
- func Listen(socketType define.SocketType, port int32) (ans.IAnswer, error)
- func RunAns()
- func RunAsk()
- func SendRequest(req *ghttp.Request, callback func(*ghttp.Context)) (int32, error)
- func SendToClient(port int32, cid int32, data *[]byte, length int32) error
- func SendToServer(serverId int32, data *[]byte, length int32) error
- func StartConnect() error
- func StartListen()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bind ¶
func Bind(site int32, ip string, port int, socketType define.SocketType, onEvents base.OnEventsFunc) (ask.IAsker, error)
func CheckWorks ¶
func SendRequest ¶ added in v1.1.0
傳送 http 訊息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.