resolver

package
v0.0.0-...-95b4fb8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 2 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestURL

type RequestURL struct {
	Port int
	// contains filtered or unexported fields
}

RequestURL simply returns the request url from REQUEST_URI header this should not be done in production applications

func (RequestURL) GetBaseURL

func (m RequestURL) GetBaseURL() string

GetBaseURL implements `URLResolver` interface

func (*RequestURL) SetRequest

func (m *RequestURL) SetRequest(r http.Request)

SetRequest to implement `RequestAwareResolverInterface`

Jump to

Keyboard shortcuts

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