Versions in this module Expand all Collapse all v0 v0.2.0 Oct 12, 2023 v0.1.0 Oct 12, 2023 Changes in this version + const CreateCreatedCode + const GetIDNotFoundCode + const GetIDOKCode + const GetIDUnauthorizedCode + type Create struct + Context *middleware.Context + Handler CreateHandler + func NewCreate(ctx *middleware.Context, handler CreateHandler) *Create + func (o *Create) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type CreateCreated struct + Payload *models.Customer + func NewCreateCreated() *CreateCreated + func (o *CreateCreated) SetPayload(payload *models.Customer) + func (o *CreateCreated) WithPayload(payload *models.Customer) *CreateCreated + func (o *CreateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateDefault struct + Payload *models.Error + func NewCreateDefault(code int) *CreateDefault + func (o *CreateDefault) SetPayload(payload *models.Error) + func (o *CreateDefault) SetStatusCode(code int) + func (o *CreateDefault) WithPayload(payload *models.Error) *CreateDefault + func (o *CreateDefault) WithStatusCode(code int) *CreateDefault + func (o *CreateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type CreateHandler interface + Handle func(CreateParams, *models.Principal) middleware.Responder + type CreateHandlerFunc func(CreateParams, *models.Principal) middleware.Responder + func (fn CreateHandlerFunc) Handle(params CreateParams, principal *models.Principal) middleware.Responder + type CreateParams struct + HTTPRequest *http.Request + Info *models.Customer + func NewCreateParams() CreateParams + func (o *CreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type CreateURL struct + func (o *CreateURL) Build() (*url.URL, error) + func (o *CreateURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *CreateURL) Must(u *url.URL, err error) *url.URL + func (o *CreateURL) SetBasePath(bp string) + func (o *CreateURL) String() string + func (o *CreateURL) StringFull(scheme, host string) string + func (o *CreateURL) WithBasePath(bp string) *CreateURL + type GetID struct + Context *middleware.Context + Handler GetIDHandler + func NewGetID(ctx *middleware.Context, handler GetIDHandler) *GetID + func (o *GetID) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type GetIDDefault struct + Payload *models.Error + func NewGetIDDefault(code int) *GetIDDefault + func (o *GetIDDefault) SetPayload(payload *models.Error) + func (o *GetIDDefault) SetStatusCode(code int) + func (o *GetIDDefault) WithPayload(payload *models.Error) *GetIDDefault + func (o *GetIDDefault) WithStatusCode(code int) *GetIDDefault + func (o *GetIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetIDHandler interface + Handle func(GetIDParams, *models.Principal) middleware.Responder + type GetIDHandlerFunc func(GetIDParams, *models.Principal) middleware.Responder + func (fn GetIDHandlerFunc) Handle(params GetIDParams, principal *models.Principal) middleware.Responder + type GetIDNotFound struct + Payload *models.Error + func NewGetIDNotFound() *GetIDNotFound + func (o *GetIDNotFound) SetPayload(payload *models.Error) + func (o *GetIDNotFound) WithPayload(payload *models.Error) *GetIDNotFound + func (o *GetIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetIDOK struct + Payload *models.Customer + func NewGetIDOK() *GetIDOK + func (o *GetIDOK) SetPayload(payload *models.Customer) + func (o *GetIDOK) WithPayload(payload *models.Customer) *GetIDOK + func (o *GetIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type GetIDParams struct + HTTPRequest *http.Request + Info *models.SocialID + func NewGetIDParams() GetIDParams + func (o *GetIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type GetIDURL struct + func (o *GetIDURL) Build() (*url.URL, error) + func (o *GetIDURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *GetIDURL) Must(u *url.URL, err error) *url.URL + func (o *GetIDURL) SetBasePath(bp string) + func (o *GetIDURL) String() string + func (o *GetIDURL) StringFull(scheme, host string) string + func (o *GetIDURL) WithBasePath(bp string) *GetIDURL + type GetIDUnauthorized struct + Payload *models.Error + func NewGetIDUnauthorized() *GetIDUnauthorized + func (o *GetIDUnauthorized) SetPayload(payload *models.Error) + func (o *GetIDUnauthorized) WithPayload(payload *models.Error) *GetIDUnauthorized + func (o *GetIDUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)