Documentation
¶
Index ¶
- Constants
- func AuthProvider_Methods(methods []server.Method, s AuthProvider_Server) []server.Method
- func AuthProvider_NewServer(s AuthProvider_Server) *server.Server
- func Host_Methods(methods []server.Method, s Host_Server) []server.Method
- func Host_NewServer(s Host_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- func Signer_Methods(methods []server.Method, s Signer_Server) []server.Method
- func Signer_NewServer(s Signer_Server) *server.Server
- func View_Handler_Methods(methods []server.Method, s View_Handler_Server) []server.Method
- func View_Handler_NewServer(s View_Handler_Server) *server.Server
- func View_Methods(methods []server.Method, s View_Server) []server.Method
- func View_NewServer(s View_Server) *server.Server
- type AuthProvider
- func (c AuthProvider) AddRef() AuthProvider
- func (AuthProvider) DecodeFromPtr(p capnp.Ptr) AuthProvider
- func (c AuthProvider) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c AuthProvider) GetFlowLimiter() fc.FlowLimiter
- func (c AuthProvider) IsSame(other AuthProvider) bool
- func (c AuthProvider) IsValid() bool
- func (c AuthProvider) Provide(ctx context.Context, params func(AuthProvider_provide_Params) error) (AuthProvider_provide_Results_Future, capnp.ReleaseFunc)
- func (c AuthProvider) Release()
- func (c AuthProvider) Resolve(ctx context.Context) error
- func (c AuthProvider) SetFlowLimiter(lim fc.FlowLimiter)
- func (c AuthProvider) String() string
- func (c AuthProvider) WaitStreaming() error
- type AuthProvider_List
- type AuthProvider_Server
- type AuthProvider_provide
- type AuthProvider_provide_Params
- func (s AuthProvider_provide_Params) Account() Signer
- func (AuthProvider_provide_Params) DecodeFromPtr(p capnp.Ptr) AuthProvider_provide_Params
- func (s AuthProvider_provide_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s AuthProvider_provide_Params) HasAccount() bool
- func (s AuthProvider_provide_Params) IsValid() bool
- func (s AuthProvider_provide_Params) Message() *capnp.Message
- func (s AuthProvider_provide_Params) Segment() *capnp.Segment
- func (s AuthProvider_provide_Params) SetAccount(v Signer) error
- func (s AuthProvider_provide_Params) String() string
- func (s AuthProvider_provide_Params) ToPtr() capnp.Ptr
- type AuthProvider_provide_Params_Future
- type AuthProvider_provide_Params_List
- type AuthProvider_provide_Results
- func (AuthProvider_provide_Results) DecodeFromPtr(p capnp.Ptr) AuthProvider_provide_Results
- func (s AuthProvider_provide_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s AuthProvider_provide_Results) HasPubSub() bool
- func (s AuthProvider_provide_Results) HasRoot() bool
- func (s AuthProvider_provide_Results) HasView() bool
- func (s AuthProvider_provide_Results) IsValid() bool
- func (s AuthProvider_provide_Results) Message() *capnp.Message
- func (s AuthProvider_provide_Results) PubSub() pubsub.Router
- func (s AuthProvider_provide_Results) Root() anchor.Anchor
- func (s AuthProvider_provide_Results) Segment() *capnp.Segment
- func (s AuthProvider_provide_Results) SetPubSub(v pubsub.Router) error
- func (s AuthProvider_provide_Results) SetRoot(v anchor.Anchor) error
- func (s AuthProvider_provide_Results) SetView(v View) error
- func (s AuthProvider_provide_Results) String() string
- func (s AuthProvider_provide_Results) ToPtr() capnp.Ptr
- func (s AuthProvider_provide_Results) View() View
- type AuthProvider_provide_Results_Future
- type AuthProvider_provide_Results_List
- type Heartbeat
- func (Heartbeat) DecodeFromPtr(p capnp.Ptr) Heartbeat
- func (s Heartbeat) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Heartbeat) HasHost() bool
- func (s Heartbeat) HasMeta() bool
- func (s Heartbeat) Host() (string, error)
- func (s Heartbeat) HostBytes() ([]byte, error)
- func (s Heartbeat) IsValid() bool
- func (s Heartbeat) Message() *capnp.Message
- func (s Heartbeat) Meta() (capnp.TextList, error)
- func (s Heartbeat) NewMeta(n int32) (capnp.TextList, error)
- func (s Heartbeat) Segment() *capnp.Segment
- func (s Heartbeat) Server() uint64
- func (s Heartbeat) SetHost(v string) error
- func (s Heartbeat) SetMeta(v capnp.TextList) error
- func (s Heartbeat) SetServer(v uint64)
- func (s Heartbeat) SetTtl(v uint32)
- func (s Heartbeat) String() string
- func (s Heartbeat) ToPtr() capnp.Ptr
- func (s Heartbeat) Ttl() uint32
- type Heartbeat_Future
- type Heartbeat_List
- type Host
- func (c Host) AddRef() Host
- func (Host) DecodeFromPtr(p capnp.Ptr) Host
- func (c Host) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Host) Executor(ctx context.Context, params func(Host_executor_Params) error) (Host_executor_Results_Future, capnp.ReleaseFunc)
- func (c Host) GetFlowLimiter() fc.FlowLimiter
- func (c Host) IsSame(other Host) bool
- func (c Host) IsValid() bool
- func (c Host) PubSub(ctx context.Context, params func(Host_pubSub_Params) error) (Host_pubSub_Results_Future, capnp.ReleaseFunc)
- func (c Host) Registry(ctx context.Context, params func(Host_registry_Params) error) (Host_registry_Results_Future, capnp.ReleaseFunc)
- func (c Host) Release()
- func (c Host) Resolve(ctx context.Context) error
- func (c Host) Root(ctx context.Context, params func(Host_root_Params) error) (Host_root_Results_Future, capnp.ReleaseFunc)
- func (c Host) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Host) String() string
- func (c Host) View(ctx context.Context, params func(Host_view_Params) error) (Host_view_Results_Future, capnp.ReleaseFunc)
- func (c Host) WaitStreaming() error
- type Host_List
- type Host_Server
- type Host_executor
- type Host_executor_Params
- func (Host_executor_Params) DecodeFromPtr(p capnp.Ptr) Host_executor_Params
- func (s Host_executor_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_executor_Params) IsValid() bool
- func (s Host_executor_Params) Message() *capnp.Message
- func (s Host_executor_Params) Segment() *capnp.Segment
- func (s Host_executor_Params) String() string
- func (s Host_executor_Params) ToPtr() capnp.Ptr
- type Host_executor_Params_Future
- type Host_executor_Params_List
- type Host_executor_Results
- func (Host_executor_Results) DecodeFromPtr(p capnp.Ptr) Host_executor_Results
- func (s Host_executor_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_executor_Results) Executor() process.Executor
- func (s Host_executor_Results) HasExecutor() bool
- func (s Host_executor_Results) IsValid() bool
- func (s Host_executor_Results) Message() *capnp.Message
- func (s Host_executor_Results) Segment() *capnp.Segment
- func (s Host_executor_Results) SetExecutor(v process.Executor) error
- func (s Host_executor_Results) String() string
- func (s Host_executor_Results) ToPtr() capnp.Ptr
- type Host_executor_Results_Future
- type Host_executor_Results_List
- type Host_pubSub
- type Host_pubSub_Params
- func (Host_pubSub_Params) DecodeFromPtr(p capnp.Ptr) Host_pubSub_Params
- func (s Host_pubSub_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_pubSub_Params) IsValid() bool
- func (s Host_pubSub_Params) Message() *capnp.Message
- func (s Host_pubSub_Params) Segment() *capnp.Segment
- func (s Host_pubSub_Params) String() string
- func (s Host_pubSub_Params) ToPtr() capnp.Ptr
- type Host_pubSub_Params_Future
- type Host_pubSub_Params_List
- type Host_pubSub_Results
- func (Host_pubSub_Results) DecodeFromPtr(p capnp.Ptr) Host_pubSub_Results
- func (s Host_pubSub_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_pubSub_Results) HasPubSub() bool
- func (s Host_pubSub_Results) IsValid() bool
- func (s Host_pubSub_Results) Message() *capnp.Message
- func (s Host_pubSub_Results) PubSub() pubsub.Router
- func (s Host_pubSub_Results) Segment() *capnp.Segment
- func (s Host_pubSub_Results) SetPubSub(v pubsub.Router) error
- func (s Host_pubSub_Results) String() string
- func (s Host_pubSub_Results) ToPtr() capnp.Ptr
- type Host_pubSub_Results_Future
- type Host_pubSub_Results_List
- type Host_registry
- type Host_registry_Params
- func (Host_registry_Params) DecodeFromPtr(p capnp.Ptr) Host_registry_Params
- func (s Host_registry_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_registry_Params) IsValid() bool
- func (s Host_registry_Params) Message() *capnp.Message
- func (s Host_registry_Params) Segment() *capnp.Segment
- func (s Host_registry_Params) String() string
- func (s Host_registry_Params) ToPtr() capnp.Ptr
- type Host_registry_Params_Future
- type Host_registry_Params_List
- type Host_registry_Results
- func (Host_registry_Results) DecodeFromPtr(p capnp.Ptr) Host_registry_Results
- func (s Host_registry_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_registry_Results) HasRegistry() bool
- func (s Host_registry_Results) IsValid() bool
- func (s Host_registry_Results) Message() *capnp.Message
- func (s Host_registry_Results) Registry() registry.Registry
- func (s Host_registry_Results) Segment() *capnp.Segment
- func (s Host_registry_Results) SetRegistry(v registry.Registry) error
- func (s Host_registry_Results) String() string
- func (s Host_registry_Results) ToPtr() capnp.Ptr
- type Host_registry_Results_Future
- type Host_registry_Results_List
- type Host_root
- type Host_root_Params
- func (Host_root_Params) DecodeFromPtr(p capnp.Ptr) Host_root_Params
- func (s Host_root_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_root_Params) IsValid() bool
- func (s Host_root_Params) Message() *capnp.Message
- func (s Host_root_Params) Segment() *capnp.Segment
- func (s Host_root_Params) String() string
- func (s Host_root_Params) ToPtr() capnp.Ptr
- type Host_root_Params_Future
- type Host_root_Params_List
- type Host_root_Results
- func (Host_root_Results) DecodeFromPtr(p capnp.Ptr) Host_root_Results
- func (s Host_root_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_root_Results) HasRoot() bool
- func (s Host_root_Results) IsValid() bool
- func (s Host_root_Results) Message() *capnp.Message
- func (s Host_root_Results) Root() anchor.Anchor
- func (s Host_root_Results) Segment() *capnp.Segment
- func (s Host_root_Results) SetRoot(v anchor.Anchor) error
- func (s Host_root_Results) String() string
- func (s Host_root_Results) ToPtr() capnp.Ptr
- type Host_root_Results_Future
- type Host_root_Results_List
- type Host_view
- type Host_view_Params
- func (Host_view_Params) DecodeFromPtr(p capnp.Ptr) Host_view_Params
- func (s Host_view_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_view_Params) IsValid() bool
- func (s Host_view_Params) Message() *capnp.Message
- func (s Host_view_Params) Segment() *capnp.Segment
- func (s Host_view_Params) String() string
- func (s Host_view_Params) ToPtr() capnp.Ptr
- type Host_view_Params_Future
- type Host_view_Params_List
- type Host_view_Results
- func (Host_view_Results) DecodeFromPtr(p capnp.Ptr) Host_view_Results
- func (s Host_view_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Host_view_Results) HasView() bool
- func (s Host_view_Results) IsValid() bool
- func (s Host_view_Results) Message() *capnp.Message
- func (s Host_view_Results) Segment() *capnp.Segment
- func (s Host_view_Results) SetView(v View) error
- func (s Host_view_Results) String() string
- func (s Host_view_Results) ToPtr() capnp.Ptr
- func (s Host_view_Results) View() View
- type Host_view_Results_Future
- type Host_view_Results_List
- type Signer
- func (c Signer) AddRef() Signer
- func (Signer) DecodeFromPtr(p capnp.Ptr) Signer
- func (c Signer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Signer) GetFlowLimiter() fc.FlowLimiter
- func (c Signer) IsSame(other Signer) bool
- func (c Signer) IsValid() bool
- func (c Signer) Release()
- func (c Signer) Resolve(ctx context.Context) error
- func (c Signer) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Signer) Sign(ctx context.Context, params func(Signer_sign_Params) error) (Signer_sign_Results_Future, capnp.ReleaseFunc)
- func (c Signer) String() string
- func (c Signer) WaitStreaming() error
- type Signer_List
- type Signer_Server
- type Signer_sign
- type Signer_sign_Params
- func (s Signer_sign_Params) Challenge() ([]byte, error)
- func (Signer_sign_Params) DecodeFromPtr(p capnp.Ptr) Signer_sign_Params
- func (s Signer_sign_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Signer_sign_Params) HasChallenge() bool
- func (s Signer_sign_Params) IsValid() bool
- func (s Signer_sign_Params) Message() *capnp.Message
- func (s Signer_sign_Params) Segment() *capnp.Segment
- func (s Signer_sign_Params) SetChallenge(v []byte) error
- func (s Signer_sign_Params) String() string
- func (s Signer_sign_Params) ToPtr() capnp.Ptr
- type Signer_sign_Params_Future
- type Signer_sign_Params_List
- type Signer_sign_Results
- func (Signer_sign_Results) DecodeFromPtr(p capnp.Ptr) Signer_sign_Results
- func (s Signer_sign_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Signer_sign_Results) HasSigned() bool
- func (s Signer_sign_Results) IsValid() bool
- func (s Signer_sign_Results) Message() *capnp.Message
- func (s Signer_sign_Results) Segment() *capnp.Segment
- func (s Signer_sign_Results) SetSigned(v []byte) error
- func (s Signer_sign_Results) Signed() ([]byte, error)
- func (s Signer_sign_Results) String() string
- func (s Signer_sign_Results) ToPtr() capnp.Ptr
- type Signer_sign_Results_Future
- type Signer_sign_Results_List
- type View
- func (c View) AddRef() View
- func (View) DecodeFromPtr(p capnp.Ptr) View
- func (c View) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c View) GetFlowLimiter() fc.FlowLimiter
- func (c View) IsSame(other View) bool
- func (c View) IsValid() bool
- func (c View) Iter(ctx context.Context, params func(View_iter_Params) error) (View_iter_Results_Future, capnp.ReleaseFunc)
- func (c View) Lookup(ctx context.Context, params func(View_lookup_Params) error) (View_lookup_Results_Future, capnp.ReleaseFunc)
- func (c View) Release()
- func (c View) Resolve(ctx context.Context) error
- func (c View) Reverse(ctx context.Context, params func(View_reverse_Params) error) (View_reverse_Results_Future, capnp.ReleaseFunc)
- func (c View) SetFlowLimiter(lim fc.FlowLimiter)
- func (c View) String() string
- func (c View) WaitStreaming() error
- type View_Constraint
- func (View_Constraint) DecodeFromPtr(p capnp.Ptr) View_Constraint
- func (s View_Constraint) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_Constraint) HasTo() bool
- func (s View_Constraint) IsValid() bool
- func (s View_Constraint) Limit() uint64
- func (s View_Constraint) Message() *capnp.Message
- func (s View_Constraint) NewTo() (View_Index, error)
- func (s View_Constraint) Segment() *capnp.Segment
- func (s View_Constraint) SetLimit(v uint64)
- func (s View_Constraint) SetTo(v View_Index) error
- func (s View_Constraint) String() string
- func (s View_Constraint) To() (View_Index, error)
- func (s View_Constraint) ToPtr() capnp.Ptr
- func (s View_Constraint) Which() View_Constraint_Which
- type View_Constraint_Future
- type View_Constraint_List
- type View_Constraint_Which
- type View_Handler
- func (c View_Handler) AddRef() View_Handler
- func (View_Handler) DecodeFromPtr(p capnp.Ptr) View_Handler
- func (c View_Handler) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c View_Handler) GetFlowLimiter() fc.FlowLimiter
- func (c View_Handler) IsSame(other View_Handler) bool
- func (c View_Handler) IsValid() bool
- func (c View_Handler) Recv(ctx context.Context, params func(View_Handler_recv_Params) error) error
- func (c View_Handler) Release()
- func (c View_Handler) Resolve(ctx context.Context) error
- func (c View_Handler) SetFlowLimiter(lim fc.FlowLimiter)
- func (c View_Handler) String() string
- func (c View_Handler) WaitStreaming() error
- type View_Handler_List
- type View_Handler_Server
- type View_Handler_recv
- type View_Handler_recv_Params
- func (View_Handler_recv_Params) DecodeFromPtr(p capnp.Ptr) View_Handler_recv_Params
- func (s View_Handler_recv_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_Handler_recv_Params) HasRecord() bool
- func (s View_Handler_recv_Params) IsValid() bool
- func (s View_Handler_recv_Params) Message() *capnp.Message
- func (s View_Handler_recv_Params) NewRecord() (View_Record, error)
- func (s View_Handler_recv_Params) Record() (View_Record, error)
- func (s View_Handler_recv_Params) Segment() *capnp.Segment
- func (s View_Handler_recv_Params) SetRecord(v View_Record) error
- func (s View_Handler_recv_Params) String() string
- func (s View_Handler_recv_Params) ToPtr() capnp.Ptr
- type View_Handler_recv_Params_Future
- type View_Handler_recv_Params_List
- type View_Index
- func (View_Index) DecodeFromPtr(p capnp.Ptr) View_Index
- func (s View_Index) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_Index) HasHost() bool
- func (s View_Index) HasMeta() bool
- func (s View_Index) HasPeer() bool
- func (s View_Index) HasServer() bool
- func (s View_Index) Host() (string, error)
- func (s View_Index) HostBytes() ([]byte, error)
- func (s View_Index) IsValid() bool
- func (s View_Index) Message() *capnp.Message
- func (s View_Index) Meta() (string, error)
- func (s View_Index) MetaBytes() ([]byte, error)
- func (s View_Index) Peer() (string, error)
- func (s View_Index) PeerBytes() ([]byte, error)
- func (s View_Index) Prefix() bool
- func (s View_Index) Segment() *capnp.Segment
- func (s View_Index) Server() ([]byte, error)
- func (s View_Index) SetHost(v string) error
- func (s View_Index) SetMeta(v string) error
- func (s View_Index) SetPeer(v string) error
- func (s View_Index) SetPrefix(v bool)
- func (s View_Index) SetServer(v []byte) error
- func (s View_Index) String() string
- func (s View_Index) ToPtr() capnp.Ptr
- func (s View_Index) Which() View_Index_Which
- type View_Index_Future
- type View_Index_List
- type View_Index_Which
- type View_List
- type View_MaybeRecord
- func (View_MaybeRecord) DecodeFromPtr(p capnp.Ptr) View_MaybeRecord
- func (s View_MaybeRecord) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_MaybeRecord) HasJust() bool
- func (s View_MaybeRecord) IsValid() bool
- func (s View_MaybeRecord) Just() (View_Record, error)
- func (s View_MaybeRecord) Message() *capnp.Message
- func (s View_MaybeRecord) NewJust() (View_Record, error)
- func (s View_MaybeRecord) Segment() *capnp.Segment
- func (s View_MaybeRecord) SetJust(v View_Record) error
- func (s View_MaybeRecord) SetNothing()
- func (s View_MaybeRecord) String() string
- func (s View_MaybeRecord) ToPtr() capnp.Ptr
- func (s View_MaybeRecord) Which() View_MaybeRecord_Which
- type View_MaybeRecord_Future
- type View_MaybeRecord_List
- type View_MaybeRecord_Which
- type View_Record
- func (View_Record) DecodeFromPtr(p capnp.Ptr) View_Record
- func (s View_Record) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_Record) HasHeartbeat() bool
- func (s View_Record) HasPeer() bool
- func (s View_Record) Heartbeat() (Heartbeat, error)
- func (s View_Record) IsValid() bool
- func (s View_Record) Message() *capnp.Message
- func (s View_Record) NewHeartbeat() (Heartbeat, error)
- func (s View_Record) Peer() (string, error)
- func (s View_Record) PeerBytes() ([]byte, error)
- func (s View_Record) Segment() *capnp.Segment
- func (s View_Record) Seq() uint64
- func (s View_Record) Server() uint64
- func (s View_Record) SetHeartbeat(v Heartbeat) error
- func (s View_Record) SetPeer(v string) error
- func (s View_Record) SetSeq(v uint64)
- func (s View_Record) SetServer(v uint64)
- func (s View_Record) String() string
- func (s View_Record) ToPtr() capnp.Ptr
- type View_Record_Future
- type View_Record_List
- type View_Selector
- func (View_Selector) DecodeFromPtr(p capnp.Ptr) View_Selector
- func (s View_Selector) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_Selector) From() (View_Index, error)
- func (s View_Selector) HasFrom() bool
- func (s View_Selector) HasMatch() bool
- func (s View_Selector) IsValid() bool
- func (s View_Selector) Match() (View_Index, error)
- func (s View_Selector) Message() *capnp.Message
- func (s View_Selector) NewFrom() (View_Index, error)
- func (s View_Selector) NewMatch() (View_Index, error)
- func (s View_Selector) Segment() *capnp.Segment
- func (s View_Selector) SetAll()
- func (s View_Selector) SetFrom(v View_Index) error
- func (s View_Selector) SetMatch(v View_Index) error
- func (s View_Selector) String() string
- func (s View_Selector) ToPtr() capnp.Ptr
- func (s View_Selector) Which() View_Selector_Which
- type View_Selector_Future
- type View_Selector_List
- type View_Selector_Which
- type View_Server
- type View_iter
- type View_iter_Params
- func (s View_iter_Params) Constraints() (View_Constraint_List, error)
- func (View_iter_Params) DecodeFromPtr(p capnp.Ptr) View_iter_Params
- func (s View_iter_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_iter_Params) Handler() View_Handler
- func (s View_iter_Params) HasConstraints() bool
- func (s View_iter_Params) HasHandler() bool
- func (s View_iter_Params) HasSelector() bool
- func (s View_iter_Params) IsValid() bool
- func (s View_iter_Params) Message() *capnp.Message
- func (s View_iter_Params) NewConstraints(n int32) (View_Constraint_List, error)
- func (s View_iter_Params) NewSelector() (View_Selector, error)
- func (s View_iter_Params) Segment() *capnp.Segment
- func (s View_iter_Params) Selector() (View_Selector, error)
- func (s View_iter_Params) SetConstraints(v View_Constraint_List) error
- func (s View_iter_Params) SetHandler(v View_Handler) error
- func (s View_iter_Params) SetSelector(v View_Selector) error
- func (s View_iter_Params) String() string
- func (s View_iter_Params) ToPtr() capnp.Ptr
- type View_iter_Params_Future
- type View_iter_Params_List
- type View_iter_Results
- func (View_iter_Results) DecodeFromPtr(p capnp.Ptr) View_iter_Results
- func (s View_iter_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_iter_Results) IsValid() bool
- func (s View_iter_Results) Message() *capnp.Message
- func (s View_iter_Results) Segment() *capnp.Segment
- func (s View_iter_Results) String() string
- func (s View_iter_Results) ToPtr() capnp.Ptr
- type View_iter_Results_Future
- type View_iter_Results_List
- type View_lookup
- type View_lookup_Params
- func (s View_lookup_Params) Constraints() (View_Constraint_List, error)
- func (View_lookup_Params) DecodeFromPtr(p capnp.Ptr) View_lookup_Params
- func (s View_lookup_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_lookup_Params) HasConstraints() bool
- func (s View_lookup_Params) HasSelector() bool
- func (s View_lookup_Params) IsValid() bool
- func (s View_lookup_Params) Message() *capnp.Message
- func (s View_lookup_Params) NewConstraints(n int32) (View_Constraint_List, error)
- func (s View_lookup_Params) NewSelector() (View_Selector, error)
- func (s View_lookup_Params) Segment() *capnp.Segment
- func (s View_lookup_Params) Selector() (View_Selector, error)
- func (s View_lookup_Params) SetConstraints(v View_Constraint_List) error
- func (s View_lookup_Params) SetSelector(v View_Selector) error
- func (s View_lookup_Params) String() string
- func (s View_lookup_Params) ToPtr() capnp.Ptr
- type View_lookup_Params_Future
- type View_lookup_Params_List
- type View_lookup_Results
- func (View_lookup_Results) DecodeFromPtr(p capnp.Ptr) View_lookup_Results
- func (s View_lookup_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_lookup_Results) HasResult() bool
- func (s View_lookup_Results) IsValid() bool
- func (s View_lookup_Results) Message() *capnp.Message
- func (s View_lookup_Results) NewResult() (View_MaybeRecord, error)
- func (s View_lookup_Results) Result() (View_MaybeRecord, error)
- func (s View_lookup_Results) Segment() *capnp.Segment
- func (s View_lookup_Results) SetResult(v View_MaybeRecord) error
- func (s View_lookup_Results) String() string
- func (s View_lookup_Results) ToPtr() capnp.Ptr
- type View_lookup_Results_Future
- type View_lookup_Results_List
- type View_reverse
- type View_reverse_Params
- func (View_reverse_Params) DecodeFromPtr(p capnp.Ptr) View_reverse_Params
- func (s View_reverse_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_reverse_Params) IsValid() bool
- func (s View_reverse_Params) Message() *capnp.Message
- func (s View_reverse_Params) Segment() *capnp.Segment
- func (s View_reverse_Params) String() string
- func (s View_reverse_Params) ToPtr() capnp.Ptr
- type View_reverse_Params_Future
- type View_reverse_Params_List
- type View_reverse_Results
- func (View_reverse_Results) DecodeFromPtr(p capnp.Ptr) View_reverse_Results
- func (s View_reverse_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s View_reverse_Results) HasView() bool
- func (s View_reverse_Results) IsValid() bool
- func (s View_reverse_Results) Message() *capnp.Message
- func (s View_reverse_Results) Segment() *capnp.Segment
- func (s View_reverse_Results) SetView(v View) error
- func (s View_reverse_Results) String() string
- func (s View_reverse_Results) ToPtr() capnp.Ptr
- func (s View_reverse_Results) View() View
- type View_reverse_Results_Future
- type View_reverse_Results_List
Constants ¶
const AuthProvider_TypeID = 0x9c8a0c56d217e9de
AuthProvider_TypeID is the unique identifier for the type AuthProvider.
const AuthProvider_provide_Params_TypeID = 0xc0054a1048274361
AuthProvider_provide_Params_TypeID is the unique identifier for the type AuthProvider_provide_Params.
const AuthProvider_provide_Results_TypeID = 0xb85d303fbd29edc8
AuthProvider_provide_Results_TypeID is the unique identifier for the type AuthProvider_provide_Results.
const Heartbeat_TypeID = 0xa97471079836f720
Heartbeat_TypeID is the unique identifier for the type Heartbeat.
const Host_TypeID = 0x957cbefc645fd307
Host_TypeID is the unique identifier for the type Host.
const Host_executor_Params_TypeID = 0xbe5314ed29d84c52
Host_executor_Params_TypeID is the unique identifier for the type Host_executor_Params.
const Host_executor_Results_TypeID = 0x9e8120f9bb059602
Host_executor_Results_TypeID is the unique identifier for the type Host_executor_Results.
const Host_pubSub_Params_TypeID = 0xe5b5227505fcaa99
Host_pubSub_Params_TypeID is the unique identifier for the type Host_pubSub_Params.
const Host_pubSub_Results_TypeID = 0xdc88f975f5090eee
Host_pubSub_Results_TypeID is the unique identifier for the type Host_pubSub_Results.
const Host_registry_Params_TypeID = 0x89ec8e1ef0f263f3
Host_registry_Params_TypeID is the unique identifier for the type Host_registry_Params.
const Host_registry_Results_TypeID = 0xbe186003ae0f0429
Host_registry_Results_TypeID is the unique identifier for the type Host_registry_Results.
const Host_root_Params_TypeID = 0x828b2823e5eeb7be
Host_root_Params_TypeID is the unique identifier for the type Host_root_Params.
const Host_root_Results_TypeID = 0xcabb5c85a457450b
Host_root_Results_TypeID is the unique identifier for the type Host_root_Results.
const Host_view_Params_TypeID = 0xa404c24b5375b9e4
Host_view_Params_TypeID is the unique identifier for the type Host_view_Params.
const Host_view_Results_TypeID = 0x8f58928e854cd4f5
Host_view_Results_TypeID is the unique identifier for the type Host_view_Results.
const Signer_TypeID = 0xf1f2e144cec1f2bc
Signer_TypeID is the unique identifier for the type Signer.
const Signer_sign_Params_TypeID = 0xb2250c16d3064727
Signer_sign_Params_TypeID is the unique identifier for the type Signer_sign_Params.
const Signer_sign_Results_TypeID = 0xf00b0072c6dcfae7
Signer_sign_Results_TypeID is the unique identifier for the type Signer_sign_Results.
const View_Constraint_TypeID = 0xab133d2062f6cc53
View_Constraint_TypeID is the unique identifier for the type View_Constraint.
const View_Handler_TypeID = 0xee93a663b2a23c03
View_Handler_TypeID is the unique identifier for the type View_Handler.
const View_Handler_recv_Params_TypeID = 0x8eb96dceb6a99ebd
View_Handler_recv_Params_TypeID is the unique identifier for the type View_Handler_recv_Params.
const View_Index_TypeID = 0xcc2d04cc26d4f6a5
View_Index_TypeID is the unique identifier for the type View_Index.
const View_MaybeRecord_TypeID = 0xd6a4f298bc0e2304
View_MaybeRecord_TypeID is the unique identifier for the type View_MaybeRecord.
const View_Record_TypeID = 0xcdcf42beb2537d20
View_Record_TypeID is the unique identifier for the type View_Record.
const View_Selector_TypeID = 0xb2029ff7b712d18a
View_Selector_TypeID is the unique identifier for the type View_Selector.
const View_TypeID = 0x8a1df0335afc249a
View_TypeID is the unique identifier for the type View.
const View_iter_Params_TypeID = 0xf495a555c9344000
View_iter_Params_TypeID is the unique identifier for the type View_iter_Params.
const View_iter_Results_TypeID = 0xe54acc44b61fd7ef
View_iter_Results_TypeID is the unique identifier for the type View_iter_Results.
const View_lookup_Params_TypeID = 0xd929e054f82b286c
View_lookup_Params_TypeID is the unique identifier for the type View_lookup_Params.
const View_lookup_Results_TypeID = 0xe6df611247a8fc13
View_lookup_Results_TypeID is the unique identifier for the type View_lookup_Results.
const View_reverse_Params_TypeID = 0x8b1fd983f1df482d
View_reverse_Params_TypeID is the unique identifier for the type View_reverse_Params.
const View_reverse_Results_TypeID = 0xcc7efefbb528cd6c
View_reverse_Results_TypeID is the unique identifier for the type View_reverse_Results.
Variables ¶
This section is empty.
Functions ¶
func AuthProvider_Methods ¶
func AuthProvider_Methods(methods []server.Method, s AuthProvider_Server) []server.Method
AuthProvider_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func AuthProvider_NewServer ¶
func AuthProvider_NewServer(s AuthProvider_Server) *server.Server
AuthProvider_NewServer creates a new Server from an implementation of AuthProvider_Server.
func Host_Methods ¶
func Host_Methods(methods []server.Method, s Host_Server) []server.Method
Host_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Host_NewServer ¶
func Host_NewServer(s Host_Server) *server.Server
Host_NewServer creates a new Server from an implementation of Host_Server.
func RegisterSchema ¶
func Signer_Methods ¶
func Signer_Methods(methods []server.Method, s Signer_Server) []server.Method
Signer_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Signer_NewServer ¶
func Signer_NewServer(s Signer_Server) *server.Server
Signer_NewServer creates a new Server from an implementation of Signer_Server.
func View_Handler_Methods ¶
func View_Handler_Methods(methods []server.Method, s View_Handler_Server) []server.Method
View_Handler_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func View_Handler_NewServer ¶
func View_Handler_NewServer(s View_Handler_Server) *server.Server
View_Handler_NewServer creates a new Server from an implementation of View_Handler_Server.
func View_Methods ¶
func View_Methods(methods []server.Method, s View_Server) []server.Method
View_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func View_NewServer ¶
func View_NewServer(s View_Server) *server.Server
View_NewServer creates a new Server from an implementation of View_Server.
Types ¶
type AuthProvider ¶
func AuthProvider_ServerToClient ¶
func AuthProvider_ServerToClient(s AuthProvider_Server) AuthProvider
AuthProvider_ServerToClient creates a new Client from an implementation of AuthProvider_Server. The caller is responsible for calling Release on the returned Client.
func (AuthProvider) AddRef ¶
func (c AuthProvider) AddRef() AuthProvider
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (AuthProvider) DecodeFromPtr ¶
func (AuthProvider) DecodeFromPtr(p capnp.Ptr) AuthProvider
func (AuthProvider) EncodeAsPtr ¶
func (c AuthProvider) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (AuthProvider) GetFlowLimiter ¶
func (c AuthProvider) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (AuthProvider) IsSame ¶
func (c AuthProvider) IsSame(other AuthProvider) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (AuthProvider) IsValid ¶
func (c AuthProvider) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (AuthProvider) Provide ¶
func (c AuthProvider) Provide(ctx context.Context, params func(AuthProvider_provide_Params) error) (AuthProvider_provide_Results_Future, capnp.ReleaseFunc)
func (AuthProvider) Release ¶
func (c AuthProvider) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (AuthProvider) Resolve ¶
func (c AuthProvider) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (AuthProvider) SetFlowLimiter ¶
func (c AuthProvider) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (AuthProvider) String ¶
func (c AuthProvider) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (AuthProvider) WaitStreaming ¶
func (c AuthProvider) WaitStreaming() error
type AuthProvider_List ¶
type AuthProvider_List = capnp.CapList[AuthProvider]
AuthProvider_List is a list of AuthProvider.
func NewAuthProvider_List ¶
func NewAuthProvider_List(s *capnp.Segment, sz int32) (AuthProvider_List, error)
NewAuthProvider creates a new list of AuthProvider.
type AuthProvider_Server ¶
type AuthProvider_Server interface {
Provide(context.Context, AuthProvider_provide) error
}
A AuthProvider_Server is a AuthProvider with a local implementation.
type AuthProvider_provide ¶
AuthProvider_provide holds the state for a server call to AuthProvider.provide. See server.Call for documentation.
func (AuthProvider_provide) AllocResults ¶
func (c AuthProvider_provide) AllocResults() (AuthProvider_provide_Results, error)
AllocResults allocates the results struct.
func (AuthProvider_provide) Args ¶
func (c AuthProvider_provide) Args() AuthProvider_provide_Params
Args returns the call's arguments.
type AuthProvider_provide_Params ¶
func NewAuthProvider_provide_Params ¶
func NewAuthProvider_provide_Params(s *capnp.Segment) (AuthProvider_provide_Params, error)
func NewRootAuthProvider_provide_Params ¶
func NewRootAuthProvider_provide_Params(s *capnp.Segment) (AuthProvider_provide_Params, error)
func ReadRootAuthProvider_provide_Params ¶
func ReadRootAuthProvider_provide_Params(msg *capnp.Message) (AuthProvider_provide_Params, error)
func (AuthProvider_provide_Params) Account ¶
func (s AuthProvider_provide_Params) Account() Signer
func (AuthProvider_provide_Params) DecodeFromPtr ¶
func (AuthProvider_provide_Params) DecodeFromPtr(p capnp.Ptr) AuthProvider_provide_Params
func (AuthProvider_provide_Params) EncodeAsPtr ¶
func (s AuthProvider_provide_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (AuthProvider_provide_Params) HasAccount ¶
func (s AuthProvider_provide_Params) HasAccount() bool
func (AuthProvider_provide_Params) IsValid ¶
func (s AuthProvider_provide_Params) IsValid() bool
func (AuthProvider_provide_Params) Message ¶
func (s AuthProvider_provide_Params) Message() *capnp.Message
func (AuthProvider_provide_Params) Segment ¶
func (s AuthProvider_provide_Params) Segment() *capnp.Segment
func (AuthProvider_provide_Params) SetAccount ¶
func (s AuthProvider_provide_Params) SetAccount(v Signer) error
func (AuthProvider_provide_Params) String ¶
func (s AuthProvider_provide_Params) String() string
func (AuthProvider_provide_Params) ToPtr ¶
func (s AuthProvider_provide_Params) ToPtr() capnp.Ptr
type AuthProvider_provide_Params_Future ¶
AuthProvider_provide_Params_Future is a wrapper for a AuthProvider_provide_Params promised by a client call.
func (AuthProvider_provide_Params_Future) Account ¶
func (p AuthProvider_provide_Params_Future) Account() Signer
func (AuthProvider_provide_Params_Future) Struct ¶
func (f AuthProvider_provide_Params_Future) Struct() (AuthProvider_provide_Params, error)
type AuthProvider_provide_Params_List ¶
type AuthProvider_provide_Params_List = capnp.StructList[AuthProvider_provide_Params]
AuthProvider_provide_Params_List is a list of AuthProvider_provide_Params.
func NewAuthProvider_provide_Params_List ¶
func NewAuthProvider_provide_Params_List(s *capnp.Segment, sz int32) (AuthProvider_provide_Params_List, error)
NewAuthProvider_provide_Params creates a new list of AuthProvider_provide_Params.
type AuthProvider_provide_Results ¶
func NewAuthProvider_provide_Results ¶
func NewAuthProvider_provide_Results(s *capnp.Segment) (AuthProvider_provide_Results, error)
func NewRootAuthProvider_provide_Results ¶
func NewRootAuthProvider_provide_Results(s *capnp.Segment) (AuthProvider_provide_Results, error)
func ReadRootAuthProvider_provide_Results ¶
func ReadRootAuthProvider_provide_Results(msg *capnp.Message) (AuthProvider_provide_Results, error)
func (AuthProvider_provide_Results) DecodeFromPtr ¶
func (AuthProvider_provide_Results) DecodeFromPtr(p capnp.Ptr) AuthProvider_provide_Results
func (AuthProvider_provide_Results) EncodeAsPtr ¶
func (s AuthProvider_provide_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (AuthProvider_provide_Results) HasPubSub ¶
func (s AuthProvider_provide_Results) HasPubSub() bool
func (AuthProvider_provide_Results) HasRoot ¶
func (s AuthProvider_provide_Results) HasRoot() bool
func (AuthProvider_provide_Results) HasView ¶
func (s AuthProvider_provide_Results) HasView() bool
func (AuthProvider_provide_Results) IsValid ¶
func (s AuthProvider_provide_Results) IsValid() bool
func (AuthProvider_provide_Results) Message ¶
func (s AuthProvider_provide_Results) Message() *capnp.Message
func (AuthProvider_provide_Results) PubSub ¶
func (s AuthProvider_provide_Results) PubSub() pubsub.Router
func (AuthProvider_provide_Results) Root ¶
func (s AuthProvider_provide_Results) Root() anchor.Anchor
func (AuthProvider_provide_Results) Segment ¶
func (s AuthProvider_provide_Results) Segment() *capnp.Segment
func (AuthProvider_provide_Results) SetPubSub ¶
func (s AuthProvider_provide_Results) SetPubSub(v pubsub.Router) error
func (AuthProvider_provide_Results) SetRoot ¶
func (s AuthProvider_provide_Results) SetRoot(v anchor.Anchor) error
func (AuthProvider_provide_Results) SetView ¶
func (s AuthProvider_provide_Results) SetView(v View) error
func (AuthProvider_provide_Results) String ¶
func (s AuthProvider_provide_Results) String() string
func (AuthProvider_provide_Results) ToPtr ¶
func (s AuthProvider_provide_Results) ToPtr() capnp.Ptr
func (AuthProvider_provide_Results) View ¶
func (s AuthProvider_provide_Results) View() View
type AuthProvider_provide_Results_Future ¶
AuthProvider_provide_Results_Future is a wrapper for a AuthProvider_provide_Results promised by a client call.
func (AuthProvider_provide_Results_Future) PubSub ¶
func (p AuthProvider_provide_Results_Future) PubSub() pubsub.Router
func (AuthProvider_provide_Results_Future) Root ¶
func (p AuthProvider_provide_Results_Future) Root() anchor.Anchor
func (AuthProvider_provide_Results_Future) Struct ¶
func (f AuthProvider_provide_Results_Future) Struct() (AuthProvider_provide_Results, error)
func (AuthProvider_provide_Results_Future) View ¶
func (p AuthProvider_provide_Results_Future) View() View
type AuthProvider_provide_Results_List ¶
type AuthProvider_provide_Results_List = capnp.StructList[AuthProvider_provide_Results]
AuthProvider_provide_Results_List is a list of AuthProvider_provide_Results.
func NewAuthProvider_provide_Results_List ¶
func NewAuthProvider_provide_Results_List(s *capnp.Segment, sz int32) (AuthProvider_provide_Results_List, error)
NewAuthProvider_provide_Results creates a new list of AuthProvider_provide_Results.
type Heartbeat ¶
type Heartbeat_Future ¶
Heartbeat_Future is a wrapper for a Heartbeat promised by a client call.
func (Heartbeat_Future) Struct ¶
func (f Heartbeat_Future) Struct() (Heartbeat, error)
type Heartbeat_List ¶
type Heartbeat_List = capnp.StructList[Heartbeat]
Heartbeat_List is a list of Heartbeat.
func NewHeartbeat_List ¶
func NewHeartbeat_List(s *capnp.Segment, sz int32) (Heartbeat_List, error)
NewHeartbeat creates a new list of Heartbeat.
type Host ¶
func Host_ServerToClient ¶
func Host_ServerToClient(s Host_Server) Host
Host_ServerToClient creates a new Client from an implementation of Host_Server. The caller is responsible for calling Release on the returned Client.
func (Host) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Host) Executor ¶
func (c Host) Executor(ctx context.Context, params func(Host_executor_Params) error) (Host_executor_Results_Future, capnp.ReleaseFunc)
func (Host) GetFlowLimiter ¶
func (c Host) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Host) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Host) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Host) PubSub ¶
func (c Host) PubSub(ctx context.Context, params func(Host_pubSub_Params) error) (Host_pubSub_Results_Future, capnp.ReleaseFunc)
func (Host) Registry ¶
func (c Host) Registry(ctx context.Context, params func(Host_registry_Params) error) (Host_registry_Results_Future, capnp.ReleaseFunc)
func (Host) Release ¶
func (c Host) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Host) Root ¶
func (c Host) Root(ctx context.Context, params func(Host_root_Params) error) (Host_root_Results_Future, capnp.ReleaseFunc)
func (Host) SetFlowLimiter ¶
func (c Host) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Host) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Host) View ¶
func (c Host) View(ctx context.Context, params func(Host_view_Params) error) (Host_view_Results_Future, capnp.ReleaseFunc)
func (Host) WaitStreaming ¶
type Host_Server ¶
type Host_Server interface { View(context.Context, Host_view) error PubSub(context.Context, Host_pubSub) error Root(context.Context, Host_root) error Registry(context.Context, Host_registry) error Executor(context.Context, Host_executor) error }
A Host_Server is a Host with a local implementation.
type Host_executor ¶
Host_executor holds the state for a server call to Host.executor. See server.Call for documentation.
func (Host_executor) AllocResults ¶
func (c Host_executor) AllocResults() (Host_executor_Results, error)
AllocResults allocates the results struct.
func (Host_executor) Args ¶
func (c Host_executor) Args() Host_executor_Params
Args returns the call's arguments.
type Host_executor_Params ¶
func NewHost_executor_Params ¶
func NewHost_executor_Params(s *capnp.Segment) (Host_executor_Params, error)
func NewRootHost_executor_Params ¶
func NewRootHost_executor_Params(s *capnp.Segment) (Host_executor_Params, error)
func ReadRootHost_executor_Params ¶
func ReadRootHost_executor_Params(msg *capnp.Message) (Host_executor_Params, error)
func (Host_executor_Params) DecodeFromPtr ¶
func (Host_executor_Params) DecodeFromPtr(p capnp.Ptr) Host_executor_Params
func (Host_executor_Params) EncodeAsPtr ¶
func (s Host_executor_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_executor_Params) IsValid ¶
func (s Host_executor_Params) IsValid() bool
func (Host_executor_Params) Message ¶
func (s Host_executor_Params) Message() *capnp.Message
func (Host_executor_Params) Segment ¶
func (s Host_executor_Params) Segment() *capnp.Segment
func (Host_executor_Params) String ¶
func (s Host_executor_Params) String() string
func (Host_executor_Params) ToPtr ¶
func (s Host_executor_Params) ToPtr() capnp.Ptr
type Host_executor_Params_Future ¶
Host_executor_Params_Future is a wrapper for a Host_executor_Params promised by a client call.
func (Host_executor_Params_Future) Struct ¶
func (f Host_executor_Params_Future) Struct() (Host_executor_Params, error)
type Host_executor_Params_List ¶
type Host_executor_Params_List = capnp.StructList[Host_executor_Params]
Host_executor_Params_List is a list of Host_executor_Params.
func NewHost_executor_Params_List ¶
func NewHost_executor_Params_List(s *capnp.Segment, sz int32) (Host_executor_Params_List, error)
NewHost_executor_Params creates a new list of Host_executor_Params.
type Host_executor_Results ¶
func NewHost_executor_Results ¶
func NewHost_executor_Results(s *capnp.Segment) (Host_executor_Results, error)
func NewRootHost_executor_Results ¶
func NewRootHost_executor_Results(s *capnp.Segment) (Host_executor_Results, error)
func ReadRootHost_executor_Results ¶
func ReadRootHost_executor_Results(msg *capnp.Message) (Host_executor_Results, error)
func (Host_executor_Results) DecodeFromPtr ¶
func (Host_executor_Results) DecodeFromPtr(p capnp.Ptr) Host_executor_Results
func (Host_executor_Results) EncodeAsPtr ¶
func (s Host_executor_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_executor_Results) Executor ¶
func (s Host_executor_Results) Executor() process.Executor
func (Host_executor_Results) HasExecutor ¶
func (s Host_executor_Results) HasExecutor() bool
func (Host_executor_Results) IsValid ¶
func (s Host_executor_Results) IsValid() bool
func (Host_executor_Results) Message ¶
func (s Host_executor_Results) Message() *capnp.Message
func (Host_executor_Results) Segment ¶
func (s Host_executor_Results) Segment() *capnp.Segment
func (Host_executor_Results) SetExecutor ¶
func (s Host_executor_Results) SetExecutor(v process.Executor) error
func (Host_executor_Results) String ¶
func (s Host_executor_Results) String() string
func (Host_executor_Results) ToPtr ¶
func (s Host_executor_Results) ToPtr() capnp.Ptr
type Host_executor_Results_Future ¶
Host_executor_Results_Future is a wrapper for a Host_executor_Results promised by a client call.
func (Host_executor_Results_Future) Executor ¶
func (p Host_executor_Results_Future) Executor() process.Executor
func (Host_executor_Results_Future) Struct ¶
func (f Host_executor_Results_Future) Struct() (Host_executor_Results, error)
type Host_executor_Results_List ¶
type Host_executor_Results_List = capnp.StructList[Host_executor_Results]
Host_executor_Results_List is a list of Host_executor_Results.
func NewHost_executor_Results_List ¶
func NewHost_executor_Results_List(s *capnp.Segment, sz int32) (Host_executor_Results_List, error)
NewHost_executor_Results creates a new list of Host_executor_Results.
type Host_pubSub ¶
Host_pubSub holds the state for a server call to Host.pubSub. See server.Call for documentation.
func (Host_pubSub) AllocResults ¶
func (c Host_pubSub) AllocResults() (Host_pubSub_Results, error)
AllocResults allocates the results struct.
func (Host_pubSub) Args ¶
func (c Host_pubSub) Args() Host_pubSub_Params
Args returns the call's arguments.
type Host_pubSub_Params ¶
func NewHost_pubSub_Params ¶
func NewHost_pubSub_Params(s *capnp.Segment) (Host_pubSub_Params, error)
func NewRootHost_pubSub_Params ¶
func NewRootHost_pubSub_Params(s *capnp.Segment) (Host_pubSub_Params, error)
func ReadRootHost_pubSub_Params ¶
func ReadRootHost_pubSub_Params(msg *capnp.Message) (Host_pubSub_Params, error)
func (Host_pubSub_Params) DecodeFromPtr ¶
func (Host_pubSub_Params) DecodeFromPtr(p capnp.Ptr) Host_pubSub_Params
func (Host_pubSub_Params) EncodeAsPtr ¶
func (s Host_pubSub_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_pubSub_Params) IsValid ¶
func (s Host_pubSub_Params) IsValid() bool
func (Host_pubSub_Params) Message ¶
func (s Host_pubSub_Params) Message() *capnp.Message
func (Host_pubSub_Params) Segment ¶
func (s Host_pubSub_Params) Segment() *capnp.Segment
func (Host_pubSub_Params) String ¶
func (s Host_pubSub_Params) String() string
func (Host_pubSub_Params) ToPtr ¶
func (s Host_pubSub_Params) ToPtr() capnp.Ptr
type Host_pubSub_Params_Future ¶
Host_pubSub_Params_Future is a wrapper for a Host_pubSub_Params promised by a client call.
func (Host_pubSub_Params_Future) Struct ¶
func (f Host_pubSub_Params_Future) Struct() (Host_pubSub_Params, error)
type Host_pubSub_Params_List ¶
type Host_pubSub_Params_List = capnp.StructList[Host_pubSub_Params]
Host_pubSub_Params_List is a list of Host_pubSub_Params.
func NewHost_pubSub_Params_List ¶
func NewHost_pubSub_Params_List(s *capnp.Segment, sz int32) (Host_pubSub_Params_List, error)
NewHost_pubSub_Params creates a new list of Host_pubSub_Params.
type Host_pubSub_Results ¶
func NewHost_pubSub_Results ¶
func NewHost_pubSub_Results(s *capnp.Segment) (Host_pubSub_Results, error)
func NewRootHost_pubSub_Results ¶
func NewRootHost_pubSub_Results(s *capnp.Segment) (Host_pubSub_Results, error)
func ReadRootHost_pubSub_Results ¶
func ReadRootHost_pubSub_Results(msg *capnp.Message) (Host_pubSub_Results, error)
func (Host_pubSub_Results) DecodeFromPtr ¶
func (Host_pubSub_Results) DecodeFromPtr(p capnp.Ptr) Host_pubSub_Results
func (Host_pubSub_Results) EncodeAsPtr ¶
func (s Host_pubSub_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_pubSub_Results) HasPubSub ¶
func (s Host_pubSub_Results) HasPubSub() bool
func (Host_pubSub_Results) IsValid ¶
func (s Host_pubSub_Results) IsValid() bool
func (Host_pubSub_Results) Message ¶
func (s Host_pubSub_Results) Message() *capnp.Message
func (Host_pubSub_Results) PubSub ¶
func (s Host_pubSub_Results) PubSub() pubsub.Router
func (Host_pubSub_Results) Segment ¶
func (s Host_pubSub_Results) Segment() *capnp.Segment
func (Host_pubSub_Results) SetPubSub ¶
func (s Host_pubSub_Results) SetPubSub(v pubsub.Router) error
func (Host_pubSub_Results) String ¶
func (s Host_pubSub_Results) String() string
func (Host_pubSub_Results) ToPtr ¶
func (s Host_pubSub_Results) ToPtr() capnp.Ptr
type Host_pubSub_Results_Future ¶
Host_pubSub_Results_Future is a wrapper for a Host_pubSub_Results promised by a client call.
func (Host_pubSub_Results_Future) PubSub ¶
func (p Host_pubSub_Results_Future) PubSub() pubsub.Router
func (Host_pubSub_Results_Future) Struct ¶
func (f Host_pubSub_Results_Future) Struct() (Host_pubSub_Results, error)
type Host_pubSub_Results_List ¶
type Host_pubSub_Results_List = capnp.StructList[Host_pubSub_Results]
Host_pubSub_Results_List is a list of Host_pubSub_Results.
func NewHost_pubSub_Results_List ¶
func NewHost_pubSub_Results_List(s *capnp.Segment, sz int32) (Host_pubSub_Results_List, error)
NewHost_pubSub_Results creates a new list of Host_pubSub_Results.
type Host_registry ¶
Host_registry holds the state for a server call to Host.registry. See server.Call for documentation.
func (Host_registry) AllocResults ¶
func (c Host_registry) AllocResults() (Host_registry_Results, error)
AllocResults allocates the results struct.
func (Host_registry) Args ¶
func (c Host_registry) Args() Host_registry_Params
Args returns the call's arguments.
type Host_registry_Params ¶
func NewHost_registry_Params ¶
func NewHost_registry_Params(s *capnp.Segment) (Host_registry_Params, error)
func NewRootHost_registry_Params ¶
func NewRootHost_registry_Params(s *capnp.Segment) (Host_registry_Params, error)
func ReadRootHost_registry_Params ¶
func ReadRootHost_registry_Params(msg *capnp.Message) (Host_registry_Params, error)
func (Host_registry_Params) DecodeFromPtr ¶
func (Host_registry_Params) DecodeFromPtr(p capnp.Ptr) Host_registry_Params
func (Host_registry_Params) EncodeAsPtr ¶
func (s Host_registry_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_registry_Params) IsValid ¶
func (s Host_registry_Params) IsValid() bool
func (Host_registry_Params) Message ¶
func (s Host_registry_Params) Message() *capnp.Message
func (Host_registry_Params) Segment ¶
func (s Host_registry_Params) Segment() *capnp.Segment
func (Host_registry_Params) String ¶
func (s Host_registry_Params) String() string
func (Host_registry_Params) ToPtr ¶
func (s Host_registry_Params) ToPtr() capnp.Ptr
type Host_registry_Params_Future ¶
Host_registry_Params_Future is a wrapper for a Host_registry_Params promised by a client call.
func (Host_registry_Params_Future) Struct ¶
func (f Host_registry_Params_Future) Struct() (Host_registry_Params, error)
type Host_registry_Params_List ¶
type Host_registry_Params_List = capnp.StructList[Host_registry_Params]
Host_registry_Params_List is a list of Host_registry_Params.
func NewHost_registry_Params_List ¶
func NewHost_registry_Params_List(s *capnp.Segment, sz int32) (Host_registry_Params_List, error)
NewHost_registry_Params creates a new list of Host_registry_Params.
type Host_registry_Results ¶
func NewHost_registry_Results ¶
func NewHost_registry_Results(s *capnp.Segment) (Host_registry_Results, error)
func NewRootHost_registry_Results ¶
func NewRootHost_registry_Results(s *capnp.Segment) (Host_registry_Results, error)
func ReadRootHost_registry_Results ¶
func ReadRootHost_registry_Results(msg *capnp.Message) (Host_registry_Results, error)
func (Host_registry_Results) DecodeFromPtr ¶
func (Host_registry_Results) DecodeFromPtr(p capnp.Ptr) Host_registry_Results
func (Host_registry_Results) EncodeAsPtr ¶
func (s Host_registry_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_registry_Results) HasRegistry ¶
func (s Host_registry_Results) HasRegistry() bool
func (Host_registry_Results) IsValid ¶
func (s Host_registry_Results) IsValid() bool
func (Host_registry_Results) Message ¶
func (s Host_registry_Results) Message() *capnp.Message
func (Host_registry_Results) Registry ¶
func (s Host_registry_Results) Registry() registry.Registry
func (Host_registry_Results) Segment ¶
func (s Host_registry_Results) Segment() *capnp.Segment
func (Host_registry_Results) SetRegistry ¶
func (s Host_registry_Results) SetRegistry(v registry.Registry) error
func (Host_registry_Results) String ¶
func (s Host_registry_Results) String() string
func (Host_registry_Results) ToPtr ¶
func (s Host_registry_Results) ToPtr() capnp.Ptr
type Host_registry_Results_Future ¶
Host_registry_Results_Future is a wrapper for a Host_registry_Results promised by a client call.
func (Host_registry_Results_Future) Registry ¶
func (p Host_registry_Results_Future) Registry() registry.Registry
func (Host_registry_Results_Future) Struct ¶
func (f Host_registry_Results_Future) Struct() (Host_registry_Results, error)
type Host_registry_Results_List ¶
type Host_registry_Results_List = capnp.StructList[Host_registry_Results]
Host_registry_Results_List is a list of Host_registry_Results.
func NewHost_registry_Results_List ¶
func NewHost_registry_Results_List(s *capnp.Segment, sz int32) (Host_registry_Results_List, error)
NewHost_registry_Results creates a new list of Host_registry_Results.
type Host_root ¶
Host_root holds the state for a server call to Host.root. See server.Call for documentation.
func (Host_root) AllocResults ¶
func (c Host_root) AllocResults() (Host_root_Results, error)
AllocResults allocates the results struct.
func (Host_root) Args ¶
func (c Host_root) Args() Host_root_Params
Args returns the call's arguments.
type Host_root_Params ¶
func NewHost_root_Params ¶
func NewHost_root_Params(s *capnp.Segment) (Host_root_Params, error)
func NewRootHost_root_Params ¶
func NewRootHost_root_Params(s *capnp.Segment) (Host_root_Params, error)
func ReadRootHost_root_Params ¶
func ReadRootHost_root_Params(msg *capnp.Message) (Host_root_Params, error)
func (Host_root_Params) DecodeFromPtr ¶
func (Host_root_Params) DecodeFromPtr(p capnp.Ptr) Host_root_Params
func (Host_root_Params) EncodeAsPtr ¶
func (s Host_root_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_root_Params) IsValid ¶
func (s Host_root_Params) IsValid() bool
func (Host_root_Params) Message ¶
func (s Host_root_Params) Message() *capnp.Message
func (Host_root_Params) Segment ¶
func (s Host_root_Params) Segment() *capnp.Segment
func (Host_root_Params) String ¶
func (s Host_root_Params) String() string
func (Host_root_Params) ToPtr ¶
func (s Host_root_Params) ToPtr() capnp.Ptr
type Host_root_Params_Future ¶
Host_root_Params_Future is a wrapper for a Host_root_Params promised by a client call.
func (Host_root_Params_Future) Struct ¶
func (f Host_root_Params_Future) Struct() (Host_root_Params, error)
type Host_root_Params_List ¶
type Host_root_Params_List = capnp.StructList[Host_root_Params]
Host_root_Params_List is a list of Host_root_Params.
func NewHost_root_Params_List ¶
func NewHost_root_Params_List(s *capnp.Segment, sz int32) (Host_root_Params_List, error)
NewHost_root_Params creates a new list of Host_root_Params.
type Host_root_Results ¶
func NewHost_root_Results ¶
func NewHost_root_Results(s *capnp.Segment) (Host_root_Results, error)
func NewRootHost_root_Results ¶
func NewRootHost_root_Results(s *capnp.Segment) (Host_root_Results, error)
func ReadRootHost_root_Results ¶
func ReadRootHost_root_Results(msg *capnp.Message) (Host_root_Results, error)
func (Host_root_Results) DecodeFromPtr ¶
func (Host_root_Results) DecodeFromPtr(p capnp.Ptr) Host_root_Results
func (Host_root_Results) EncodeAsPtr ¶
func (s Host_root_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_root_Results) HasRoot ¶
func (s Host_root_Results) HasRoot() bool
func (Host_root_Results) IsValid ¶
func (s Host_root_Results) IsValid() bool
func (Host_root_Results) Message ¶
func (s Host_root_Results) Message() *capnp.Message
func (Host_root_Results) Root ¶
func (s Host_root_Results) Root() anchor.Anchor
func (Host_root_Results) Segment ¶
func (s Host_root_Results) Segment() *capnp.Segment
func (Host_root_Results) String ¶
func (s Host_root_Results) String() string
func (Host_root_Results) ToPtr ¶
func (s Host_root_Results) ToPtr() capnp.Ptr
type Host_root_Results_Future ¶
Host_root_Results_Future is a wrapper for a Host_root_Results promised by a client call.
func (Host_root_Results_Future) Root ¶
func (p Host_root_Results_Future) Root() anchor.Anchor
func (Host_root_Results_Future) Struct ¶
func (f Host_root_Results_Future) Struct() (Host_root_Results, error)
type Host_root_Results_List ¶
type Host_root_Results_List = capnp.StructList[Host_root_Results]
Host_root_Results_List is a list of Host_root_Results.
func NewHost_root_Results_List ¶
func NewHost_root_Results_List(s *capnp.Segment, sz int32) (Host_root_Results_List, error)
NewHost_root_Results creates a new list of Host_root_Results.
type Host_view ¶
Host_view holds the state for a server call to Host.view. See server.Call for documentation.
func (Host_view) AllocResults ¶
func (c Host_view) AllocResults() (Host_view_Results, error)
AllocResults allocates the results struct.
func (Host_view) Args ¶
func (c Host_view) Args() Host_view_Params
Args returns the call's arguments.
type Host_view_Params ¶
func NewHost_view_Params ¶
func NewHost_view_Params(s *capnp.Segment) (Host_view_Params, error)
func NewRootHost_view_Params ¶
func NewRootHost_view_Params(s *capnp.Segment) (Host_view_Params, error)
func ReadRootHost_view_Params ¶
func ReadRootHost_view_Params(msg *capnp.Message) (Host_view_Params, error)
func (Host_view_Params) DecodeFromPtr ¶
func (Host_view_Params) DecodeFromPtr(p capnp.Ptr) Host_view_Params
func (Host_view_Params) EncodeAsPtr ¶
func (s Host_view_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_view_Params) IsValid ¶
func (s Host_view_Params) IsValid() bool
func (Host_view_Params) Message ¶
func (s Host_view_Params) Message() *capnp.Message
func (Host_view_Params) Segment ¶
func (s Host_view_Params) Segment() *capnp.Segment
func (Host_view_Params) String ¶
func (s Host_view_Params) String() string
func (Host_view_Params) ToPtr ¶
func (s Host_view_Params) ToPtr() capnp.Ptr
type Host_view_Params_Future ¶
Host_view_Params_Future is a wrapper for a Host_view_Params promised by a client call.
func (Host_view_Params_Future) Struct ¶
func (f Host_view_Params_Future) Struct() (Host_view_Params, error)
type Host_view_Params_List ¶
type Host_view_Params_List = capnp.StructList[Host_view_Params]
Host_view_Params_List is a list of Host_view_Params.
func NewHost_view_Params_List ¶
func NewHost_view_Params_List(s *capnp.Segment, sz int32) (Host_view_Params_List, error)
NewHost_view_Params creates a new list of Host_view_Params.
type Host_view_Results ¶
func NewHost_view_Results ¶
func NewHost_view_Results(s *capnp.Segment) (Host_view_Results, error)
func NewRootHost_view_Results ¶
func NewRootHost_view_Results(s *capnp.Segment) (Host_view_Results, error)
func ReadRootHost_view_Results ¶
func ReadRootHost_view_Results(msg *capnp.Message) (Host_view_Results, error)
func (Host_view_Results) DecodeFromPtr ¶
func (Host_view_Results) DecodeFromPtr(p capnp.Ptr) Host_view_Results
func (Host_view_Results) EncodeAsPtr ¶
func (s Host_view_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Host_view_Results) HasView ¶
func (s Host_view_Results) HasView() bool
func (Host_view_Results) IsValid ¶
func (s Host_view_Results) IsValid() bool
func (Host_view_Results) Message ¶
func (s Host_view_Results) Message() *capnp.Message
func (Host_view_Results) Segment ¶
func (s Host_view_Results) Segment() *capnp.Segment
func (Host_view_Results) SetView ¶
func (s Host_view_Results) SetView(v View) error
func (Host_view_Results) String ¶
func (s Host_view_Results) String() string
func (Host_view_Results) ToPtr ¶
func (s Host_view_Results) ToPtr() capnp.Ptr
func (Host_view_Results) View ¶
func (s Host_view_Results) View() View
type Host_view_Results_Future ¶
Host_view_Results_Future is a wrapper for a Host_view_Results promised by a client call.
func (Host_view_Results_Future) Struct ¶
func (f Host_view_Results_Future) Struct() (Host_view_Results, error)
func (Host_view_Results_Future) View ¶
func (p Host_view_Results_Future) View() View
type Host_view_Results_List ¶
type Host_view_Results_List = capnp.StructList[Host_view_Results]
Host_view_Results_List is a list of Host_view_Results.
func NewHost_view_Results_List ¶
func NewHost_view_Results_List(s *capnp.Segment, sz int32) (Host_view_Results_List, error)
NewHost_view_Results creates a new list of Host_view_Results.
type Signer ¶
func Signer_ServerToClient ¶
func Signer_ServerToClient(s Signer_Server) Signer
Signer_ServerToClient creates a new Client from an implementation of Signer_Server. The caller is responsible for calling Release on the returned Client.
func (Signer) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Signer) GetFlowLimiter ¶
func (c Signer) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Signer) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Signer) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Signer) Release ¶
func (c Signer) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Signer) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Signer) SetFlowLimiter ¶
func (c Signer) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Signer) Sign ¶
func (c Signer) Sign(ctx context.Context, params func(Signer_sign_Params) error) (Signer_sign_Results_Future, capnp.ReleaseFunc)
func (Signer) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Signer) WaitStreaming ¶
type Signer_List ¶
Signer_List is a list of Signer.
func NewSigner_List ¶
func NewSigner_List(s *capnp.Segment, sz int32) (Signer_List, error)
NewSigner creates a new list of Signer.
type Signer_Server ¶
type Signer_Server interface {
Sign(context.Context, Signer_sign) error
}
A Signer_Server is a Signer with a local implementation.
type Signer_sign ¶
Signer_sign holds the state for a server call to Signer.sign. See server.Call for documentation.
func (Signer_sign) AllocResults ¶
func (c Signer_sign) AllocResults() (Signer_sign_Results, error)
AllocResults allocates the results struct.
func (Signer_sign) Args ¶
func (c Signer_sign) Args() Signer_sign_Params
Args returns the call's arguments.
type Signer_sign_Params ¶
func NewRootSigner_sign_Params ¶
func NewRootSigner_sign_Params(s *capnp.Segment) (Signer_sign_Params, error)
func NewSigner_sign_Params ¶
func NewSigner_sign_Params(s *capnp.Segment) (Signer_sign_Params, error)
func ReadRootSigner_sign_Params ¶
func ReadRootSigner_sign_Params(msg *capnp.Message) (Signer_sign_Params, error)
func (Signer_sign_Params) Challenge ¶
func (s Signer_sign_Params) Challenge() ([]byte, error)
func (Signer_sign_Params) DecodeFromPtr ¶
func (Signer_sign_Params) DecodeFromPtr(p capnp.Ptr) Signer_sign_Params
func (Signer_sign_Params) EncodeAsPtr ¶
func (s Signer_sign_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Signer_sign_Params) HasChallenge ¶
func (s Signer_sign_Params) HasChallenge() bool
func (Signer_sign_Params) IsValid ¶
func (s Signer_sign_Params) IsValid() bool
func (Signer_sign_Params) Message ¶
func (s Signer_sign_Params) Message() *capnp.Message
func (Signer_sign_Params) Segment ¶
func (s Signer_sign_Params) Segment() *capnp.Segment
func (Signer_sign_Params) SetChallenge ¶
func (s Signer_sign_Params) SetChallenge(v []byte) error
func (Signer_sign_Params) String ¶
func (s Signer_sign_Params) String() string
func (Signer_sign_Params) ToPtr ¶
func (s Signer_sign_Params) ToPtr() capnp.Ptr
type Signer_sign_Params_Future ¶
Signer_sign_Params_Future is a wrapper for a Signer_sign_Params promised by a client call.
func (Signer_sign_Params_Future) Struct ¶
func (f Signer_sign_Params_Future) Struct() (Signer_sign_Params, error)
type Signer_sign_Params_List ¶
type Signer_sign_Params_List = capnp.StructList[Signer_sign_Params]
Signer_sign_Params_List is a list of Signer_sign_Params.
func NewSigner_sign_Params_List ¶
func NewSigner_sign_Params_List(s *capnp.Segment, sz int32) (Signer_sign_Params_List, error)
NewSigner_sign_Params creates a new list of Signer_sign_Params.
type Signer_sign_Results ¶
func NewRootSigner_sign_Results ¶
func NewRootSigner_sign_Results(s *capnp.Segment) (Signer_sign_Results, error)
func NewSigner_sign_Results ¶
func NewSigner_sign_Results(s *capnp.Segment) (Signer_sign_Results, error)
func ReadRootSigner_sign_Results ¶
func ReadRootSigner_sign_Results(msg *capnp.Message) (Signer_sign_Results, error)
func (Signer_sign_Results) DecodeFromPtr ¶
func (Signer_sign_Results) DecodeFromPtr(p capnp.Ptr) Signer_sign_Results
func (Signer_sign_Results) EncodeAsPtr ¶
func (s Signer_sign_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Signer_sign_Results) HasSigned ¶
func (s Signer_sign_Results) HasSigned() bool
func (Signer_sign_Results) IsValid ¶
func (s Signer_sign_Results) IsValid() bool
func (Signer_sign_Results) Message ¶
func (s Signer_sign_Results) Message() *capnp.Message
func (Signer_sign_Results) Segment ¶
func (s Signer_sign_Results) Segment() *capnp.Segment
func (Signer_sign_Results) SetSigned ¶
func (s Signer_sign_Results) SetSigned(v []byte) error
func (Signer_sign_Results) Signed ¶
func (s Signer_sign_Results) Signed() ([]byte, error)
func (Signer_sign_Results) String ¶
func (s Signer_sign_Results) String() string
func (Signer_sign_Results) ToPtr ¶
func (s Signer_sign_Results) ToPtr() capnp.Ptr
type Signer_sign_Results_Future ¶
Signer_sign_Results_Future is a wrapper for a Signer_sign_Results promised by a client call.
func (Signer_sign_Results_Future) Struct ¶
func (f Signer_sign_Results_Future) Struct() (Signer_sign_Results, error)
type Signer_sign_Results_List ¶
type Signer_sign_Results_List = capnp.StructList[Signer_sign_Results]
Signer_sign_Results_List is a list of Signer_sign_Results.
func NewSigner_sign_Results_List ¶
func NewSigner_sign_Results_List(s *capnp.Segment, sz int32) (Signer_sign_Results_List, error)
NewSigner_sign_Results creates a new list of Signer_sign_Results.
type View ¶
func View_ServerToClient ¶
func View_ServerToClient(s View_Server) View
View_ServerToClient creates a new Client from an implementation of View_Server. The caller is responsible for calling Release on the returned Client.
func (View) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (View) GetFlowLimiter ¶
func (c View) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (View) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (View) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (View) Iter ¶
func (c View) Iter(ctx context.Context, params func(View_iter_Params) error) (View_iter_Results_Future, capnp.ReleaseFunc)
func (View) Lookup ¶
func (c View) Lookup(ctx context.Context, params func(View_lookup_Params) error) (View_lookup_Results_Future, capnp.ReleaseFunc)
func (View) Release ¶
func (c View) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (View) Reverse ¶
func (c View) Reverse(ctx context.Context, params func(View_reverse_Params) error) (View_reverse_Results_Future, capnp.ReleaseFunc)
func (View) SetFlowLimiter ¶
func (c View) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (View) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (View) WaitStreaming ¶
type View_Constraint ¶
func NewRootView_Constraint ¶
func NewRootView_Constraint(s *capnp.Segment) (View_Constraint, error)
func NewView_Constraint ¶
func NewView_Constraint(s *capnp.Segment) (View_Constraint, error)
func ReadRootView_Constraint ¶
func ReadRootView_Constraint(msg *capnp.Message) (View_Constraint, error)
func (View_Constraint) DecodeFromPtr ¶
func (View_Constraint) DecodeFromPtr(p capnp.Ptr) View_Constraint
func (View_Constraint) EncodeAsPtr ¶
func (s View_Constraint) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_Constraint) HasTo ¶
func (s View_Constraint) HasTo() bool
func (View_Constraint) IsValid ¶
func (s View_Constraint) IsValid() bool
func (View_Constraint) Limit ¶
func (s View_Constraint) Limit() uint64
func (View_Constraint) Message ¶
func (s View_Constraint) Message() *capnp.Message
func (View_Constraint) NewTo ¶
func (s View_Constraint) NewTo() (View_Index, error)
NewTo sets the to field to a newly allocated View_Index struct, preferring placement in s's segment.
func (View_Constraint) Segment ¶
func (s View_Constraint) Segment() *capnp.Segment
func (View_Constraint) SetLimit ¶
func (s View_Constraint) SetLimit(v uint64)
func (View_Constraint) SetTo ¶
func (s View_Constraint) SetTo(v View_Index) error
func (View_Constraint) String ¶
func (s View_Constraint) String() string
func (View_Constraint) To ¶
func (s View_Constraint) To() (View_Index, error)
func (View_Constraint) ToPtr ¶
func (s View_Constraint) ToPtr() capnp.Ptr
func (View_Constraint) Which ¶
func (s View_Constraint) Which() View_Constraint_Which
type View_Constraint_Future ¶
View_Constraint_Future is a wrapper for a View_Constraint promised by a client call.
func (View_Constraint_Future) Struct ¶
func (f View_Constraint_Future) Struct() (View_Constraint, error)
func (View_Constraint_Future) To ¶
func (p View_Constraint_Future) To() View_Index_Future
type View_Constraint_List ¶
type View_Constraint_List = capnp.StructList[View_Constraint]
View_Constraint_List is a list of View_Constraint.
func NewView_Constraint_List ¶
func NewView_Constraint_List(s *capnp.Segment, sz int32) (View_Constraint_List, error)
NewView_Constraint creates a new list of View_Constraint.
type View_Constraint_Which ¶
type View_Constraint_Which uint16
const ( View_Constraint_Which_limit View_Constraint_Which = 0 View_Constraint_Which_to View_Constraint_Which = 1 )
func (View_Constraint_Which) String ¶
func (w View_Constraint_Which) String() string
type View_Handler ¶
func View_Handler_ServerToClient ¶
func View_Handler_ServerToClient(s View_Handler_Server) View_Handler
View_Handler_ServerToClient creates a new Client from an implementation of View_Handler_Server. The caller is responsible for calling Release on the returned Client.
func (View_Handler) AddRef ¶
func (c View_Handler) AddRef() View_Handler
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (View_Handler) DecodeFromPtr ¶
func (View_Handler) DecodeFromPtr(p capnp.Ptr) View_Handler
func (View_Handler) EncodeAsPtr ¶
func (c View_Handler) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_Handler) GetFlowLimiter ¶
func (c View_Handler) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (View_Handler) IsSame ¶
func (c View_Handler) IsSame(other View_Handler) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (View_Handler) IsValid ¶
func (c View_Handler) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (View_Handler) Recv ¶
func (c View_Handler) Recv(ctx context.Context, params func(View_Handler_recv_Params) error) error
func (View_Handler) Release ¶
func (c View_Handler) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (View_Handler) Resolve ¶
func (c View_Handler) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (View_Handler) SetFlowLimiter ¶
func (c View_Handler) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (View_Handler) String ¶
func (c View_Handler) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (View_Handler) WaitStreaming ¶
func (c View_Handler) WaitStreaming() error
type View_Handler_List ¶
type View_Handler_List = capnp.CapList[View_Handler]
View_Handler_List is a list of View_Handler.
func NewView_Handler_List ¶
func NewView_Handler_List(s *capnp.Segment, sz int32) (View_Handler_List, error)
NewView_Handler creates a new list of View_Handler.
type View_Handler_Server ¶
type View_Handler_Server interface {
Recv(context.Context, View_Handler_recv) error
}
A View_Handler_Server is a View_Handler with a local implementation.
type View_Handler_recv ¶
View_Handler_recv holds the state for a server call to View_Handler.recv. See server.Call for documentation.
func (View_Handler_recv) AllocResults ¶
func (c View_Handler_recv) AllocResults() (stream.StreamResult, error)
AllocResults allocates the results struct.
func (View_Handler_recv) Args ¶
func (c View_Handler_recv) Args() View_Handler_recv_Params
Args returns the call's arguments.
type View_Handler_recv_Params ¶
func NewRootView_Handler_recv_Params ¶
func NewRootView_Handler_recv_Params(s *capnp.Segment) (View_Handler_recv_Params, error)
func NewView_Handler_recv_Params ¶
func NewView_Handler_recv_Params(s *capnp.Segment) (View_Handler_recv_Params, error)
func ReadRootView_Handler_recv_Params ¶
func ReadRootView_Handler_recv_Params(msg *capnp.Message) (View_Handler_recv_Params, error)
func (View_Handler_recv_Params) DecodeFromPtr ¶
func (View_Handler_recv_Params) DecodeFromPtr(p capnp.Ptr) View_Handler_recv_Params
func (View_Handler_recv_Params) EncodeAsPtr ¶
func (s View_Handler_recv_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_Handler_recv_Params) HasRecord ¶
func (s View_Handler_recv_Params) HasRecord() bool
func (View_Handler_recv_Params) IsValid ¶
func (s View_Handler_recv_Params) IsValid() bool
func (View_Handler_recv_Params) Message ¶
func (s View_Handler_recv_Params) Message() *capnp.Message
func (View_Handler_recv_Params) NewRecord ¶
func (s View_Handler_recv_Params) NewRecord() (View_Record, error)
NewRecord sets the record field to a newly allocated View_Record struct, preferring placement in s's segment.
func (View_Handler_recv_Params) Record ¶
func (s View_Handler_recv_Params) Record() (View_Record, error)
func (View_Handler_recv_Params) Segment ¶
func (s View_Handler_recv_Params) Segment() *capnp.Segment
func (View_Handler_recv_Params) SetRecord ¶
func (s View_Handler_recv_Params) SetRecord(v View_Record) error
func (View_Handler_recv_Params) String ¶
func (s View_Handler_recv_Params) String() string
func (View_Handler_recv_Params) ToPtr ¶
func (s View_Handler_recv_Params) ToPtr() capnp.Ptr
type View_Handler_recv_Params_Future ¶
View_Handler_recv_Params_Future is a wrapper for a View_Handler_recv_Params promised by a client call.
func (View_Handler_recv_Params_Future) Record ¶
func (p View_Handler_recv_Params_Future) Record() View_Record_Future
func (View_Handler_recv_Params_Future) Struct ¶
func (f View_Handler_recv_Params_Future) Struct() (View_Handler_recv_Params, error)
type View_Handler_recv_Params_List ¶
type View_Handler_recv_Params_List = capnp.StructList[View_Handler_recv_Params]
View_Handler_recv_Params_List is a list of View_Handler_recv_Params.
func NewView_Handler_recv_Params_List ¶
func NewView_Handler_recv_Params_List(s *capnp.Segment, sz int32) (View_Handler_recv_Params_List, error)
NewView_Handler_recv_Params creates a new list of View_Handler_recv_Params.
type View_Index ¶
func NewRootView_Index ¶
func NewRootView_Index(s *capnp.Segment) (View_Index, error)
func NewView_Index ¶
func NewView_Index(s *capnp.Segment) (View_Index, error)
func ReadRootView_Index ¶
func ReadRootView_Index(msg *capnp.Message) (View_Index, error)
func (View_Index) DecodeFromPtr ¶
func (View_Index) DecodeFromPtr(p capnp.Ptr) View_Index
func (View_Index) EncodeAsPtr ¶
func (s View_Index) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_Index) HasHost ¶
func (s View_Index) HasHost() bool
func (View_Index) HasMeta ¶
func (s View_Index) HasMeta() bool
func (View_Index) HasPeer ¶
func (s View_Index) HasPeer() bool
func (View_Index) HasServer ¶
func (s View_Index) HasServer() bool
func (View_Index) Host ¶
func (s View_Index) Host() (string, error)
func (View_Index) HostBytes ¶
func (s View_Index) HostBytes() ([]byte, error)
func (View_Index) IsValid ¶
func (s View_Index) IsValid() bool
func (View_Index) Message ¶
func (s View_Index) Message() *capnp.Message
func (View_Index) Meta ¶
func (s View_Index) Meta() (string, error)
func (View_Index) MetaBytes ¶
func (s View_Index) MetaBytes() ([]byte, error)
func (View_Index) Peer ¶
func (s View_Index) Peer() (string, error)
func (View_Index) PeerBytes ¶
func (s View_Index) PeerBytes() ([]byte, error)
func (View_Index) Prefix ¶
func (s View_Index) Prefix() bool
func (View_Index) Segment ¶
func (s View_Index) Segment() *capnp.Segment
func (View_Index) Server ¶
func (s View_Index) Server() ([]byte, error)
func (View_Index) SetHost ¶
func (s View_Index) SetHost(v string) error
func (View_Index) SetMeta ¶
func (s View_Index) SetMeta(v string) error
func (View_Index) SetPeer ¶
func (s View_Index) SetPeer(v string) error
func (View_Index) SetPrefix ¶
func (s View_Index) SetPrefix(v bool)
func (View_Index) SetServer ¶
func (s View_Index) SetServer(v []byte) error
func (View_Index) String ¶
func (s View_Index) String() string
func (View_Index) ToPtr ¶
func (s View_Index) ToPtr() capnp.Ptr
func (View_Index) Which ¶
func (s View_Index) Which() View_Index_Which
type View_Index_Future ¶
View_Index_Future is a wrapper for a View_Index promised by a client call.
func (View_Index_Future) Struct ¶
func (f View_Index_Future) Struct() (View_Index, error)
type View_Index_List ¶
type View_Index_List = capnp.StructList[View_Index]
View_Index_List is a list of View_Index.
func NewView_Index_List ¶
func NewView_Index_List(s *capnp.Segment, sz int32) (View_Index_List, error)
NewView_Index creates a new list of View_Index.
type View_Index_Which ¶
type View_Index_Which uint16
const ( View_Index_Which_peer View_Index_Which = 0 View_Index_Which_server View_Index_Which = 1 View_Index_Which_host View_Index_Which = 2 View_Index_Which_meta View_Index_Which = 3 )
func (View_Index_Which) String ¶
func (w View_Index_Which) String() string
type View_MaybeRecord ¶
func NewRootView_MaybeRecord ¶
func NewRootView_MaybeRecord(s *capnp.Segment) (View_MaybeRecord, error)
func NewView_MaybeRecord ¶
func NewView_MaybeRecord(s *capnp.Segment) (View_MaybeRecord, error)
func ReadRootView_MaybeRecord ¶
func ReadRootView_MaybeRecord(msg *capnp.Message) (View_MaybeRecord, error)
func (View_MaybeRecord) DecodeFromPtr ¶
func (View_MaybeRecord) DecodeFromPtr(p capnp.Ptr) View_MaybeRecord
func (View_MaybeRecord) EncodeAsPtr ¶
func (s View_MaybeRecord) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_MaybeRecord) HasJust ¶
func (s View_MaybeRecord) HasJust() bool
func (View_MaybeRecord) IsValid ¶
func (s View_MaybeRecord) IsValid() bool
func (View_MaybeRecord) Just ¶
func (s View_MaybeRecord) Just() (View_Record, error)
func (View_MaybeRecord) Message ¶
func (s View_MaybeRecord) Message() *capnp.Message
func (View_MaybeRecord) NewJust ¶
func (s View_MaybeRecord) NewJust() (View_Record, error)
NewJust sets the just field to a newly allocated View_Record struct, preferring placement in s's segment.
func (View_MaybeRecord) Segment ¶
func (s View_MaybeRecord) Segment() *capnp.Segment
func (View_MaybeRecord) SetJust ¶
func (s View_MaybeRecord) SetJust(v View_Record) error
func (View_MaybeRecord) SetNothing ¶
func (s View_MaybeRecord) SetNothing()
func (View_MaybeRecord) String ¶
func (s View_MaybeRecord) String() string
func (View_MaybeRecord) ToPtr ¶
func (s View_MaybeRecord) ToPtr() capnp.Ptr
func (View_MaybeRecord) Which ¶
func (s View_MaybeRecord) Which() View_MaybeRecord_Which
type View_MaybeRecord_Future ¶
View_MaybeRecord_Future is a wrapper for a View_MaybeRecord promised by a client call.
func (View_MaybeRecord_Future) Just ¶
func (p View_MaybeRecord_Future) Just() View_Record_Future
func (View_MaybeRecord_Future) Struct ¶
func (f View_MaybeRecord_Future) Struct() (View_MaybeRecord, error)
type View_MaybeRecord_List ¶
type View_MaybeRecord_List = capnp.StructList[View_MaybeRecord]
View_MaybeRecord_List is a list of View_MaybeRecord.
func NewView_MaybeRecord_List ¶
func NewView_MaybeRecord_List(s *capnp.Segment, sz int32) (View_MaybeRecord_List, error)
NewView_MaybeRecord creates a new list of View_MaybeRecord.
type View_MaybeRecord_Which ¶
type View_MaybeRecord_Which uint16
const ( View_MaybeRecord_Which_nothing View_MaybeRecord_Which = 0 View_MaybeRecord_Which_just View_MaybeRecord_Which = 1 )
func (View_MaybeRecord_Which) String ¶
func (w View_MaybeRecord_Which) String() string
type View_Record ¶
func NewRootView_Record ¶
func NewRootView_Record(s *capnp.Segment) (View_Record, error)
func NewView_Record ¶
func NewView_Record(s *capnp.Segment) (View_Record, error)
func ReadRootView_Record ¶
func ReadRootView_Record(msg *capnp.Message) (View_Record, error)
func (View_Record) DecodeFromPtr ¶
func (View_Record) DecodeFromPtr(p capnp.Ptr) View_Record
func (View_Record) EncodeAsPtr ¶
func (s View_Record) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_Record) HasHeartbeat ¶
func (s View_Record) HasHeartbeat() bool
func (View_Record) HasPeer ¶
func (s View_Record) HasPeer() bool
func (View_Record) Heartbeat ¶
func (s View_Record) Heartbeat() (Heartbeat, error)
func (View_Record) IsValid ¶
func (s View_Record) IsValid() bool
func (View_Record) Message ¶
func (s View_Record) Message() *capnp.Message
func (View_Record) NewHeartbeat ¶
func (s View_Record) NewHeartbeat() (Heartbeat, error)
NewHeartbeat sets the heartbeat field to a newly allocated Heartbeat struct, preferring placement in s's segment.
func (View_Record) Peer ¶
func (s View_Record) Peer() (string, error)
func (View_Record) PeerBytes ¶
func (s View_Record) PeerBytes() ([]byte, error)
func (View_Record) Segment ¶
func (s View_Record) Segment() *capnp.Segment
func (View_Record) Seq ¶
func (s View_Record) Seq() uint64
func (View_Record) Server ¶
func (s View_Record) Server() uint64
func (View_Record) SetHeartbeat ¶
func (s View_Record) SetHeartbeat(v Heartbeat) error
func (View_Record) SetPeer ¶
func (s View_Record) SetPeer(v string) error
func (View_Record) SetSeq ¶
func (s View_Record) SetSeq(v uint64)
func (View_Record) SetServer ¶
func (s View_Record) SetServer(v uint64)
func (View_Record) String ¶
func (s View_Record) String() string
func (View_Record) ToPtr ¶
func (s View_Record) ToPtr() capnp.Ptr
type View_Record_Future ¶
View_Record_Future is a wrapper for a View_Record promised by a client call.
func (View_Record_Future) Heartbeat ¶
func (p View_Record_Future) Heartbeat() Heartbeat_Future
func (View_Record_Future) Struct ¶
func (f View_Record_Future) Struct() (View_Record, error)
type View_Record_List ¶
type View_Record_List = capnp.StructList[View_Record]
View_Record_List is a list of View_Record.
func NewView_Record_List ¶
func NewView_Record_List(s *capnp.Segment, sz int32) (View_Record_List, error)
NewView_Record creates a new list of View_Record.
type View_Selector ¶
func NewRootView_Selector ¶
func NewRootView_Selector(s *capnp.Segment) (View_Selector, error)
func NewView_Selector ¶
func NewView_Selector(s *capnp.Segment) (View_Selector, error)
func ReadRootView_Selector ¶
func ReadRootView_Selector(msg *capnp.Message) (View_Selector, error)
func (View_Selector) DecodeFromPtr ¶
func (View_Selector) DecodeFromPtr(p capnp.Ptr) View_Selector
func (View_Selector) EncodeAsPtr ¶
func (s View_Selector) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_Selector) From ¶
func (s View_Selector) From() (View_Index, error)
func (View_Selector) HasFrom ¶
func (s View_Selector) HasFrom() bool
func (View_Selector) HasMatch ¶
func (s View_Selector) HasMatch() bool
func (View_Selector) IsValid ¶
func (s View_Selector) IsValid() bool
func (View_Selector) Match ¶
func (s View_Selector) Match() (View_Index, error)
func (View_Selector) Message ¶
func (s View_Selector) Message() *capnp.Message
func (View_Selector) NewFrom ¶
func (s View_Selector) NewFrom() (View_Index, error)
NewFrom sets the from field to a newly allocated View_Index struct, preferring placement in s's segment.
func (View_Selector) NewMatch ¶
func (s View_Selector) NewMatch() (View_Index, error)
NewMatch sets the match field to a newly allocated View_Index struct, preferring placement in s's segment.
func (View_Selector) Segment ¶
func (s View_Selector) Segment() *capnp.Segment
func (View_Selector) SetAll ¶
func (s View_Selector) SetAll()
func (View_Selector) SetFrom ¶
func (s View_Selector) SetFrom(v View_Index) error
func (View_Selector) SetMatch ¶
func (s View_Selector) SetMatch(v View_Index) error
func (View_Selector) String ¶
func (s View_Selector) String() string
func (View_Selector) ToPtr ¶
func (s View_Selector) ToPtr() capnp.Ptr
func (View_Selector) Which ¶
func (s View_Selector) Which() View_Selector_Which
type View_Selector_Future ¶
View_Selector_Future is a wrapper for a View_Selector promised by a client call.
func (View_Selector_Future) From ¶
func (p View_Selector_Future) From() View_Index_Future
func (View_Selector_Future) Match ¶
func (p View_Selector_Future) Match() View_Index_Future
func (View_Selector_Future) Struct ¶
func (f View_Selector_Future) Struct() (View_Selector, error)
type View_Selector_List ¶
type View_Selector_List = capnp.StructList[View_Selector]
View_Selector_List is a list of View_Selector.
func NewView_Selector_List ¶
func NewView_Selector_List(s *capnp.Segment, sz int32) (View_Selector_List, error)
NewView_Selector creates a new list of View_Selector.
type View_Selector_Which ¶
type View_Selector_Which uint16
const ( View_Selector_Which_all View_Selector_Which = 0 View_Selector_Which_match View_Selector_Which = 1 View_Selector_Which_from View_Selector_Which = 2 )
func (View_Selector_Which) String ¶
func (w View_Selector_Which) String() string
type View_Server ¶
type View_Server interface { Lookup(context.Context, View_lookup) error Iter(context.Context, View_iter) error Reverse(context.Context, View_reverse) error }
A View_Server is a View with a local implementation.
type View_iter ¶
View_iter holds the state for a server call to View.iter. See server.Call for documentation.
func (View_iter) AllocResults ¶
func (c View_iter) AllocResults() (View_iter_Results, error)
AllocResults allocates the results struct.
func (View_iter) Args ¶
func (c View_iter) Args() View_iter_Params
Args returns the call's arguments.
type View_iter_Params ¶
func NewRootView_iter_Params ¶
func NewRootView_iter_Params(s *capnp.Segment) (View_iter_Params, error)
func NewView_iter_Params ¶
func NewView_iter_Params(s *capnp.Segment) (View_iter_Params, error)
func ReadRootView_iter_Params ¶
func ReadRootView_iter_Params(msg *capnp.Message) (View_iter_Params, error)
func (View_iter_Params) Constraints ¶
func (s View_iter_Params) Constraints() (View_Constraint_List, error)
func (View_iter_Params) DecodeFromPtr ¶
func (View_iter_Params) DecodeFromPtr(p capnp.Ptr) View_iter_Params
func (View_iter_Params) EncodeAsPtr ¶
func (s View_iter_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_iter_Params) Handler ¶
func (s View_iter_Params) Handler() View_Handler
func (View_iter_Params) HasConstraints ¶
func (s View_iter_Params) HasConstraints() bool
func (View_iter_Params) HasHandler ¶
func (s View_iter_Params) HasHandler() bool
func (View_iter_Params) HasSelector ¶
func (s View_iter_Params) HasSelector() bool
func (View_iter_Params) IsValid ¶
func (s View_iter_Params) IsValid() bool
func (View_iter_Params) Message ¶
func (s View_iter_Params) Message() *capnp.Message
func (View_iter_Params) NewConstraints ¶
func (s View_iter_Params) NewConstraints(n int32) (View_Constraint_List, error)
NewConstraints sets the constraints field to a newly allocated View_Constraint_List, preferring placement in s's segment.
func (View_iter_Params) NewSelector ¶
func (s View_iter_Params) NewSelector() (View_Selector, error)
NewSelector sets the selector field to a newly allocated View_Selector struct, preferring placement in s's segment.
func (View_iter_Params) Segment ¶
func (s View_iter_Params) Segment() *capnp.Segment
func (View_iter_Params) Selector ¶
func (s View_iter_Params) Selector() (View_Selector, error)
func (View_iter_Params) SetConstraints ¶
func (s View_iter_Params) SetConstraints(v View_Constraint_List) error
func (View_iter_Params) SetHandler ¶
func (s View_iter_Params) SetHandler(v View_Handler) error
func (View_iter_Params) SetSelector ¶
func (s View_iter_Params) SetSelector(v View_Selector) error
func (View_iter_Params) String ¶
func (s View_iter_Params) String() string
func (View_iter_Params) ToPtr ¶
func (s View_iter_Params) ToPtr() capnp.Ptr
type View_iter_Params_Future ¶
View_iter_Params_Future is a wrapper for a View_iter_Params promised by a client call.
func (View_iter_Params_Future) Handler ¶
func (p View_iter_Params_Future) Handler() View_Handler
func (View_iter_Params_Future) Selector ¶
func (p View_iter_Params_Future) Selector() View_Selector_Future
func (View_iter_Params_Future) Struct ¶
func (f View_iter_Params_Future) Struct() (View_iter_Params, error)
type View_iter_Params_List ¶
type View_iter_Params_List = capnp.StructList[View_iter_Params]
View_iter_Params_List is a list of View_iter_Params.
func NewView_iter_Params_List ¶
func NewView_iter_Params_List(s *capnp.Segment, sz int32) (View_iter_Params_List, error)
NewView_iter_Params creates a new list of View_iter_Params.
type View_iter_Results ¶
func NewRootView_iter_Results ¶
func NewRootView_iter_Results(s *capnp.Segment) (View_iter_Results, error)
func NewView_iter_Results ¶
func NewView_iter_Results(s *capnp.Segment) (View_iter_Results, error)
func ReadRootView_iter_Results ¶
func ReadRootView_iter_Results(msg *capnp.Message) (View_iter_Results, error)
func (View_iter_Results) DecodeFromPtr ¶
func (View_iter_Results) DecodeFromPtr(p capnp.Ptr) View_iter_Results
func (View_iter_Results) EncodeAsPtr ¶
func (s View_iter_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_iter_Results) IsValid ¶
func (s View_iter_Results) IsValid() bool
func (View_iter_Results) Message ¶
func (s View_iter_Results) Message() *capnp.Message
func (View_iter_Results) Segment ¶
func (s View_iter_Results) Segment() *capnp.Segment
func (View_iter_Results) String ¶
func (s View_iter_Results) String() string
func (View_iter_Results) ToPtr ¶
func (s View_iter_Results) ToPtr() capnp.Ptr
type View_iter_Results_Future ¶
View_iter_Results_Future is a wrapper for a View_iter_Results promised by a client call.
func (View_iter_Results_Future) Struct ¶
func (f View_iter_Results_Future) Struct() (View_iter_Results, error)
type View_iter_Results_List ¶
type View_iter_Results_List = capnp.StructList[View_iter_Results]
View_iter_Results_List is a list of View_iter_Results.
func NewView_iter_Results_List ¶
func NewView_iter_Results_List(s *capnp.Segment, sz int32) (View_iter_Results_List, error)
NewView_iter_Results creates a new list of View_iter_Results.
type View_lookup ¶
View_lookup holds the state for a server call to View.lookup. See server.Call for documentation.
func (View_lookup) AllocResults ¶
func (c View_lookup) AllocResults() (View_lookup_Results, error)
AllocResults allocates the results struct.
func (View_lookup) Args ¶
func (c View_lookup) Args() View_lookup_Params
Args returns the call's arguments.
type View_lookup_Params ¶
func NewRootView_lookup_Params ¶
func NewRootView_lookup_Params(s *capnp.Segment) (View_lookup_Params, error)
func NewView_lookup_Params ¶
func NewView_lookup_Params(s *capnp.Segment) (View_lookup_Params, error)
func ReadRootView_lookup_Params ¶
func ReadRootView_lookup_Params(msg *capnp.Message) (View_lookup_Params, error)
func (View_lookup_Params) Constraints ¶
func (s View_lookup_Params) Constraints() (View_Constraint_List, error)
func (View_lookup_Params) DecodeFromPtr ¶
func (View_lookup_Params) DecodeFromPtr(p capnp.Ptr) View_lookup_Params
func (View_lookup_Params) EncodeAsPtr ¶
func (s View_lookup_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_lookup_Params) HasConstraints ¶
func (s View_lookup_Params) HasConstraints() bool
func (View_lookup_Params) HasSelector ¶
func (s View_lookup_Params) HasSelector() bool
func (View_lookup_Params) IsValid ¶
func (s View_lookup_Params) IsValid() bool
func (View_lookup_Params) Message ¶
func (s View_lookup_Params) Message() *capnp.Message
func (View_lookup_Params) NewConstraints ¶
func (s View_lookup_Params) NewConstraints(n int32) (View_Constraint_List, error)
NewConstraints sets the constraints field to a newly allocated View_Constraint_List, preferring placement in s's segment.
func (View_lookup_Params) NewSelector ¶
func (s View_lookup_Params) NewSelector() (View_Selector, error)
NewSelector sets the selector field to a newly allocated View_Selector struct, preferring placement in s's segment.
func (View_lookup_Params) Segment ¶
func (s View_lookup_Params) Segment() *capnp.Segment
func (View_lookup_Params) Selector ¶
func (s View_lookup_Params) Selector() (View_Selector, error)
func (View_lookup_Params) SetConstraints ¶
func (s View_lookup_Params) SetConstraints(v View_Constraint_List) error
func (View_lookup_Params) SetSelector ¶
func (s View_lookup_Params) SetSelector(v View_Selector) error
func (View_lookup_Params) String ¶
func (s View_lookup_Params) String() string
func (View_lookup_Params) ToPtr ¶
func (s View_lookup_Params) ToPtr() capnp.Ptr
type View_lookup_Params_Future ¶
View_lookup_Params_Future is a wrapper for a View_lookup_Params promised by a client call.
func (View_lookup_Params_Future) Selector ¶
func (p View_lookup_Params_Future) Selector() View_Selector_Future
func (View_lookup_Params_Future) Struct ¶
func (f View_lookup_Params_Future) Struct() (View_lookup_Params, error)
type View_lookup_Params_List ¶
type View_lookup_Params_List = capnp.StructList[View_lookup_Params]
View_lookup_Params_List is a list of View_lookup_Params.
func NewView_lookup_Params_List ¶
func NewView_lookup_Params_List(s *capnp.Segment, sz int32) (View_lookup_Params_List, error)
NewView_lookup_Params creates a new list of View_lookup_Params.
type View_lookup_Results ¶
func NewRootView_lookup_Results ¶
func NewRootView_lookup_Results(s *capnp.Segment) (View_lookup_Results, error)
func NewView_lookup_Results ¶
func NewView_lookup_Results(s *capnp.Segment) (View_lookup_Results, error)
func ReadRootView_lookup_Results ¶
func ReadRootView_lookup_Results(msg *capnp.Message) (View_lookup_Results, error)
func (View_lookup_Results) DecodeFromPtr ¶
func (View_lookup_Results) DecodeFromPtr(p capnp.Ptr) View_lookup_Results
func (View_lookup_Results) EncodeAsPtr ¶
func (s View_lookup_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_lookup_Results) HasResult ¶
func (s View_lookup_Results) HasResult() bool
func (View_lookup_Results) IsValid ¶
func (s View_lookup_Results) IsValid() bool
func (View_lookup_Results) Message ¶
func (s View_lookup_Results) Message() *capnp.Message
func (View_lookup_Results) NewResult ¶
func (s View_lookup_Results) NewResult() (View_MaybeRecord, error)
NewResult sets the result field to a newly allocated View_MaybeRecord struct, preferring placement in s's segment.
func (View_lookup_Results) Result ¶
func (s View_lookup_Results) Result() (View_MaybeRecord, error)
func (View_lookup_Results) Segment ¶
func (s View_lookup_Results) Segment() *capnp.Segment
func (View_lookup_Results) SetResult ¶
func (s View_lookup_Results) SetResult(v View_MaybeRecord) error
func (View_lookup_Results) String ¶
func (s View_lookup_Results) String() string
func (View_lookup_Results) ToPtr ¶
func (s View_lookup_Results) ToPtr() capnp.Ptr
type View_lookup_Results_Future ¶
View_lookup_Results_Future is a wrapper for a View_lookup_Results promised by a client call.
func (View_lookup_Results_Future) Result ¶
func (p View_lookup_Results_Future) Result() View_MaybeRecord_Future
func (View_lookup_Results_Future) Struct ¶
func (f View_lookup_Results_Future) Struct() (View_lookup_Results, error)
type View_lookup_Results_List ¶
type View_lookup_Results_List = capnp.StructList[View_lookup_Results]
View_lookup_Results_List is a list of View_lookup_Results.
func NewView_lookup_Results_List ¶
func NewView_lookup_Results_List(s *capnp.Segment, sz int32) (View_lookup_Results_List, error)
NewView_lookup_Results creates a new list of View_lookup_Results.
type View_reverse ¶
View_reverse holds the state for a server call to View.reverse. See server.Call for documentation.
func (View_reverse) AllocResults ¶
func (c View_reverse) AllocResults() (View_reverse_Results, error)
AllocResults allocates the results struct.
func (View_reverse) Args ¶
func (c View_reverse) Args() View_reverse_Params
Args returns the call's arguments.
type View_reverse_Params ¶
func NewRootView_reverse_Params ¶
func NewRootView_reverse_Params(s *capnp.Segment) (View_reverse_Params, error)
func NewView_reverse_Params ¶
func NewView_reverse_Params(s *capnp.Segment) (View_reverse_Params, error)
func ReadRootView_reverse_Params ¶
func ReadRootView_reverse_Params(msg *capnp.Message) (View_reverse_Params, error)
func (View_reverse_Params) DecodeFromPtr ¶
func (View_reverse_Params) DecodeFromPtr(p capnp.Ptr) View_reverse_Params
func (View_reverse_Params) EncodeAsPtr ¶
func (s View_reverse_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_reverse_Params) IsValid ¶
func (s View_reverse_Params) IsValid() bool
func (View_reverse_Params) Message ¶
func (s View_reverse_Params) Message() *capnp.Message
func (View_reverse_Params) Segment ¶
func (s View_reverse_Params) Segment() *capnp.Segment
func (View_reverse_Params) String ¶
func (s View_reverse_Params) String() string
func (View_reverse_Params) ToPtr ¶
func (s View_reverse_Params) ToPtr() capnp.Ptr
type View_reverse_Params_Future ¶
View_reverse_Params_Future is a wrapper for a View_reverse_Params promised by a client call.
func (View_reverse_Params_Future) Struct ¶
func (f View_reverse_Params_Future) Struct() (View_reverse_Params, error)
type View_reverse_Params_List ¶
type View_reverse_Params_List = capnp.StructList[View_reverse_Params]
View_reverse_Params_List is a list of View_reverse_Params.
func NewView_reverse_Params_List ¶
func NewView_reverse_Params_List(s *capnp.Segment, sz int32) (View_reverse_Params_List, error)
NewView_reverse_Params creates a new list of View_reverse_Params.
type View_reverse_Results ¶
func NewRootView_reverse_Results ¶
func NewRootView_reverse_Results(s *capnp.Segment) (View_reverse_Results, error)
func NewView_reverse_Results ¶
func NewView_reverse_Results(s *capnp.Segment) (View_reverse_Results, error)
func ReadRootView_reverse_Results ¶
func ReadRootView_reverse_Results(msg *capnp.Message) (View_reverse_Results, error)
func (View_reverse_Results) DecodeFromPtr ¶
func (View_reverse_Results) DecodeFromPtr(p capnp.Ptr) View_reverse_Results
func (View_reverse_Results) EncodeAsPtr ¶
func (s View_reverse_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (View_reverse_Results) HasView ¶
func (s View_reverse_Results) HasView() bool
func (View_reverse_Results) IsValid ¶
func (s View_reverse_Results) IsValid() bool
func (View_reverse_Results) Message ¶
func (s View_reverse_Results) Message() *capnp.Message
func (View_reverse_Results) Segment ¶
func (s View_reverse_Results) Segment() *capnp.Segment
func (View_reverse_Results) SetView ¶
func (s View_reverse_Results) SetView(v View) error
func (View_reverse_Results) String ¶
func (s View_reverse_Results) String() string
func (View_reverse_Results) ToPtr ¶
func (s View_reverse_Results) ToPtr() capnp.Ptr
func (View_reverse_Results) View ¶
func (s View_reverse_Results) View() View
type View_reverse_Results_Future ¶
View_reverse_Results_Future is a wrapper for a View_reverse_Results promised by a client call.
func (View_reverse_Results_Future) Struct ¶
func (f View_reverse_Results_Future) Struct() (View_reverse_Results, error)
func (View_reverse_Results_Future) View ¶
func (p View_reverse_Results_Future) View() View
type View_reverse_Results_List ¶
type View_reverse_Results_List = capnp.StructList[View_reverse_Results]
View_reverse_Results_List is a list of View_reverse_Results.
func NewView_reverse_Results_List ¶
func NewView_reverse_Results_List(s *capnp.Segment, sz int32) (View_reverse_Results_List, error)
NewView_reverse_Results creates a new list of View_reverse_Results.