Documentation
¶
Index ¶
- type AnchorProvider
- type ExecutorProvider
- type Host
- func (h Host) AddRef() Host
- func (h Host) Executor(ctx context.Context) (csp.Executor, capnp.ReleaseFunc)
- func (h Host) PubSub(ctx context.Context) (pubsub.Router, capnp.ReleaseFunc)
- func (h Host) Registry(ctx context.Context) (service.Registry, capnp.ReleaseFunc)
- func (h Host) Release()
- func (h Host) Resolve(ctx context.Context) error
- func (h Host) Root(ctx context.Context) (anchor.Anchor, capnp.ReleaseFunc)
- func (h Host) View(ctx context.Context) (view.View, capnp.ReleaseFunc)
- type PubSubProvider
- type RegistryProvider
- type Server
- func (s Server) Client() capnp.Client
- func (s Server) Executor(_ context.Context, call api.Host_executor) error
- func (s Server) Host() Host
- func (s Server) PubSub(_ context.Context, call api.Host_pubSub) error
- func (s Server) Registry(_ context.Context, call api.Host_registry) error
- func (s Server) Root(_ context.Context, call api.Host_root) error
- func (s Server) View(_ context.Context, call api.Host_view) error
- type ViewProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorProvider ¶
type ExecutorProvider ¶
type PubSubProvider ¶
type RegistryProvider ¶
type Server ¶
type Server struct {
ViewProvider ViewProvider
PubSubProvider PubSubProvider
AnchorProvider AnchorProvider
RegistryProvider RegistryProvider
ExecutorProvider ExecutorProvider
}
Server provides the Host capability.
type ViewProvider ¶
Click to show internal directories.
Click to hide internal directories.