Documentation ¶ Index ¶ func Merge[T any](scoped, configured []T) []T func WithState[T any](r *http.Request, state *State[T]) *http.Request type State func NewState[T any]() *State[T] func StateFrom[T any](r *http.Request) *State[T] func (s *State[T]) Items() []T func (s *State[T]) Prepend(items ...T) 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) Source Files ¶ View all Source files state.go Click to show internal directories. Click to hide internal directories.