reqparser

package
v0.0.0-...-8cbc2af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRootHandler

func RegisterRootHandler(h RootHandler)

+seyfert

Types

type ErrorResponse

type ErrorResponse struct {
	Error string
}

type RootHandler

type RootHandler func(RootRequest) (RootResponse, error)

+seyfert

type RootRequest

type RootRequest struct {
	HogeID int `schema:"hoge_id"`
	Page   int `schema:"page"`
}

+seyfert

func (RootRequest) Path

func (req RootRequest) Path() string

+seyfert

type RootResponse

type RootResponse struct {
	HogeID int `json:"hoge_id"`
}

+seyfert

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL