Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2020 Changes in this version + const BookIDBadRequestCode + const BookIDOKCode + type BookID struct + Context *middleware.Context + Handler BookIDHandler + func NewBookID(ctx *middleware.Context, handler BookIDHandler) *BookID + func (o *BookID) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type BookIDBadRequest struct + Payload *models.Fail + func NewBookIDBadRequest() *BookIDBadRequest + func (o *BookIDBadRequest) SetPayload(payload *models.Fail) + func (o *BookIDBadRequest) WithPayload(payload *models.Fail) *BookIDBadRequest + func (o *BookIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type BookIDHandler interface + Handle func(BookIDParams) middleware.Responder + type BookIDHandlerFunc func(BookIDParams) middleware.Responder + func (fn BookIDHandlerFunc) Handle(params BookIDParams) middleware.Responder + type BookIDOK struct + Payload *models.Book + func NewBookIDOK() *BookIDOK + func (o *BookIDOK) SetPayload(payload *models.Book) + func (o *BookIDOK) WithPayload(payload *models.Book) *BookIDOK + func (o *BookIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type BookIDParams struct + HTTPRequest *http.Request + ID int64 + func NewBookIDParams() BookIDParams + func (o *BookIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type BookIDURL struct + ID int64 + func (o *BookIDURL) Build() (*url.URL, error) + func (o *BookIDURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *BookIDURL) Must(u *url.URL, err error) *url.URL + func (o *BookIDURL) SetBasePath(bp string) + func (o *BookIDURL) String() string + func (o *BookIDURL) StringFull(scheme, host string) string + func (o *BookIDURL) WithBasePath(bp string) *BookIDURL Other modules containing this package github.com/MarlikAlmighty/library/v2