Documentation ¶
Index ¶
- func Register(app, version string)
- func RegisterHandler(tp silk.Type, handler Handler)
- func RegisterXORM(engine *xorm.Engine)
- func ReplaceHandler(tp silk.Type, handler Handler)
- type Client
- func (c *Client) Ask(p *silk.Package) (*silk.Package, error)
- func (c *Client) Close() error
- func (c *Client) Open() error
- func (c *Client) Publish(topic string, payload []byte) error
- func (c *Client) Send(p *silk.Package) error
- func (c *Client) Spawn() error
- func (c *Client) Subscribe(topic string) error
- func (c *Client) Unsubscribe(topic string) error
- type Handler
- type Handlers
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterXORM ¶
func ReplaceHandler ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Unsubscribe ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.