Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
type Client ¶
type CommonClient ¶
type CommonClient struct {
// contains filtered or unexported fields
}
func (*CommonClient) Close ¶
func (c *CommonClient) Close()
func (*CommonClient) Listen ¶
func (c *CommonClient) Listen(ctx context.Context, gorts *sdk.GoRoutines) error
func (*CommonClient) OnMessage ¶
func (c *CommonClient) OnMessage(f func([]byte))
func (*CommonClient) Send ¶
func (c *CommonClient) Send(m interface{}) (err error)
func (*CommonClient) UUID ¶
func (c *CommonClient) UUID() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RemoveClient ¶
func (*Server) SendToClient ¶
Click to show internal directories.
Click to hide internal directories.