httppattern

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(pat *Pattern, vals ...string) (string, error)

Build constructs a full url given the pattern 'pat' and 'vals' for wildcards.

Types

type Pattern

type Pattern pattern

Pattern exposes the private type /net/http.pattern.

func ParsePattern

func ParsePattern(s string) (*Pattern, error)

ParsePattern parses 's' as a patterned route for Go 1.22's ServeMux.

Jump to

Keyboard shortcuts

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