middleware

package
v0.0.0-...-87f5b26 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assert

type Assert struct {
	DatasetAPI    datasetAPIClient
	FilterFlexAPI filterFlexAPIClient
	// contains filtered or unexported fields
}

func NewAssert

func NewAssert(r responder, d datasetAPIClient, f filterFlexAPIClient, ds datastore, t string, e bool) *Assert

func (*Assert) DatasetType

func (a *Assert) DatasetType(next http.Handler) http.Handler

func (*Assert) FilterOutputType

func (a *Assert) FilterOutputType(next http.Handler) http.Handler

FilterOutputType is a forwarder that checks for filter in the route, not in the body as below. Used for PUT filter-output/{filter-output-id}

func (*Assert) FilterType

func (a *Assert) FilterType(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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