cluster

package
v0.1.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2023 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AuthProvider_TypeID = 0x9c8a0c56d217e9de

AuthProvider_TypeID is the unique identifier for the type AuthProvider.

View Source
const AuthProvider_provide_Params_TypeID = 0xc0054a1048274361

AuthProvider_provide_Params_TypeID is the unique identifier for the type AuthProvider_provide_Params.

View Source
const AuthProvider_provide_Results_TypeID = 0xb85d303fbd29edc8

AuthProvider_provide_Results_TypeID is the unique identifier for the type AuthProvider_provide_Results.

View Source
const Heartbeat_TypeID = 0xa97471079836f720

Heartbeat_TypeID is the unique identifier for the type Heartbeat.

View Source
const Host_TypeID = 0x957cbefc645fd307

Host_TypeID is the unique identifier for the type Host.

View Source
const Host_executor_Params_TypeID = 0xbe5314ed29d84c52

Host_executor_Params_TypeID is the unique identifier for the type Host_executor_Params.

View Source
const Host_executor_Results_TypeID = 0x9e8120f9bb059602

Host_executor_Results_TypeID is the unique identifier for the type Host_executor_Results.

View Source
const Host_pubSub_Params_TypeID = 0xe5b5227505fcaa99

Host_pubSub_Params_TypeID is the unique identifier for the type Host_pubSub_Params.

View Source
const Host_pubSub_Results_TypeID = 0xdc88f975f5090eee

Host_pubSub_Results_TypeID is the unique identifier for the type Host_pubSub_Results.

View Source
const Host_registry_Params_TypeID = 0x89ec8e1ef0f263f3

Host_registry_Params_TypeID is the unique identifier for the type Host_registry_Params.

View Source
const Host_registry_Results_TypeID = 0xbe186003ae0f0429

Host_registry_Results_TypeID is the unique identifier for the type Host_registry_Results.

View Source
const Host_root_Params_TypeID = 0x828b2823e5eeb7be

Host_root_Params_TypeID is the unique identifier for the type Host_root_Params.

View Source
const Host_root_Results_TypeID = 0xcabb5c85a457450b

Host_root_Results_TypeID is the unique identifier for the type Host_root_Results.

View Source
const Host_view_Params_TypeID = 0xa404c24b5375b9e4

Host_view_Params_TypeID is the unique identifier for the type Host_view_Params.

View Source
const Host_view_Results_TypeID = 0x8f58928e854cd4f5

Host_view_Results_TypeID is the unique identifier for the type Host_view_Results.

View Source
const Signer_TypeID = 0xf1f2e144cec1f2bc

Signer_TypeID is the unique identifier for the type Signer.

View Source
const Signer_sign_Params_TypeID = 0xb2250c16d3064727

Signer_sign_Params_TypeID is the unique identifier for the type Signer_sign_Params.

View Source
const Signer_sign_Results_TypeID = 0xf00b0072c6dcfae7

Signer_sign_Results_TypeID is the unique identifier for the type Signer_sign_Results.

View Source
const View_Constraint_TypeID = 0xab133d2062f6cc53

View_Constraint_TypeID is the unique identifier for the type View_Constraint.

View Source
const View_Handler_TypeID = 0xee93a663b2a23c03

View_Handler_TypeID is the unique identifier for the type View_Handler.

View Source
const View_Handler_recv_Params_TypeID = 0x8eb96dceb6a99ebd

View_Handler_recv_Params_TypeID is the unique identifier for the type View_Handler_recv_Params.

View Source
const View_Index_TypeID = 0xcc2d04cc26d4f6a5

View_Index_TypeID is the unique identifier for the type View_Index.

View Source
const View_MaybeRecord_TypeID = 0xd6a4f298bc0e2304

View_MaybeRecord_TypeID is the unique identifier for the type View_MaybeRecord.

View Source
const View_Record_TypeID = 0xcdcf42beb2537d20

View_Record_TypeID is the unique identifier for the type View_Record.

View Source
const View_Selector_TypeID = 0xb2029ff7b712d18a

View_Selector_TypeID is the unique identifier for the type View_Selector.

View Source
const View_TypeID = 0x8a1df0335afc249a

View_TypeID is the unique identifier for the type View.

View Source
const View_iter_Params_TypeID = 0xf495a555c9344000

View_iter_Params_TypeID is the unique identifier for the type View_iter_Params.

