api

package
v0.0.0-...-e797edf Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProxyByBindPortHandler

func GetProxyByBindPortHandler(c echo.Context) error

func HealthCheckHandler

func HealthCheckHandler(c echo.Context) error

func NewProxyHandler

func NewProxyHandler(c echo.Context) error

func UnregisterProxyByPortHandler

func UnregisterProxyByPortHandler(c echo.Context) error

Types

type API

type API struct {
	BindAddress string
	BindPort    int
	// contains filtered or unexported fields
}

func GetAPI

func GetAPI(bindAddress string, bindPort int, debug bool, logger *zap.Logger) *API

func (*API) Start

func (a *API) Start()

Jump to

Keyboard shortcuts

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