proxymgr

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: MPL-2.0 Imports: 4 Imported by: 2

Documentation

Overview

proxymgr handles the adding of 'routes' (subdomain.domain/path sets) and their 'targets' or 'page', creating a reverse proxy router. It also handles the adding of 'certs' (key/cert sets) for a secure reverse proxy router

Index

Constants

This section is empty.

Variables

View Source
var (
	Proxy proxyable
)

Functions

func DeleteCert

func DeleteCert(cert core.CertBundle) error

func DeleteRoute

func DeleteRoute(route core.Route) error

func GetCerts

func GetCerts() ([]core.CertBundle, error)

func GetRoutes

func GetRoutes() ([]core.Route, error)

func Init

func Init() error

func SetCert

func SetCert(cert core.CertBundle) error

func SetCerts

func SetCerts(certs []core.CertBundle) error

func SetRoute

func SetRoute(route core.Route) error

func SetRoutes

func SetRoutes(routes []core.Route) error

Types

type Nanobox

type Nanobox struct{}

func (Nanobox) DeleteCert

func (self Nanobox) DeleteCert(cert core.CertBundle) error

func (Nanobox) DeleteRoute

func (self Nanobox) DeleteRoute(route core.Route) error

func (Nanobox) GetCerts

func (self Nanobox) GetCerts() ([]core.CertBundle, error)

func (Nanobox) GetRoutes

func (self Nanobox) GetRoutes() ([]core.Route, error)

func (Nanobox) Init

func (self Nanobox) Init() error

func (Nanobox) SetCert

func (self Nanobox) SetCert(cert core.CertBundle) error

func (Nanobox) SetCerts

func (self Nanobox) SetCerts(certs []core.CertBundle) error

func (Nanobox) SetRoute

func (self Nanobox) SetRoute(route core.Route) error

func (Nanobox) SetRoutes

func (self Nanobox) SetRoutes(routes []core.Route) error

Jump to

Keyboard shortcuts

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