Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
const ( // Accepted device accepts request and action will be proceed in future. Accepted Code = iota + 4096 // MethodNotAllowed device refuse call the method. MethodNotAllowed // Created success status response code indicates that the request has succeeded and has led to the creation of a resource. Created // InvalidCode cannot determines result from device code. InvalidCode Code = iota + (2 * 4096) )
func (Code) ToHTTPCode ¶
Click to show internal directories.
Click to hide internal directories.