path

package
v3.3.8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package path resolves using http path

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver(opts ...resolver.Option) resolver.Resolver

NewResolver returns new path resolver

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver the path resolver

func (*Resolver) Resolve

func (r *Resolver) Resolve(req *http.Request, opts ...resolver.ResolveOption) (*resolver.Endpoint, error)

Resolve resolves endpoint

func (*Resolver) String

func (r *Resolver) String() string

String retruns the string representation

Jump to

Keyboard shortcuts

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