Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Headers ¶
func NewHeaders ¶
func NewHeaders() Headers
type RawJSONOut ¶
type RawJSONOut map[string]interface{}
type Request ¶
func NetReqToReq ¶
NetReqToReq converts net/http request to our own internal http request format
func NewRequest ¶
func (Request) ValidateAuthenticationToken ¶
validateSignature validates a signature based on the authorization header
type Response ¶
func CreateError ¶
CreateError creates an error message json structure
func CreateOutput ¶
createOutput creates json output for data
func NewResponse ¶
Click to show internal directories.
Click to hide internal directories.