tcp

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	EntryPoints []string `cfg:"entrypoints"`
	Middlewares []string `cfg:"middlewares"`
}

type TCP

type TCP struct {
	Routers     map[string]Router        `cfg:"routers"`
	Middlewares map[string]TCPMiddleware `cfg:"middlewares"`
}

func (*TCP) Set

func (h *TCP) Set(ctx context.Context, wg *sync.WaitGroup) error

type TCPMiddleware

type TCPMiddleware struct {
	RedirectMiddleware *middlewares.Redirect `cfg:"redirect"`
}

func (*TCPMiddleware) Set

func (h *TCPMiddleware) Set(ctx context.Context, name string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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