Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2020 Changes in this version + const ShelvesBadRequestCode + const ShelvesOKCode + type Shelves struct + Context *middleware.Context + Handler ShelvesHandler + func NewShelves(ctx *middleware.Context, handler ShelvesHandler) *Shelves + func (o *Shelves) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type ShelvesBadRequest struct + Payload *models.Fail + func NewShelvesBadRequest() *ShelvesBadRequest + func (o *ShelvesBadRequest) SetPayload(payload *models.Fail) + func (o *ShelvesBadRequest) WithPayload(payload *models.Fail) *ShelvesBadRequest + func (o *ShelvesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type ShelvesHandler interface + Handle func(ShelvesParams) middleware.Responder + type ShelvesHandlerFunc func(ShelvesParams) middleware.Responder + func (fn ShelvesHandlerFunc) Handle(params ShelvesParams) middleware.Responder + type ShelvesOK struct + Payload models.Library + func NewShelvesOK() *ShelvesOK + func (o *ShelvesOK) SetPayload(payload models.Library) + func (o *ShelvesOK) WithPayload(payload models.Library) *ShelvesOK + func (o *ShelvesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type ShelvesParams struct + HTTPRequest *http.Request + func NewShelvesParams() ShelvesParams + func (o *ShelvesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type ShelvesURL struct + func (o *ShelvesURL) Build() (*url.URL, error) + func (o *ShelvesURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *ShelvesURL) Must(u *url.URL, err error) *url.URL + func (o *ShelvesURL) SetBasePath(bp string) + func (o *ShelvesURL) String() string + func (o *ShelvesURL) StringFull(scheme, host string) string + func (o *ShelvesURL) WithBasePath(bp string) *ShelvesURL Other modules containing this package github.com/MarlikAlmighty/library/v2