Documentation ¶
Index ¶
Constants ¶
View Source
const DEVICE = "devices"
Variables ¶
This section is empty.
Functions ¶
func IsKirimWAError ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewKirimWA ¶
func NewKirimWAMockWithClient ¶
func NewKirimWAMockWithClient(apiKey string, httpClient HTTPClient) *Client
func (Client) DeleteDevice ¶
func (Client) RegisterDevice ¶
func (c Client) RegisterDevice(deviceID string) (resp RegisterDeviceResponse, err error)
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
func (ErrorResponse) Error ¶
func (er ErrorResponse) Error() string
type RegisterDeviceRequest ¶
type RegisterDeviceRequest struct {
DeviceID string `json:"device_id"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.