control

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPanelEgress control.Panel

DefaultPanelEgress get fetch config

Functions

func Init

func Init() error

Init initialize DefaultPanel

func InstallPlugin

func InstallPlugin(name string, f func(options Options) control.Panel)

InstallPlugin install implementation

Types

type EgressConfig

type EgressConfig struct {
	Hosts []string
	Ports []*EgressPort
}

EgressConfig is a standardized model

type EgressPort

type EgressPort struct {
	Port     int32
	Protocol string
}

EgressPort protocol and the corresponding port

type Options

type Options struct {
	Address string
}

Options is options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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