handler

package
v0.0.0-...-1ca255e Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUrlBuild

func GetUrlBuild(c *fiber.Ctx) error

func GetUrls

func GetUrls() (urls map[string]Url)

func Proxy

func Proxy(c *fiber.Ctx) (err error)

func SetUrls

func SetUrls(u Url)

func UrlBuild

func UrlBuild(c *fiber.Ctx) error

Types

type Url

type Url struct {
	Id     string `json:"id"`
	SSL    bool   `json:"ssl"`
	Opaque string `json:"opaque"` // encoded opaque data
	Host   string `json:"host"`   // host or host:port
	Path   string `json:"path"`   // path (relative paths may omit leading slash)
	Query  string `json:"query"`  // encoded query values, without '?'
}

Jump to

Keyboard shortcuts

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