service

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyService

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

func NewProxyService

func NewProxyService(proxyAdapter types.ProxyAdapterPort) *ProxyService

func (*ProxyService) AddRedirect

func (s *ProxyService) AddRedirect(redirect types.ProxyRedirect) error

func (*ProxyService) GetRedirects

func (s *ProxyService) GetRedirects() types.ProxyRedirects

func (*ProxyService) HandleProxy

func (s *ProxyService) HandleProxy(c *router.Context)

func (*ProxyService) RemoveRedirect

func (s *ProxyService) RemoveRedirect(id uuid.UUID) error

Jump to

Keyboard shortcuts

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