activity

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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)

type Command

type Command struct {
	Watch watchActivityCommand `command:"watch" alias:"w" description:"watch activity stream"`
}

Command holds the subcommands for the inbox command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL