Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoapRefreshTokenRequest ¶
type CoapSignInRequest ¶
type CoapSignInResponse ¶
type CoapSignInResponse struct {
ExpiresIn int64 `json:"expiresin"`
}
type CoapSignUpRequest ¶
type CoapSignUpResponse ¶
type CoapSignUpResponse struct {
AccessToken string `yaml:"accessToken" json:"accesstoken"`
UserID string `yaml:"userID" json:"uid"`
RefreshToken string `yaml:"refreshToken" json:"refreshtoken"`
RedirectURI string `yaml:"-" json:"redirecturi"`
ExpiresIn int64 `yaml:"-" json:"expiresin"`
ValidUntil time.Time `yaml:"-" jsom:"-"`
}
type PublishResourcesRequest ¶
type PublishResourcesRequest struct {
DeviceID string `json:"di"`
Links schema.ResourceLinks `json:"links"`
TimeToLive int `json:"ttl"`
}
Click to show internal directories.
Click to hide internal directories.