internal

package
v0.255.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupRequest added in v0.233.0

func LookupRequest(ctx context.Context) (*http.Request, bool)

func WithRequest added in v0.233.0

func WithRequest(ctx context.Context, req *http.Request) context.Context

Types

type Routing

type Routing struct {
	PathLeft string
	Current  string
}

func LookupRouting

func LookupRouting(ctx context.Context) (*Routing, bool)

func WithRoutingContext

func WithRoutingContext(request *http.Request) (*http.Request, *Routing)

func (Routing) Peek

func (routing Routing) Peek(path string) Routing

func (*Routing) Travel

func (routing *Routing) Travel(path string)

Jump to

Keyboard shortcuts

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