mapping

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge[T any](scoped, configured []T) []T

func WithState

func WithState[T any](r *http.Request, state *State[T]) *http.Request

Types

type State

type State[T any] struct {
	// contains filtered or unexported fields
}

func NewState

func NewState[T any]() *State[T]

func StateFrom

func StateFrom[T any](r *http.Request) *State[T]

func (*State[T]) Items

func (s *State[T]) Items() []T

func (*State[T]) Prepend

func (s *State[T]) Prepend(items ...T)

Jump to

Keyboard shortcuts

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