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 InstanceFromContext(ctx context.Context) string
- func Listen(ctx context.Context, path string, b *bridge.Bridge, adminSecret string, ...) (func(), error)
- type Auth
- type Store
- type Welcome
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstanceFromContext ¶
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.
Click to show internal directories.
Click to hide internal directories.