Documentation
¶
Overview ¶
Package bridge supplies explicit filesystem and IPC adapters for Orb Bridge.
Index ¶
- func Dial(ctx context.Context, path string, auth Auth, handler protocol.Handler, ...) (*protocol.Conn, error)
- func Dir(profile string) (string, error)
- func Listen(ctx context.Context, path string, b *bridge.Bridge, adminSecret string, ...) (func(), error)
- func ValidName(s string) bool
- type Auth
- type Store
- type Welcome
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dir ¶ added in v0.19.1
Dir is a Bridge profile's directory: under ORB_BRIDGE_HOME, else beside an explicit agent dir, else ~/.orb/bridge.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is one Bridge document behind the profile's single-owner lock: the supplied document when native storage is open, else a private file. The lock makes this process the only writer, so the last value read or written stays authoritative and is served from memory.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package daemon is the native Bridge service: the process `orb bridge run` serves, reached over private IPC sockets in the profile directory, its peers over Tailcat and WebSocket, the machine-level calls it answers peers (host.*), and its installation as a systemd user service or on a server over SSH.
|
Package daemon is the native Bridge service: the process `orb bridge run` serves, reached over private IPC sockets in the profile directory, its peers over Tailcat and WebSocket, the machine-level calls it answers peers (host.*), and its installation as a systemd user service or on a server over SSH. |
Click to show internal directories.
Click to hide internal directories.