mix

package module
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 4 Imported by: 1

README

Web Multiplexer for overlapping paths

Mix is a Router/Multiplexer for overlapping paths based on github.com/go-chi/chi

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.ErrNotFound
)

Functions

func NewRouteContext added in v0.11.0

func NewRouteContext(ctx context.Context, prefix, path string) *mctx.Context

func RouteContext added in v0.11.0

func RouteContext(ctx context.Context) *mctx.Context

func WithRouteContext added in v0.11.0

func WithRouteContext(ctx context.Context, rctx *mctx.Context) context.Context

Types

type Context

type Context = mctx.Context

type Mixer

type Mixer = types.Mixer

Directories

Path Synopsis
chi

Jump to

Keyboard shortcuts

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