caddy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPublicConfig

func AddPublicConfig(ctx context.Context, sshClient *ssh.Client, remote *client.Client, clientID string, configs []ProxyConfig, upstream string) error

func DeployCaddyService

func DeployCaddyService(ctx context.Context, out io.Writer, remote *client.Client, network string) error

func RemovePublicConfig

func RemovePublicConfig(ctx context.Context, sshClient *ssh.Client, remote *client.Client, clientID string) error

Types

type ProxyConfig

type ProxyConfig struct {
	Address    string
	TargetPort int
}

Jump to

Keyboard shortcuts

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