Documentation ¶
Overview ¶
Package http contains implementation of things service HTTP API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHandler ¶
MakeHandler returns a HTTP handler for API endpoints.
Types ¶
type ThingsPageRes ¶
type ThingsPageRes struct { Things []thingRes `json:"things"` // contains filtered or unexported fields }
func (ThingsPageRes) Code ¶
func (res ThingsPageRes) Code() int
func (ThingsPageRes) Empty ¶
func (res ThingsPageRes) Empty() bool
func (ThingsPageRes) Headers ¶
func (res ThingsPageRes) Headers() map[string]string
Click to show internal directories.
Click to hide internal directories.