Documentation
¶
Index ¶
- type AosServerApi
- func (api *AosServerApi) GetBlueprintById(blueprintId string) *aosBlueprint
- func (api *AosServerApi) GetBlueprints() error
- func (api *AosServerApi) GetSystemByKey(deviceKey string) *aosSystem
- func (api *AosServerApi) GetSystems() error
- func (api *AosServerApi) GetSystemsInBlueprint(blueprintId string) (*aosBlueprintSystemNodeList, error)
- func (api *AosServerApi) Login() (err error)
- func (api *AosServerApi) StartStreaming(streamingType string, address string, port int) error
- func (api *AosServerApi) StopStreaming() error
- type AosToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AosServerApi ¶
type AosServerApi struct { Address string Port int User string Password string Protocol string Token string sync.RWMutex // following fields are protected by this lock Blueprints map[string]aosBlueprint Systems map[string]aosSystem StreamingSessions []string }
func NewAosServerApi ¶
func (*AosServerApi) GetBlueprintById ¶
func (api *AosServerApi) GetBlueprintById(blueprintId string) *aosBlueprint
func (*AosServerApi) GetBlueprints ¶
func (api *AosServerApi) GetBlueprints() error
func (*AosServerApi) GetSystemByKey ¶
func (api *AosServerApi) GetSystemByKey(deviceKey string) *aosSystem
func (*AosServerApi) GetSystems ¶
func (api *AosServerApi) GetSystems() error
func (*AosServerApi) GetSystemsInBlueprint ¶
func (api *AosServerApi) GetSystemsInBlueprint(blueprintId string) (*aosBlueprintSystemNodeList, error)
func (*AosServerApi) Login ¶
func (api *AosServerApi) Login() (err error)
func (*AosServerApi) StartStreaming ¶
func (api *AosServerApi) StartStreaming(streamingType string, address string, port int) error
func (*AosServerApi) StopStreaming ¶
func (api *AosServerApi) StopStreaming() error
Click to show internal directories.
Click to hide internal directories.