View Source
const View_iter_Results_TypeID = 0xe54acc44b61fd7ef

View_iter_Results_TypeID is the unique identifier for the type View_iter_Results.

View Source
const View_lookup_Params_TypeID = 0xd929e054f82b286c

View_lookup_Params_TypeID is the unique identifier for the type View_lookup_Params.

View Source
const View_lookup_Results_TypeID = 0xe6df611247a8fc13

View_lookup_Results_TypeID is the unique identifier for the type View_lookup_Results.

View Source
const View_reverse_Params_TypeID = 0x8b1fd983f1df482d

View_reverse_Params_TypeID is the unique identifier for the type View_reverse_Params.

View Source
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 RegisterSchema(reg *schemas.Registry)

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

type AuthProvider capnp.Client

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) 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

type AuthProvider_provide struct {
	*server.Call
}

AuthProvider_provide holds the state for a server call to AuthProvider.provide. See server.Call for documentation.

func (AuthProvider_provide) AllocResults

AllocResults allocates the results struct.

func (AuthProvider_provide) Args

Args returns the call's arguments.

type AuthProvider_provide_Params

type AuthProvider_provide_Params capnp.Struct

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) 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 (AuthProvider_provide_Params) Segment

func (AuthProvider_provide_Params) SetAccount

func (s AuthProvider_provide_Params) SetAccount(v Signer) error

func (AuthProvider_provide_Params) String

func (AuthProvider_provide_Params) ToPtr

type AuthProvider_provide_Params_Future

type AuthProvider_provide_Params_Future struct{ *capnp.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 (AuthProvider_provide_Params_Future) Struct

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

type AuthProvider_provide_Results capnp.Struct

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) 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 (AuthProvider_provide_Results) PubSub

func (AuthProvider_provide_Results) Root

func (AuthProvider_provide_Results) Segment

func (AuthProvider_provide_Results) SetPubSub

func (AuthProvider_provide_Results) SetRoot

func (AuthProvider_provide_Results) SetView

func (AuthProvider_provide_Results) String

func (AuthProvider_provide_Results) ToPtr

func (AuthProvider_provide_Results) View

type AuthProvider_provide_Results_Future

type AuthProvider_provide_Results_Future struct{ *capnp.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 (AuthProvider_provide_Results_Future) Root

func (AuthProvider_provide_Results_Future) Struct

func (AuthProvider_provide_Results_Future) 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 capnp.Struct

func NewHeartbeat

func NewHeartbeat(s *capnp.Segment) (Heartbeat, error)

func NewRootHeartbeat

func NewRootHeartbeat(s *capnp.Segment) (Heartbeat, error)

func ReadRootHeartbeat

func ReadRootHeartbeat(msg *capnp.Message) (Heartbeat, error)

func (Heartbeat) DecodeFromPtr

func (Heartbeat) DecodeFromPtr(p capnp.Ptr) Heartbeat

func (Heartbeat) EncodeAsPtr

func (s Heartbeat) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Heartbeat) HasHost

func (s Heartbeat) HasHost() bool

func (Heartbeat) HasMeta

func (s Heartbeat) HasMeta() bool

func (Heartbeat) Host

func (s Heartbeat) Host() (string, error)

func (Heartbeat) HostBytes

func (s Heartbeat) HostBytes() ([]byte, error)

func (Heartbeat) IsValid

func (s Heartbeat) IsValid() bool

func (Heartbeat) Message

func (s Heartbeat) Message() *capnp.Message

func (Heartbeat) Meta

func (s Heartbeat) Meta() (capnp.TextList, error)

func (Heartbeat) NewMeta

func (s Heartbeat) NewMeta(n int32) (capnp.TextList, error)

NewMeta sets the meta field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (Heartbeat) Segment

func (s Heartbeat) Segment() *capnp.Segment

func (Heartbeat) Server

func (s Heartbeat) Server() uint64

func (Heartbeat) SetHost

func (s Heartbeat) SetHost(v string) error

func (Heartbeat) SetMeta

func (s Heartbeat) SetMeta(v capnp.TextList) error

func (Heartbeat) SetServer

func (s Heartbeat) SetServer(v uint64)

func (Heartbeat) SetTtl

func (s Heartbeat) SetTtl(v uint32)

func (Heartbeat) String

func (s Heartbeat) String() string

func (Heartbeat) ToPtr

func (s Heartbeat) ToPtr() capnp.Ptr

func (Heartbeat) Ttl

