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
Click to show internal directories.
Click to hide internal directories.