chisel

package
v0.0.0-...-dd18d0e Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Zlib Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is used to create a reverse proxy tunnel connected to a Portainer instance.

func NewClient

func NewClient() *Client

NewClient creates a new reverse tunnel client

func (*Client) CloseTunnel

func (client *Client) CloseTunnel() error

CloseTunnel will close the associated chisel client

func (*Client) CreateTunnel

func (client *Client) CreateTunnel(tunnelConfig agent.TunnelConfig) error

CreateTunnel will create a reverse tunnel

func (*Client) IsTunnelOpen

func (client *Client) IsTunnelOpen() bool

IsTunnelOpen returns true if the tunnel is created

Jump to

Keyboard shortcuts

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