func (s Heartbeat) Ttl() uint32

type Heartbeat_Future

type Heartbeat_Future struct{ *capnp.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

type Host capnp.Client

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

func (c Host) AddRef() Host

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) DecodeFromPtr

func (Host) DecodeFromPtr(p capnp.Ptr) Host

func (Host) EncodeAsPtr

func (c Host) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

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

func (c Host) IsSame(other Host) 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 (Host) IsValid

func (c Host) 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 (Host) PubSub

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) Resolve

func (c Host) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (Host) Root

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

func (c Host) 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 (Host) View

func (Host) WaitStreaming

func (c Host) WaitStreaming() error

type Host_List

type Host_List = capnp.CapList[Host]

Host_List is a list of Host.

func NewHost_List

func NewHost_List(s *capnp.Segment, sz int32) (Host_List, error)

NewHost creates a new list of Host.

type Host_Server

A Host_Server is a Host with a local implementation.

type Host_executor

type Host_executor struct {
	*server.Call
}

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

Args returns the call's arguments.

type Host_executor_Params

type Host_executor_Params capnp.Struct

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) 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

type Host_executor_Params_Future struct{ *capnp.Future }

Host_executor_Params_Future is a wrapper for a Host_executor_Params promised by a client call.

func (Host_executor_Params_Future) Struct

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

type Host_executor_Results capnp.Struct

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) 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

type Host_executor_Results_Future struct{ *capnp.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 (Host_executor_Results_Future) Struct

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

type Host_pubSub struct {
	*server.Call
}

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

Args returns the call's arguments.

type Host_pubSub_Params

type Host_pubSub_Params capnp.Struct

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) 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

type Host_pubSub_Params_Future struct{ *capnp.Future }

Host_pubSub_Params_Future is a wrapper for a Host_pubSub_Params promised by a client call.

func (Host_pubSub_Params_Future) Struct

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

type Host_pubSub_Results capnp.Struct

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) 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

type Host_pubSub_Results_Future struct{ *capnp.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 (Host_pubSub_Results_Future) Struct

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

type Host_registry struct {
	*server.Call
}

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

Args returns the call's arguments.

type Host_registry_Params

type Host_registry_Params capnp.Struct

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) 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

type Host_registry_Params_Future struct{ *capnp.Future }

Host_registry_Params_Future is a wrapper for a Host_registry_Params promised by a client call.

func (Host_registry_Params_Future) Struct

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

type Host_registry_Results capnp.Struct

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) 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 (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

type Host_registry_Results_Future struct{ *capnp.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 (Host_registry_Results_Future) Struct

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

type Host_root struct {
	*server.Call
}

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

type Host_root_Params capnp.Struct

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

type Host_root_Params_Future struct{ *capnp.Future }

Host_root_Params_Future is a wrapper for a Host_root_Params promised by a client call.

func (Host_root_Params_Future) Struct

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

type Host_root_Results capnp.Struct

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) SetRoot

func (s Host_root_Results) SetRoot(v anchor.Anchor) error

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

type Host_root_Results_Future struct{ *capnp.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 (Host_root_Results_Future) Struct

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

type Host_view struct {
	*server.Call
}

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

type Host_view_Params capnp.Struct

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

type Host_view_Params_Future struct{ *capnp.Future }

Host_view_Params_Future is a wrapper for a Host_view_Params promised by a client call.

func (Host_view_Params_Future) Struct

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

type Host_view_Results capnp.Struct

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

type Host_view_Results_Future struct{ *capnp.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 (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

type Signer capnp.Client

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

func (c Signer) AddRef() Signer

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) DecodeFromPtr

func (Signer) DecodeFromPtr(p capnp.Ptr) Signer

func (Signer) EncodeAsPtr

func (c Signer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

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

func (c Signer) IsSame(other Signer) 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 (Signer) IsValid

func (c Signer) 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 (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

func (c Signer) Resolve(ctx context.Context) error

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 (Signer) String

func (c Signer) 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 (Signer) WaitStreaming

func (c Signer) WaitStreaming() error

type Signer_List

type Signer_List = capnp.CapList[Signer]

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

type Signer_sign struct {
	*server.Call
}

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

Args returns the call's arguments.

type Signer_sign_Params

type Signer_sign_Params capnp.Struct

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) 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

type Signer_sign_Params_Future struct{ *capnp.Future }

Signer_sign_Params_Future is a wrapper for a Signer_sign_Params promised by a client call.

func (Signer_sign_Params_Future) Struct

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

type Signer_sign_Results capnp.Struct

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) 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

type Signer_sign_Results_Future struct{ *capnp.Future }

Signer_sign_Results_Future is a wrapper for a Signer_sign_Results promised by a client call.

func (Signer_sign_Results_Future) Struct

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

type View capnp.Client

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

func (c View) AddRef() View

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) DecodeFromPtr

func (View) DecodeFromPtr(p capnp.Ptr) View

func (View) EncodeAsPtr

func (c View) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

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

func (c View) IsSame(other View) 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) IsValid

func (c View) 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) Iter

