api

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT 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
}

func New

func New() *Client

func (*Client) CreateTunnel

func (c *Client) CreateTunnel(subdomain, backendURL string) (*CreateResponse, error)

func (*Client) DeleteTunnel

func (c *Client) DeleteTunnel(subdomain, tunnelID, backendURL string) error

type CreateResponse

type CreateResponse struct {
	Success     bool   `json:"success"`
	TunnelID    string `json:"tunnelId"`
	TunnelToken string `json:"tunnelToken"`
	Subdomain   string `json:"subdomain"`
	URL         string `json:"url"`
	Error       string `json:"error"`
}

Jump to

Keyboard shortcuts

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