caddynet

package module
v0.0.0-...-6b3caab Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

caddy-net-proxy

A Caddy 2 module for enabling TCP/UDP proxying.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	Source      string `json:"source,omitempty"`
	Destination string `json:"destination,omitempty"`
	// contains filtered or unexported fields
}

Proxy implements Caddy module interface for TCP/UDP proxying

func (Proxy) CaddyModule

func (Proxy) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*Proxy) Start

func (p *Proxy) Start() error

func (*Proxy) Stop

func (p *Proxy) Stop() error

Jump to

Keyboard shortcuts

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