Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiRequest ¶
type ApiRequest struct { Input map[string]interface{} Template string Output string Method string Path string Schema string Host string URL string Params map[string]string Headers map[string]interface{} Body interface{} }
func NewApiRequest ¶
func NewApiRequest(template string, input map[string]interface{}) (*ApiRequest, error)
func (*ApiRequest) Render ¶
func (r *ApiRequest) Render() (*ApiRequest, error)
type ApiRequestInput ¶
type ApiRequestInput map[string]interface{}
type AuthRequestHandler ¶
func (*AuthRequestHandler) RequestHandlerFunc ¶
func (h *AuthRequestHandler) RequestHandlerFunc(req *http.Request) error
type Handler ¶
type Handler struct { RequestFns map[string]RequestHandlerFunc ResponseFns map[string]ResponseHandlerFunc }
type RequestHandlerFunc ¶
type ResponseHandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.