func (View) Lookup

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) Resolve

func (c View) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

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

func (c View) 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) WaitStreaming

func (c View) WaitStreaming() error

type View_Constraint

type View_Constraint capnp.Struct

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

type View_Constraint_Future

type View_Constraint_Future struct{ *capnp.Future }

View_Constraint_Future is a wrapper for a View_Constraint promised by a client call.

func (View_Constraint_Future) Struct

func (View_Constraint_Future) To

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

type View_Handler capnp.Client

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

type View_Handler_recv struct {
	*server.Call
}

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

Args returns the call's arguments.

type View_Handler_recv_Params

type View_Handler_recv_Params capnp.Struct

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) 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 (View_Handler_recv_Params) Segment

func (s View_Handler_recv_Params) Segment() *capnp.Segment

func (View_Handler_recv_Params) SetRecord

func (View_Handler_recv_Params) String

func (s View_Handler_recv_Params) String() string

func (View_Handler_recv_Params) ToPtr

type View_Handler_recv_Params_Future

type View_Handler_recv_Params_Future struct{ *capnp.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 (View_Handler_recv_Params_Future) Struct

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

type View_Index capnp.Struct

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

type View_Index_Future struct{ *capnp.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_List

type View_List = capnp.CapList[View]

View_List is a list of View.

func NewView_List

func NewView_List(s *capnp.Segment, sz int32) (View_List, error)

NewView creates a new list of View.

type View_MaybeRecord

type View_MaybeRecord capnp.Struct

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

type View_MaybeRecord_Future

type View_MaybeRecord_Future struct{ *capnp.Future }

View_MaybeRecord_Future is a wrapper for a View_MaybeRecord promised by a client call.

func (View_MaybeRecord_Future) Just

func (View_MaybeRecord_Future) Struct

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

type View_Record capnp.Struct

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

type View_Record_Future struct{ *capnp.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

type View_Selector capnp.Struct

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

type View_Selector_Future

type View_Selector_Future struct{ *capnp.Future }

View_Selector_Future is a wrapper for a View_Selector promised by a client call.

func (View_Selector_Future) From

func (View_Selector_Future) Match

func (View_Selector_Future) Struct

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

type View_iter struct {
	*server.Call
}

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

type View_iter_Params capnp.Struct

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

type View_iter_Params_Future struct{ *capnp.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 (View_iter_Params_Future) Selector

func (View_iter_Params_Future) Struct

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

type View_iter_Results capnp.Struct

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

type View_iter_Results_Future struct{ *capnp.Future }

View_iter_Results_Future is a wrapper for a View_iter_Results promised by a client call.

func (View_iter_Results_Future) Struct

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

type View_lookup struct {
	*server.Call
}

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

Args returns the call's arguments.

type View_lookup_Params

type View_lookup_Params capnp.Struct

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) 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

type View_lookup_Params_Future struct{ *capnp.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 (View_lookup_Params_Future) Struct

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

type View_lookup_Results capnp.Struct

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) 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 (View_lookup_Results) Segment

func (s View_lookup_Results) Segment() *capnp.Segment

func (View_lookup_Results) SetResult

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

type View_lookup_Results_Future struct{ *capnp.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 (View_lookup_Results_Future) Struct

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

type View_reverse struct {
	*server.Call
}

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

Args returns the call's arguments.

type View_reverse_Params

type View_reverse_Params capnp.Struct

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) 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

type View_reverse_Params_Future struct{ *capnp.Future }

View_reverse_Params_Future is a wrapper for a View_reverse_Params promised by a client call.

func (View_reverse_Params_Future) Struct

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

type View_reverse_Results capnp.Struct

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) 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

type View_reverse_Results_Future struct{ *capnp.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 (View_reverse_Results_Future) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL