service

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyService

func NewProxyService(proxyAdapter port.ProxyAdapter) port.ProxyService

Types

type ProxyService

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

func (*ProxyService) AddRedirect

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

func (*ProxyService) GetRedirectByHost

func (s *ProxyService) GetRedirectByHost(host string) *types.ProxyRedirect

func (*ProxyService) GetRedirects

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

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