Documentation ¶
Index ¶
- func NewClients() *interfaces.WebsocketClient
- type Clients
- func (cc *Clients) ChangeURL(ad interfaces.ClientURL, useproxy bool, pr interfaces.ClientURL)
- func (cc *Clients) Close(id int)
- func (cc *Clients) CloseAll()
- func (cc *Clients) Destroy()
- func (cc *Clients) New(opt *interfaces.WebsocketClientOption)
- func (cc *Clients) Send(msg []byte)
- func (cc *Clients) SendGob(msg interface{})
- func (cc *Clients) SendGobID(idx int, msg interface{})
- func (cc *Clients) SendID(idx int, msg []byte)
- func (cc *Clients) SendJSON(msg interface{})
- func (cc *Clients) SendJSONID(idx int, msg interface{})
- type SubChannel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Clients ¶
type Clients struct { AlreadyDestroy bool Options *interfaces.WebsocketClientOption Socket []*clients CurrentIndex int CountThread int sync.RWMutex }
Clients -
func (*Clients) ChangeURL ¶
func (cc *Clients) ChangeURL(ad interfaces.ClientURL, useproxy bool, pr interfaces.ClientURL)
ChangeURL -
type SubChannel ¶
SubChannel -
Click to show internal directories.
Click to hide internal directories.