MCPcopy Create free account

hub / github.com/tailscale/tailcat / types & classes

Types & classes21 in github.com/tailscale/tailcat

↓ 9 callersTypeAliasConnBlob
ConnBlob is a compact, URL-safe string that a server gives to clients so they can connect. It is the "tc"-prefixed base64url encoding of CBOR-encoded
tailcat.go:136
↓ 7 callersTypeAliasDERPMapURL
DERPMapURL is an option for [ConnInfo.Expand] specifying an alternate URL to fetch the DERP map from instead of [DefaultDERPMapURL].
tailcat.go:98
StructClient
Client connects to a [Server] over a WireGuard tunnel relayed through DERP. Populate Server (the only required field, or use the [NewClient] shorthand
tailcat.go:1399
StructConnInfo
ConnInfo describes how to reach a server: its public key and which DERP relay region to use. It is serialized into a [ConnBlob] for exchange, via the
tailcat.go:141
InterfaceDERPMapCache
DERPMapCache is an option for [ConnInfo.Expand] and [FetchDERPMap] that caches fetched DERP maps. Without one, a process-wide in-memory cache is used;
tailcat.go:109
StructNodePublic
NodePublic is a wrapper around key.NodePublic just so we can have a slightly smaller CBOR representation without the "np" prefix.
tailcat.go:165
StructPingResult
PingResult is the result of a successful [Client.Ping] call.
tailcat.go:1582
StructPrivateKey
PrivateKey is a node identity: a private key paired with the connection info needed to reach this node. The DERP region in Public must be populated by
tailcat.go:189
StructServer
Server listens for clients over a WireGuard tunnel relayed through DERP. Incoming TCP connections are dispatched via [Server.OnTCP] (for connections a
tailcat.go:277
InterfacecloseWriter
closeWriter is implemented by TCP-like connections (such as [net.TCPConn] and gVisor's gonet.TCPConn) that can shut down just their writing side.
tailcat.go:1790
StructderpMapCache
derpMapCache implements [tailcat.DERPMapCache] on disk, in $XDG_CACHE_HOME/tailcat (~/.cache/tailcat on Linux). Each DERP map URL gets a derpmap-<url-
cmd/tailcat/tailcat.go:317
StructexpandForServer
tailcat.go:131
StructlocoBackend
locoBackend is like tailscaled's LocalBackend, but crazier. It serves a similar purpose (to be the hub of the world) but there's no controlclient invo
tailcat.go:209
StructmemDERPMapCache
memDERPMapCache is a process-wide in-memory [DERPMapCache], the default when no cache option is provided.
tailcat.go:810
StructmemDERPMapEntry
tailcat.go:815
StructrecvResult
web/wasm_test.go:330
StructsocksTarget
socksTarget is where a SOCKS5 destination address should be dialed.
cmd/tailcat/tailcat.go:587
StructtestSSHEnv
testSSHEnv holds the shared state for SSH tests: a tailcat server with SSH enabled and a connected client, all using a localhost DERP relay.
tailcat_ssh_test.go:25
StructwireConnInfo
This file defines the CBOR wire types behind [ConnBlob]. They mirror the subset of [ConnInfo] and the tailcfg DERP types that tailcat actually uses, w
wire.go:26
StructwireNode
wireNode is the wire form of [tailcfg.DERPNode].
wire.go:41
StructwireRegion
wireRegion is the wire form of [tailcfg.DERPRegion].
wire.go:33