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 connects to the gatecrash server and handles tunnel requests.
type Config ¶
type Config struct {
ServerAddr string // host:port of the SSH server
Token string // tunnel token (tunnel_id:secret)
TargetHost string // default target service host
TargetPort int // default target service port
HostKey string // optional SSH host key fingerprint (SHA256:...)
TargetTLS string // "", "tls", or "tls-insecure"
Routes map[string]RouteTarget // hostname or "tcp" → target
}
Config holds the client configuration.
type RouteTarget ¶ added in v0.8.4
RouteTarget defines a backend target for routing.
Click to show internal directories.
Click to hide internal directories.