adapter

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyFSAdapter

func NewProxyFSAdapter(params *ProxyFSAdapterParams) port.ProxyAdapter

Types

type ProxyFSAdapter

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

func (*ProxyFSAdapter) AddRedirect

func (a *ProxyFSAdapter) AddRedirect(id uuid.UUID, redirect types.ProxyRedirect) error

func (*ProxyFSAdapter) GetRedirectByHost

func (a *ProxyFSAdapter) GetRedirectByHost(host string) *types.ProxyRedirect

func (*ProxyFSAdapter) GetRedirects

func (a *ProxyFSAdapter) GetRedirects() types.ProxyRedirects

func (*ProxyFSAdapter) RemoveRedirect

func (a *ProxyFSAdapter) RemoveRedirect(id uuid.UUID) error

type ProxyFSAdapterParams

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

Jump to

Keyboard shortcuts

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