Documentation
¶
Index ¶
- Constants
- type DataItemHistoryRequest
- type DataItemHistoryResponse
- type DataItemListAllRequest
- type DataItemListAllResponse
- type DataItemListRequest
- type DataItemListResponse
- type DataItemWriteRequest
- type DataItemWriteResponse
- type PublicChannelAddRequest
- type PublicChannelAddResponse
- type PublicChannelItemAddRequest
- type PublicChannelItemAddResponse
- type PublicChannelItemRemoveRequest
- type PublicChannelItemRemoveResponse
- type PublicChannelItemsStateRequest
- type PublicChannelItemsStateResponse
- type PublicChannelListRequest
- type PublicChannelListResponse
- type PublicChannelRemoveRequest
- type PublicChannelRemoveResponse
- type PublicChannelSetNameRequest
- type PublicChannelSetNameResponse
- type ResourceAddRequest
- type ResourceAddResponse
- type ResourceGetRequest
- type ResourceGetResponse
- type ResourceListRequest
- type ResourceListResponse
- type ResourceRemoveRequest
- type ResourceRemoveResponse
- type ResourceRenameRequest
- type ResourceRenameResponse
- type ResourceSetRequest
- type ResourceSetResponse
- type ServiceLookupRequest
- type ServiceLookupResponse
- type ServiceStatisticsRequest
- type ServiceStatisticsResponse
- type SessionActivateRequest
- type SessionActivateResponse
- type SessionListRequest
- type SessionListResponse
- type SessionListResponseItem
- type SessionOpenRequest
- type SessionOpenResponse
- type SessionRemoveRequest
- type SessionRemoveResponse
- type UnitAddRequest
- type UnitAddResponse
- type UnitGetConfigRequest
- type UnitGetConfigResponse
- type UnitItemsValuesRequest
- type UnitItemsValuesResponse
- type UnitListRequest
- type UnitListResponse
- type UnitListResponseItem
- type UnitRemoveRequest
- type UnitRemoveResponse
- type UnitSetConfigRequest
- type UnitSetConfigResponse
- type UnitStartRequest
- type UnitStartResponse
- type UnitStateRequest
- type UnitStateResponse
- type UnitStopRequest
- type UnitStopResponse
- type UnitTypeCategoriesRequest
- type UnitTypeCategoriesResponse
- type UnitTypeCategoriesResponseItem
- type UnitTypeConfigMetaRequest
- type UnitTypeConfigMetaResponse
- type UnitTypeListRequest
- type UnitTypeListResponse
- type UnitTypeListResponseItem
- type UserAddRequest
- type UserAddResponse
- type UserListRequest
- type UserListResponse
- type UserRemoveRequest
- type UserRemoveResponse
- type UserSetPasswordRequest
- type UserSetPasswordResponse
Constants ¶
View Source
const ( // *** UnitType *** FuncUnitTypeList = "unit_type_list" FuncUnitTypeCategories = "unit_type_categories" FuncUnitTypeConfigMeta = "unit_type_config_meta" // *** Unit *** FuncUnitAdd = "unit_add" FuncUnitRemove = "unit_remove" FuncUnitState = "unit_state" FuncUnitItemsValues = "unit_items_values" FuncUnitList = "unit_list" FuncUnitStart = "unit_start" FuncUnitStop = "unit_stop" FuncUnitSetConfig = "unit_set_config" FuncUnitGetConfig = "unit_get_config" // *** Data Item *** FuncDataItemList = "data_item_list" FuncDataItemListAll = "data_item_list_all" FuncDataItemWrite = "data_item_write" FuncDataItemHistory = "data_item_history" // *** Public Channel *** FuncPublicChannelList = "public_channel_list" FuncPublicChannelAdd = "public_channel_add" FuncPublicChannelSetName = "public_channel_set_name" FuncPublicChannelRemove = "public_channel_remove" FuncPublicChannelItemAdd = "public_channel_item_add" FuncPublicChannelItemRemove = "public_channel_item_remove" FuncPublicChannelItemsState = "public_channel_item_state" // *** Service *** FuncServiceLookup = "service_lookup" FuncServiceStatistics = "service_statistics" // *** Resource *** FuncResourceAdd = "resource_add" FuncResourceSet = "resource_set" FuncResourceGet = "resource_get" FuncResourceRemove = "resource_remove" FuncResourceRename = "resource_rename" FuncResourceList = "resource_list" // *** User *** FuncSessionOpen = "session_open" FuncSessionActivate = "session_activate" FuncSessionRemove = "session_remove" FuncSessionList = "session_list" FuncUserList = "user_list" FuncUserAdd = "user_add" FuncUserSetPassword = "user_set_password" FuncUserRemove = "user_remove" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataItemHistoryRequest ¶
type DataItemHistoryResponse ¶
type DataItemHistoryResponse struct {
ReadResult *history.ReadResult
}
type DataItemListAllRequest ¶
type DataItemListAllRequest struct {
}
type DataItemListAllResponse ¶
type DataItemListAllResponse struct {
UnitValues []common_interfaces.ItemGetUnitItems
}
type DataItemListRequest ¶
type DataItemListRequest struct {
Items []string `json:"items"`
}
type DataItemListResponse ¶
type DataItemListResponse struct {
UnitValues []common_interfaces.ItemGetUnitItems
}
type DataItemWriteRequest ¶
type DataItemWriteResponse ¶
type DataItemWriteResponse struct {
}
type PublicChannelAddRequest ¶
type PublicChannelAddRequest struct {
ChannelName string `json:"name"`
}
type PublicChannelAddResponse ¶
type PublicChannelAddResponse struct {
}
type PublicChannelItemAddResponse ¶
type PublicChannelItemAddResponse struct {
}
type PublicChannelItemRemoveResponse ¶
type PublicChannelItemRemoveResponse struct {
}
type PublicChannelItemsStateRequest ¶
type PublicChannelItemsStateRequest struct {
ChannelId string `json:"id"`
}
type PublicChannelItemsStateResponse ¶
type PublicChannelItemsStateResponse struct {
UnitValues []common_interfaces.Item
}
type PublicChannelListRequest ¶
type PublicChannelListRequest struct {
}
type PublicChannelListResponse ¶
type PublicChannelListResponse struct {
Channels []cloud.ChannelInfo
}
type PublicChannelRemoveRequest ¶
type PublicChannelRemoveRequest struct {
ChannelId string `json:"id"`
}
type PublicChannelRemoveResponse ¶
type PublicChannelRemoveResponse struct {
}
type PublicChannelSetNameResponse ¶
type PublicChannelSetNameResponse struct {
}
type ResourceAddRequest ¶
type ResourceAddResponse ¶
type ResourceAddResponse struct {
Id string
}
type ResourceGetRequest ¶
type ResourceGetRequest struct {
Id string
}
type ResourceGetResponse ¶
type ResourceGetResponse struct {
Item *common_interfaces.ResourcesItem
}
type ResourceListRequest ¶
type ResourceListResponse ¶
type ResourceListResponse struct {
Items common_interfaces.ResourcesInfo
}
type ResourceRemoveRequest ¶
type ResourceRemoveRequest struct {
Id string `json:"id"`
}
type ResourceRemoveResponse ¶
type ResourceRemoveResponse struct {
}
type ResourceRenameRequest ¶
type ResourceRenameResponse ¶
type ResourceRenameResponse struct {
}
type ResourceSetRequest ¶
type ResourceSetResponse ¶
type ResourceSetResponse struct {
}
type ServiceLookupRequest ¶
type ServiceLookupResponse ¶
type ServiceStatisticsRequest ¶
type ServiceStatisticsRequest struct {
}
type ServiceStatisticsResponse ¶
type ServiceStatisticsResponse struct {
Stat common_interfaces.Statistics
}
type SessionActivateRequest ¶ added in v1.0.1
type SessionActivateRequest struct {
SessionToken string `json:"session_token"`
}
type SessionActivateResponse ¶ added in v1.0.1
type SessionActivateResponse struct {
SessionToken string `json:"session_token"`
}
type SessionListRequest ¶ added in v1.0.1
type SessionListRequest struct {
UserName string `json:"user_name"`
}
type SessionListResponse ¶ added in v1.0.1
type SessionListResponse struct {
Items []SessionListResponseItem `json:"items"`
}
type SessionListResponseItem ¶ added in v1.0.1
type SessionOpenRequest ¶
type SessionOpenResponse ¶
type SessionOpenResponse struct {
SessionToken string `json:"session_token"`
}
type SessionRemoveRequest ¶ added in v1.0.1
type SessionRemoveRequest struct {
SessionToken string `json:"session_token"`
}
type SessionRemoveResponse ¶ added in v1.0.1
type SessionRemoveResponse struct {
}
type UnitAddRequest ¶
type UnitAddResponse ¶
type UnitAddResponse struct {
UnitId string `json:"unit_id"`
}
type UnitGetConfigRequest ¶
type UnitGetConfigRequest struct {
UnitId string `json:"id"`
}
type UnitGetConfigResponse ¶
type UnitItemsValuesRequest ¶
type UnitItemsValuesRequest struct {
UnitName string `json:"unit_name"`
}
type UnitItemsValuesResponse ¶
type UnitItemsValuesResponse struct {
Items []common_interfaces.ItemGetUnitItems `json:"items"`
}
type UnitListRequest ¶
type UnitListRequest struct {
}
type UnitListResponse ¶
type UnitListResponse struct {
Items []UnitListResponseItem `json:"items"`
}
type UnitListResponseItem ¶
type UnitRemoveRequest ¶
type UnitRemoveRequest struct {
Units []string `json:"ids"`
}
type UnitRemoveResponse ¶
type UnitRemoveResponse struct {
}
type UnitSetConfigRequest ¶
type UnitSetConfigResponse ¶
type UnitSetConfigResponse struct {
}
type UnitStartRequest ¶
type UnitStartRequest struct {
Ids []string `json:"ids"`
}
type UnitStartResponse ¶
type UnitStartResponse struct {
}
type UnitStateRequest ¶
type UnitStateRequest struct {
UnitId string `json:"id"`
}
type UnitStateResponse ¶
type UnitStopRequest ¶
type UnitStopRequest struct {
Ids []string `json:"ids"`
}
type UnitStopResponse ¶
type UnitStopResponse struct {
}
type UnitTypeCategoriesRequest ¶
type UnitTypeCategoriesRequest struct {
}
type UnitTypeCategoriesResponse ¶
type UnitTypeCategoriesResponse struct {
Items []UnitTypeCategoriesResponseItem `json:"items"`
}
type UnitTypeConfigMetaRequest ¶
type UnitTypeConfigMetaRequest struct {
UnitType string `json:"type"`
}
type UnitTypeListRequest ¶
type UnitTypeListResponse ¶
type UnitTypeListResponse struct {
TotalCount int `json:"total_count"`
InFilterCount int `json:"in_filter_count"`
Types []UnitTypeListResponseItem `json:"types"`
}
type UserAddRequest ¶ added in v1.0.1
type UserAddResponse ¶ added in v1.0.1
type UserAddResponse struct {
}
type UserListRequest ¶ added in v1.0.1
type UserListRequest struct {
}
type UserListResponse ¶ added in v1.0.1
type UserListResponse struct {
Items []string `json:"items"`
}
type UserRemoveRequest ¶ added in v1.0.1
type UserRemoveRequest struct {
UserName string `json:"user_name"`
}
type UserRemoveResponse ¶ added in v1.0.1
type UserRemoveResponse struct {
}
type UserSetPasswordRequest ¶ added in v1.0.1
type UserSetPasswordResponse ¶ added in v1.0.1
type UserSetPasswordResponse struct {
}
Click to show internal directories.
Click to hide internal directories.