resolver

package
v2.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 2 Imported by: 0

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