Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2020 Changes in this version + const PageIDBadRequestCode + const PageIDOKCode + type PageID struct + Context *middleware.Context + Handler PageIDHandler + func NewPageID(ctx *middleware.Context, handler PageIDHandler) *PageID + func (o *PageID) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type PageIDBadRequest struct + Payload *models.Fail + func NewPageIDBadRequest() *PageIDBadRequest + func (o *PageIDBadRequest) SetPayload(payload *models.Fail) + func (o *PageIDBadRequest) WithPayload(payload *models.Fail) *PageIDBadRequest + func (o *PageIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type PageIDHandler interface + Handle func(PageIDParams) middleware.Responder + type PageIDHandlerFunc func(PageIDParams) middleware.Responder + func (fn PageIDHandlerFunc) Handle(params PageIDParams) middleware.Responder + type PageIDOK struct + Payload *models.Page + func NewPageIDOK() *PageIDOK + func (o *PageIDOK) SetPayload(payload *models.Page) + func (o *PageIDOK) WithPayload(payload *models.Page) *PageIDOK + func (o *PageIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type PageIDParams struct + HTTPRequest *http.Request + ID int64 + func NewPageIDParams() PageIDParams + func (o *PageIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type PageIDURL struct + ID int64 + func (o *PageIDURL) Build() (*url.URL, error) + func (o *PageIDURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *PageIDURL) Must(u *url.URL, err error) *url.URL + func (o *PageIDURL) SetBasePath(bp string) + func (o *PageIDURL) String() string + func (o *PageIDURL) StringFull(scheme, host string) string + func (o *PageIDURL) WithBasePath(bp string) *PageIDURL Other modules containing this package github.com/MarlikAlmighty/library/v2