proxy

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidProxyTypeError added in v1.1.0

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

func (InvalidProxyTypeError) Error added in v1.1.0

func (e InvalidProxyTypeError) Error() string

type Manager

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

func NewManager

func NewManager(db *database.DB, cfg *common.Config) (*Manager, error)

func (*Manager) Shutdown

func (m *Manager) Shutdown(ctx context.Context) error

func (*Manager) StartAll

func (m *Manager) StartAll() error

type Proxy

type Proxy interface {
	Start() error
	Shutdown(context.Context) error
	GetLogger() *zerolog.Logger

	fmt.Stringer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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