unary

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Selectors []SelectorConfig
}

func GenConfig

func GenConfig(opt ...Option) Config

type Option

type Option func(*Config)

type Selector

type Selector struct {
	Name string
	S    kit.RouteSelector
}

type SelectorConfig

type SelectorConfig struct {
	Decoder  fasthttp.DecoderFunc
	Name     string
	Selector kit.RouteSelector
}

func GenSelectorConfig

func GenSelectorConfig(opt ...SelectorOption) SelectorConfig

type SelectorOption

type SelectorOption func(*SelectorConfig)

Jump to

Keyboard shortcuts

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