Documentation ¶
Index ¶
- func RecvBytesOverChan(soc *zmq.Socket) (chan []byte, chan error)
- type ObserveMode
- type ZestClient
- func (z ZestClient) Delete(token string, path string, contentFormat string) error
- func (z ZestClient) Get(token string, path string, contentFormat string) ([]byte, error)
- func (z ZestClient) Hexlog(msg []byte)
- func (z ZestClient) Notify(token string, path string, contentFormat string, timeout uint32) (<-chan []byte, chan struct{}, error)
- func (z ZestClient) Observe(token string, path string, contentFormat string, observeMode ObserveMode, ...) (<-chan []byte, chan struct{}, error)
- func (z ZestClient) Post(token string, path string, payload []byte, contentFormat string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ObserveMode ¶ added in v0.0.10
type ObserveMode string
const ObserveModeAudit ObserveMode = "audit"
const ObserveModeData ObserveMode = "data"
const ObserveModeNotification ObserveMode = "notification"
type ZestClient ¶
type ZestClient struct { Endpoint string DealerEndpoint string // contains filtered or unexported fields }
func New ¶
func New(endpoint string, dealerEndpoint string, serverKey string, enableLogging bool) (ZestClient, error)
New returns a ZestClient connected to endpoint using serverKey as an identity
func (ZestClient) Delete ¶
func (z ZestClient) Delete(token string, path string, contentFormat string) error
func (ZestClient) Hexlog ¶
func (z ZestClient) Hexlog(msg []byte)
func (ZestClient) Observe ¶
func (z ZestClient) Observe(token string, path string, contentFormat string, observeMode ObserveMode, timeout uint32) (<-chan []byte, chan struct{}, error)
Click to show internal directories.
Click to hide internal directories.