web

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelIsEqualTo  = "is equal to"
	LabelContains   = "contains"
	LabelBeginsWith = "begins with"
	LabelAfter      = "after"
	LabelBefore     = "before"
)

Filter request options operator labels

View Source
const (
	// APIVersion is the current version of the web API
	APIVersion = "1.0"
)
View Source
const APIVersionKey = "api-version"

Variables

Compare operators

Functions

func NewDescriptionRequest added in v0.2.0

func NewDescriptionRequest(labelOverride string) filter.ReadableValue[string]

func NewLevelRequest added in v0.2.0

func NewLevelRequest(labelOverride string) filter.ReadableValue[string]

func NewNameRequest added in v0.2.0

func NewNameRequest(labelOverride string) filter.ReadableValue[string]

func NewOccurrenceRequest added in v0.2.0

func NewOccurrenceRequest(labelOverride string) filter.ReadableValue[string]

func NewOriginRequest added in v0.2.0

func NewOriginRequest(labelOverride string) filter.ReadableValue[string]

func NewWebEngine

func NewWebEngine() *gin.Engine

func RegisterSwaggerDocsRoute

func RegisterSwaggerDocsRoute(docsRouter gin.IRouter)

func ToFilterOption added in v0.2.0

func ToFilterOption(options filter.RequestOption, _ int) query.FilterOption

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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