proxy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager(
	mappingRepo domain.MappingRepository,
	factory ServerFactory,
) app.Server

NewManager creates a new server instance for managings proxy servers.

Types

type ServerFactory

type ServerFactory interface {
	CreateServer(port domain.Port) app.Server
}

ServerFactory is a factory object for creating proxy server instances.

func NewFactory

func NewFactory(mappingRepo domain.MappingRepository) ServerFactory

NewFactory creates a new ServerFactory instance.

Jump to

Keyboard shortcuts

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