Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code uint16
A Code is an unsigned 16-bit coap code as defined in the coap spec.
const ( Empty Code = 0 Created Code = 65 Deleted Code = 66 Valid Code = 67 Changed Code = 68 Content Code = 69 Continue Code = 95 BadRequest Code = 128 BadOption Code = 130 Forbidden Code = 131 NotFound Code = 132 MethodNotAllowed Code = 133 NotAcceptable Code = 134 RequestEntityIncomplete Code = 136 PreconditionFailed Code = 140 RequestEntityTooLarge Code = 141 UnsupportedMediaType Code = 143 InternalServerError Code = 160 NotImplemented Code = 161 BadGateway Code = 162 GatewayTimeout Code = 164 ProxyingNotSupported Code = 165 )
Response Codes
Signaling Codes for TCP
func (*Code) UnmarshalJSON ¶
UnmarshalJSON unmarshals b into the Code.
Click to show internal directories.
Click to hide internal directories.