handler

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyHandler

func NewProxyHandler(proxyService port.ProxyService) port.ProxyHandler

Types

type AddRedirectBody

type AddRedirectBody struct {
	Source string `json:"source"`
	Target string `json:"target"`
}

type ProxyHandler

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

func (*ProxyHandler) AddRedirect

func (r *ProxyHandler) AddRedirect(c *router.Context)

func (*ProxyHandler) GetRedirects

func (r *ProxyHandler) GetRedirects(c *router.Context)

func (*ProxyHandler) RemoveRedirect

func (r *ProxyHandler) RemoveRedirect(c *router.Context)

Jump to

Keyboard shortcuts

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