stream

package
v0.0.0-...-8a38cc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostPublishRouteParams

type PostPublishRouteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Payload *types.StreamEvent
}

PostPublishRouteParams contains all the bound params for the post publish route operation typically these are obtained from a http.Request

swagger:parameters PostPublishRoute

func NewPostPublishRouteParams

func NewPostPublishRouteParams() PostPublishRouteParams

NewPostPublishRouteParams creates a new PostPublishRouteParams object no default values defined in spec.

func (*PostPublishRouteParams) BindRequest

func (o *PostPublishRouteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostPublishRouteParams() beforehand.

func (*PostPublishRouteParams) Validate

func (o *PostPublishRouteParams) Validate(formats strfmt.Registry) error

type PostUnpublishRouteParams

type PostUnpublishRouteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Payload *types.StreamEvent
}

PostUnpublishRouteParams contains all the bound params for the post unpublish route operation typically these are obtained from a http.Request

swagger:parameters PostUnpublishRoute

func NewPostUnpublishRouteParams

func NewPostUnpublishRouteParams() PostUnpublishRouteParams

NewPostUnpublishRouteParams creates a new PostUnpublishRouteParams object no default values defined in spec.

func (*PostUnpublishRouteParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostUnpublishRouteParams() beforehand.

func (*PostUnpublishRouteParams) Validate

func (o *PostUnpublishRouteParams) Validate(formats strfmt.Registry) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL