reverseproxy

package
v0.0.0-...-5d951de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Meta = appmeta.Meta{
	ID:          "reverse-proxy",
	Name:        "Vertex Reverse Proxy",
	Description: "Redirect traffic to your containers.",
	Icon:        "router",
	DefaultPort: "7508",
	Dependencies: []*appmeta.Meta{
		&authmeta.Meta,
		&logsmeta.Meta,
	},
}

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp() *App

func (*App) Initialize

func (a *App) Initialize() error

func (*App) InitializeRouter

func (a *App) InitializeRouter(r *fizz.RouterGroup) error

func (*App) Load

func (a *App) Load(ctx *app.Context)

func (*App) Meta

func (a *App) Meta() appmeta.Meta

func (*App) Uninitialize

func (a *App) Uninitialize() error

type ProxyRouter

type ProxyRouter struct {
	*router.Router
	// contains filtered or unexported fields
}

func NewProxyRouter

func NewProxyRouter(proxyService port.ProxyService) *ProxyRouter

func (*ProxyRouter) HandleProxy

func (r *ProxyRouter) HandleProxy(ctx *gin.Context)

func (*ProxyRouter) Start

func (r *ProxyRouter) Start() error

func (*ProxyRouter) Stop

func (r *ProxyRouter) Stop() error

Directories

Path Synopsis
cmd
main command
core

Jump to

Keyboard shortcuts

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