Documentation
¶
Index ¶
- func GetHTTPErrorCode(err error) int
- type Wrapper
- func (wrapper *Wrapper) ExecuteQueries(queries []string) (res [][][]interface{}, err error)
- func (wrapper *Wrapper) ExecuteQuery(query string) (res [][]interface{}, err error)
- func (wrapper *Wrapper) GenerateQueries(elements []model.QueriesRequestElement, userId string) (queries []string, err error)
- func (wrapper *Wrapper) GetDataAvailability(deviceId string) (res []model.DataAvailabilityResponseElement, err error)
- func (wrapper *Wrapper) GetDeviceUsage(deviceIds []string) (res []model.Usage, err error)
- func (wrapper *Wrapper) GetExportUsage(exportIds []string) (res []model.Usage, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPErrorCode ¶
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func NewWrapper ¶
func (*Wrapper) ExecuteQueries ¶
func (*Wrapper) ExecuteQuery ¶
func (*Wrapper) GenerateQueries ¶
func (*Wrapper) GetDataAvailability ¶
func (wrapper *Wrapper) GetDataAvailability(deviceId string) (res []model.DataAvailabilityResponseElement, err error)
func (*Wrapper) GetDeviceUsage ¶
Click to show internal directories.
Click to hide internal directories.