Versions in this module Expand all Collapse all v0 v0.1.1 Dec 20, 2017 Changes in this version + const EmitEventBadRequestCode + const EmitEventInternalServerErrorCode + const EmitEventOKCode + const EmitEventUnauthorizedCode + type EmitEvent struct + Context *middleware.Context + Handler EmitEventHandler + func NewEmitEvent(ctx *middleware.Context, handler EmitEventHandler) *EmitEvent + func (o *EmitEvent) ServeHTTP(rw http.ResponseWriter, r *http.Request) + type EmitEventBadRequest struct + Payload *models.Error + func NewEmitEventBadRequest() *EmitEventBadRequest + func (o *EmitEventBadRequest) SetPayload(payload *models.Error) + func (o *EmitEventBadRequest) WithPayload(payload *models.Error) *EmitEventBadRequest + func (o *EmitEventBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type EmitEventDefault struct + Payload *models.Error + func NewEmitEventDefault(code int) *EmitEventDefault + func (o *EmitEventDefault) SetPayload(payload *models.Error) + func (o *EmitEventDefault) SetStatusCode(code int) + func (o *EmitEventDefault) WithPayload(payload *models.Error) *EmitEventDefault + func (o *EmitEventDefault) WithStatusCode(code int) *EmitEventDefault + func (o *EmitEventDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type EmitEventHandler interface + Handle func(EmitEventParams, interface{}) middleware.Responder + type EmitEventHandlerFunc func(EmitEventParams, interface{}) middleware.Responder + func (fn EmitEventHandlerFunc) Handle(params EmitEventParams, principal interface{}) middleware.Responder + type EmitEventInternalServerError struct + Payload *models.Error + func NewEmitEventInternalServerError() *EmitEventInternalServerError + func (o *EmitEventInternalServerError) SetPayload(payload *models.Error) + func (o *EmitEventInternalServerError) WithPayload(payload *models.Error) *EmitEventInternalServerError + func (o *EmitEventInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type EmitEventOK struct + Payload *models.Emission + func NewEmitEventOK() *EmitEventOK + func (o *EmitEventOK) SetPayload(payload *models.Emission) + func (o *EmitEventOK) WithPayload(payload *models.Emission) *EmitEventOK + func (o *EmitEventOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) + type EmitEventParams struct + Body *models.Emission + HTTPRequest *http.Request + func NewEmitEventParams() EmitEventParams + func (o *EmitEventParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error + type EmitEventURL struct + func (o *EmitEventURL) Build() (*url.URL, error) + func (o *EmitEventURL) BuildFull(scheme, host string) (*url.URL, error) + func (o *EmitEventURL) Must(u *url.URL, err error) *url.URL + func (o *EmitEventURL) SetBasePath(bp string) + func (o *EmitEventURL) String() string + func (o *EmitEventURL) StringFull(scheme, host string) string + func (o *EmitEventURL) WithBasePath(bp string) *EmitEventURL + type EmitEventUnauthorized struct + Payload *models.Error + func NewEmitEventUnauthorized() *EmitEventUnauthorized + func (o *EmitEventUnauthorized) SetPayload(payload *models.Error) + func (o *EmitEventUnauthorized) WithPayload(payload *models.Error) *EmitEventUnauthorized + func (o *EmitEventUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)