Documentation ¶
Index ¶
- Constants
- func Broker(brokerUri string) func(c *conf)
- func IsRequester(c *conf)
- func IsResponder(c *conf)
- func Key(key *crypto.PrivateKey) func(c *conf)
- func Name(name string) func(c *conf)
- func NewHttpClient(opts ...func(c *conf)) *httpClient
- func Token(token string) func(c *conf)
- type Client
- type Encoder
Constants ¶
View Source
const ( Text = 1 Binary = 2 )
Variables ¶
This section is empty.
Functions ¶
func IsRequester ¶
func IsRequester(c *conf)
func IsResponder ¶
func IsResponder(c *conf)
func Key ¶
func Key(key *crypto.PrivateKey) func(c *conf)
func NewHttpClient ¶
func NewHttpClient(opts ...func(c *conf)) *httpClient
Types ¶
Click to show internal directories.
Click to hide internal directories.