Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityEventStream ¶
type ActivityEventStream struct {
// contains filtered or unexported fields
}
func NewActivityEventStream ¶
func NewActivityEventStream(token string, jwt string, collectionID string, deviceID string, gatewayID string) (*ActivityEventStream, error)
NewActivityEventStream creates a live activity event stream from the API
func (*ActivityEventStream) Close ¶
func (d *ActivityEventStream) Close() error
func (*ActivityEventStream) Recv ¶
func (d *ActivityEventStream) Recv() (spanapi.ActivityEvent, error)
Click to show internal directories.
Click to hide internal directories.