cacheproxy

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 4 Imported by: 0

README

cacheproxy

proxy cache for offline testing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server added in v0.0.2

func Server(ctx context.Context, cfg *config.Config) error

Types

type Manager

type Manager struct {
	LastPort int
	PortFrom int
	PortTo   int
	AllPorts []int
	// contains filtered or unexported fields
}

func NewManager

func NewManager(portFrom, portTo int, cfg *config.Config) *Manager

func (*Manager) RunSrv

func (m *Manager) RunSrv(ctx context.Context, fileName string) (int, error)

func (*Manager) SetCfg

func (m *Manager) SetCfg(cfg *config.Config)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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