proxy

package
v0.0.0-...-340d02b Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts Options) error

Types

type Admin

type Admin struct{}

func (Admin) CaddyModule

func (Admin) CaddyModule() caddy.ModuleInfo

func (Admin) Routes

func (Admin) Routes() []caddy.AdminRoute

type Options

type Options struct {
	Socket     string
	ConfigFile string
	Resume     bool
}

type Reporter

type Reporter struct {
	URL   string `json:"url,omitempty"`
	Token string `json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (Reporter) CaddyModule

func (Reporter) CaddyModule() caddy.ModuleInfo

func (*Reporter) Handle

func (r *Reporter) Handle(_ context.Context, e caddy.Event) error

func (*Reporter) Provision

func (r *Reporter) Provision(ctx caddy.Context) error

Jump to

Keyboard shortcuts

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