Documentation
¶
Index ¶
Constants ¶
View Source
const SpecFile string = `` /* 404-byte string literal not displayed */
Variables ¶
Functions ¶
func SpecFileHandler ¶
Types ¶
type API ¶
type ErrParseParam ¶
func (ErrParseParam) Error ¶
func (e ErrParseParam) Error() string
func (ErrParseParam) Unwrap ¶
func (e ErrParseParam) Unwrap() error
type PostPetsHandlerFunc ¶
type PostPetsHandlerFunc func(r PostPetsRequester) PostPetsResponder
func (PostPetsHandlerFunc) ServeHTTP ¶
func (f PostPetsHandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PostPetsRequest ¶
type PostPetsRequester ¶
type PostPetsRequester interface {
Parse() (PostPetsRequest, error)
}
type PostPetsResponder ¶
type PostPetsResponder interface {
// contains filtered or unexported methods
}
func PostPetsResponse201 ¶
func PostPetsResponse201() PostPetsResponder
func PostPetsResponseDefault ¶
func PostPetsResponseDefault(code int) PostPetsResponder
Click to show internal directories.
Click to hide internal directories.