host

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	ErrPage string
	Config  *Config.Config
}

func (*Host) Init

func (h *Host) Init(c *Config.Config)

func (*Host) Listen

func (h *Host) Listen()

Listen starts a server on addr

func (*Host) Remove

func (h *Host) Remove(from string)

Remove removes a proxy route

func (*Host) Set

func (h *Host) Set(name, from, to string)

Set sets a proxy route

func (*Host) SetConfig

func (h *Host) SetConfig()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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