Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastCtrl ¶
type BroadcastCtrl struct { Handler func(ctrl *BroadcastCtrl, pkt *BroadcastMsg, addr net.Addr) // contains filtered or unexported fields }
func NewBroadcastCtrl ¶
func NewBroadcastCtrl(bindPort int, remotePort int) *BroadcastCtrl
func (*BroadcastCtrl) SendRequest ¶
func (me *BroadcastCtrl) SendRequest(action string, data interface{}, wait bool) *BroadcastMsg
func (*BroadcastCtrl) SendResponse ¶
func (me *BroadcastCtrl) SendResponse(msg *BroadcastMsg, data interface{}) error
func (*BroadcastCtrl) Start ¶
func (me *BroadcastCtrl) Start() error
type BroadcastMsg ¶
type WaitChanInfo ¶
Click to show internal directories.
Click to hide internal directories.