Documentation ¶
Index ¶
- Constants
- func Anchor_Loader_Methods(methods []server.Method, s Anchor_Loader_Server) []server.Method
- func Anchor_Loader_NewServer(s Anchor_Loader_Server) *server.Server
- func Anchor_Methods(methods []server.Method, s Anchor_Server) []server.Method
- func Anchor_NewServer(s Anchor_Server) *server.Server
- func Anchor_Storer_Methods(methods []server.Method, s Anchor_Storer_Server) []server.Method
- func Anchor_Storer_NewServer(s Anchor_Storer_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- type Anchor
- func (c Anchor) AddRef() Anchor
- func (c Anchor) Cell(ctx context.Context, params func(Anchor_cell_Params) error) (Anchor_cell_Results_Future, capnp.ReleaseFunc)
- func (Anchor) DecodeFromPtr(p capnp.Ptr) Anchor
- func (c Anchor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Anchor) GetFlowLimiter() fc.FlowLimiter
- func (c Anchor) IsSame(other Anchor) bool
- func (c Anchor) IsValid() bool
- func (c Anchor) Ls(ctx context.Context, params func(Anchor_ls_Params) error) (Anchor_ls_Results_Future, capnp.ReleaseFunc)
- func (c Anchor) Release()
- func (c Anchor) Resolve(ctx context.Context) error
- func (c Anchor) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Anchor) String() string
- func (c Anchor) WaitStreaming() error
- func (c Anchor) Walk(ctx context.Context, params func(Anchor_walk_Params) error) (Anchor_walk_Results_Future, capnp.ReleaseFunc)
- type Anchor_Child
- func (s Anchor_Child) Anchor() Anchor
- func (Anchor_Child) DecodeFromPtr(p capnp.Ptr) Anchor_Child
- func (s Anchor_Child) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_Child) HasAnchor() bool
- func (s Anchor_Child) HasName() bool
- func (s Anchor_Child) IsValid() bool
- func (s Anchor_Child) Message() *capnp.Message
- func (s Anchor_Child) Name() (string, error)
- func (s Anchor_Child) NameBytes() ([]byte, error)
- func (s Anchor_Child) Segment() *capnp.Segment
- func (s Anchor_Child) SetAnchor(v Anchor) error
- func (s Anchor_Child) SetName(v string) error
- func (s Anchor_Child) String() string
- func (s Anchor_Child) ToPtr() capnp.Ptr
- type Anchor_Child_Future
- type Anchor_Child_List
- type Anchor_List
- type Anchor_Loader
- func (c Anchor_Loader) AddRef() Anchor_Loader
- func (Anchor_Loader) DecodeFromPtr(p capnp.Ptr) Anchor_Loader
- func (c Anchor_Loader) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Anchor_Loader) GetFlowLimiter() fc.FlowLimiter
- func (c Anchor_Loader) IsSame(other Anchor_Loader) bool
- func (c Anchor_Loader) IsValid() bool
- func (c Anchor_Loader) Load(ctx context.Context, params func(Anchor_Loader_load_Params) error) (Anchor_Loader_load_Results_Future, capnp.ReleaseFunc)
- func (c Anchor_Loader) Release()
- func (c Anchor_Loader) Resolve(ctx context.Context) error
- func (c Anchor_Loader) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Anchor_Loader) String() string
- func (c Anchor_Loader) WaitStreaming() error
- type Anchor_Loader_List
- type Anchor_Loader_Server
- type Anchor_Loader_load
- type Anchor_Loader_load_Params
- func (Anchor_Loader_load_Params) DecodeFromPtr(p capnp.Ptr) Anchor_Loader_load_Params
- func (s Anchor_Loader_load_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_Loader_load_Params) IsValid() bool
- func (s Anchor_Loader_load_Params) Message() *capnp.Message
- func (s Anchor_Loader_load_Params) Segment() *capnp.Segment
- func (s Anchor_Loader_load_Params) String() string
- func (s Anchor_Loader_load_Params) ToPtr() capnp.Ptr
- type Anchor_Loader_load_Params_Future
- type Anchor_Loader_load_Params_List
- type Anchor_Loader_load_Results
- func (Anchor_Loader_load_Results) DecodeFromPtr(p capnp.Ptr) Anchor_Loader_load_Results
- func (s Anchor_Loader_load_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_Loader_load_Results) HasValue() bool
- func (s Anchor_Loader_load_Results) IsValid() bool
- func (s Anchor_Loader_load_Results) Message() *capnp.Message
- func (s Anchor_Loader_load_Results) Segment() *capnp.Segment
- func (s Anchor_Loader_load_Results) SetValue(v capnp.Ptr) error
- func (s Anchor_Loader_load_Results) String() string
- func (s Anchor_Loader_load_Results) ToPtr() capnp.Ptr
- func (s Anchor_Loader_load_Results) Value() (capnp.Ptr, error)
- type Anchor_Loader_load_Results_Future
- type Anchor_Loader_load_Results_List
- type Anchor_Server
- type Anchor_Storer
- func (c Anchor_Storer) AddRef() Anchor_Storer
- func (Anchor_Storer) DecodeFromPtr(p capnp.Ptr) Anchor_Storer
- func (c Anchor_Storer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Anchor_Storer) GetFlowLimiter() fc.FlowLimiter
- func (c Anchor_Storer) IsSame(other Anchor_Storer) bool
- func (c Anchor_Storer) IsValid() bool
- func (c Anchor_Storer) Release()
- func (c Anchor_Storer) Resolve(ctx context.Context) error
- func (c Anchor_Storer) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Anchor_Storer) Store(ctx context.Context, params func(Anchor_Storer_store_Params) error) (Anchor_Storer_store_Results_Future, capnp.ReleaseFunc)
- func (c Anchor_Storer) String() string
- func (c Anchor_Storer) WaitStreaming() error
- type Anchor_Storer_List
- type Anchor_Storer_Server
- type Anchor_Storer_store
- type Anchor_Storer_store_Params
- func (Anchor_Storer_store_Params) DecodeFromPtr(p capnp.Ptr) Anchor_Storer_store_Params
- func (s Anchor_Storer_store_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_Storer_store_Params) HasValue() bool
- func (s Anchor_Storer_store_Params) IsValid() bool
- func (s Anchor_Storer_store_Params) Message() *capnp.Message
- func (s Anchor_Storer_store_Params) Overwrite() bool
- func (s Anchor_Storer_store_Params) Segment() *capnp.Segment
- func (s Anchor_Storer_store_Params) SetOverwrite(v bool)
- func (s Anchor_Storer_store_Params) SetValue(v capnp.Ptr) error
- func (s Anchor_Storer_store_Params) String() string
- func (s Anchor_Storer_store_Params) ToPtr() capnp.Ptr
- func (s Anchor_Storer_store_Params) Value() (capnp.Ptr, error)
- type Anchor_Storer_store_Params_Future
- type Anchor_Storer_store_Params_List
- type Anchor_Storer_store_Results
- func (Anchor_Storer_store_Results) DecodeFromPtr(p capnp.Ptr) Anchor_Storer_store_Results
- func (s Anchor_Storer_store_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_Storer_store_Results) IsValid() bool
- func (s Anchor_Storer_store_Results) Message() *capnp.Message
- func (s Anchor_Storer_store_Results) Segment() *capnp.Segment
- func (s Anchor_Storer_store_Results) SetSucceeded(v bool)
- func (s Anchor_Storer_store_Results) String() string
- func (s Anchor_Storer_store_Results) Succeeded() bool
- func (s Anchor_Storer_store_Results) ToPtr() capnp.Ptr
- type Anchor_Storer_store_Results_Future
- type Anchor_Storer_store_Results_List
- type Anchor_cell
- type Anchor_cell_Params
- func (Anchor_cell_Params) DecodeFromPtr(p capnp.Ptr) Anchor_cell_Params
- func (s Anchor_cell_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_cell_Params) IsValid() bool
- func (s Anchor_cell_Params) Message() *capnp.Message
- func (s Anchor_cell_Params) Segment() *capnp.Segment
- func (s Anchor_cell_Params) String() string
- func (s Anchor_cell_Params) ToPtr() capnp.Ptr
- type Anchor_cell_Params_Future
- type Anchor_cell_Params_List
- type Anchor_cell_Results
- func (Anchor_cell_Results) DecodeFromPtr(p capnp.Ptr) Anchor_cell_Results
- func (s Anchor_cell_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_cell_Results) HasLoader() bool
- func (s Anchor_cell_Results) HasStorer() bool
- func (s Anchor_cell_Results) IsValid() bool
- func (s Anchor_cell_Results) Loader() Anchor_Loader
- func (s Anchor_cell_Results) Message() *capnp.Message
- func (s Anchor_cell_Results) Segment() *capnp.Segment
- func (s Anchor_cell_Results) SetLoader(v Anchor_Loader) error
- func (s Anchor_cell_Results) SetStorer(v Anchor_Storer) error
- func (s Anchor_cell_Results) Storer() Anchor_Storer
- func (s Anchor_cell_Results) String() string
- func (s Anchor_cell_Results) ToPtr() capnp.Ptr
- type Anchor_cell_Results_Future
- type Anchor_cell_Results_List
- type Anchor_ls
- type Anchor_ls_Params
- func (Anchor_ls_Params) DecodeFromPtr(p capnp.Ptr) Anchor_ls_Params
- func (s Anchor_ls_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_ls_Params) IsValid() bool
- func (s Anchor_ls_Params) Message() *capnp.Message
- func (s Anchor_ls_Params) Segment() *capnp.Segment
- func (s Anchor_ls_Params) String() string
- func (s Anchor_ls_Params) ToPtr() capnp.Ptr
- type Anchor_ls_Params_Future
- type Anchor_ls_Params_List
- type Anchor_ls_Results
- func (s Anchor_ls_Results) Children() (Anchor_Child_List, error)
- func (Anchor_ls_Results) DecodeFromPtr(p capnp.Ptr) Anchor_ls_Results
- func (s Anchor_ls_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_ls_Results) HasChildren() bool
- func (s Anchor_ls_Results) IsValid() bool
- func (s Anchor_ls_Results) Message() *capnp.Message
- func (s Anchor_ls_Results) NewChildren(n int32) (Anchor_Child_List, error)
- func (s Anchor_ls_Results) Segment() *capnp.Segment
- func (s Anchor_ls_Results) SetChildren(v Anchor_Child_List) error
- func (s Anchor_ls_Results) String() string
- func (s Anchor_ls_Results) ToPtr() capnp.Ptr
- type Anchor_ls_Results_Future
- type Anchor_ls_Results_List
- type Anchor_walk
- type Anchor_walk_Params
- func (Anchor_walk_Params) DecodeFromPtr(p capnp.Ptr) Anchor_walk_Params
- func (s Anchor_walk_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_walk_Params) HasPath() bool
- func (s Anchor_walk_Params) IsValid() bool
- func (s Anchor_walk_Params) Message() *capnp.Message
- func (s Anchor_walk_Params) Path() (string, error)
- func (s Anchor_walk_Params) PathBytes() ([]byte, error)
- func (s Anchor_walk_Params) Segment() *capnp.Segment
- func (s Anchor_walk_Params) SetPath(v string) error
- func (s Anchor_walk_Params) String() string
- func (s Anchor_walk_Params) ToPtr() capnp.Ptr
- type Anchor_walk_Params_Future
- type Anchor_walk_Params_List
- type Anchor_walk_Results
- func (s Anchor_walk_Results) Anchor() Anchor
- func (Anchor_walk_Results) DecodeFromPtr(p capnp.Ptr) Anchor_walk_Results
- func (s Anchor_walk_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Anchor_walk_Results) HasAnchor() bool
- func (s Anchor_walk_Results) IsValid() bool
- func (s Anchor_walk_Results) Message() *capnp.Message
- func (s Anchor_walk_Results) Segment() *capnp.Segment
- func (s Anchor_walk_Results) SetAnchor(v Anchor) error
- func (s Anchor_walk_Results) String() string
- func (s Anchor_walk_Results) ToPtr() capnp.Ptr
- type Anchor_walk_Results_Future
- type Anchor_walk_Results_List
Constants ¶
const Anchor_Child_TypeID = 0xc718781cb2553199
Anchor_Child_TypeID is the unique identifier for the type Anchor_Child.
const Anchor_Loader_TypeID = 0x8a336ac7e2d028c1
Anchor_Loader_TypeID is the unique identifier for the type Anchor_Loader.
const Anchor_Loader_load_Params_TypeID = 0xf8402a904fba165b
Anchor_Loader_load_Params_TypeID is the unique identifier for the type Anchor_Loader_load_Params.
const Anchor_Loader_load_Results_TypeID = 0xb7ddaffff14d4ea5
Anchor_Loader_load_Results_TypeID is the unique identifier for the type Anchor_Loader_load_Results.
const Anchor_Storer_TypeID = 0xab8d091f98599d27
Anchor_Storer_TypeID is the unique identifier for the type Anchor_Storer.
const Anchor_Storer_store_Params_TypeID = 0xdad77fd0c414d459
Anchor_Storer_store_Params_TypeID is the unique identifier for the type Anchor_Storer_store_Params.
const Anchor_Storer_store_Results_TypeID = 0xe6d4ed829b3ab757
Anchor_Storer_store_Results_TypeID is the unique identifier for the type Anchor_Storer_store_Results.
const Anchor_TypeID = 0xe41237e4098ed922
Anchor_TypeID is the unique identifier for the type Anchor.
const Anchor_cell_Params_TypeID = 0xd25c03d885e9b059
Anchor_cell_Params_TypeID is the unique identifier for the type Anchor_cell_Params.
const Anchor_cell_Results_TypeID = 0xa17b8c469ab105e9
Anchor_cell_Results_TypeID is the unique identifier for the type Anchor_cell_Results.
const Anchor_ls_Params_TypeID = 0xc105d085735711e1
Anchor_ls_Params_TypeID is the unique identifier for the type Anchor_ls_Params.
const Anchor_ls_Results_TypeID = 0xe325af947f127758
Anchor_ls_Results_TypeID is the unique identifier for the type Anchor_ls_Results.
const Anchor_walk_Params_TypeID = 0xb90ffa2761585171
Anchor_walk_Params_TypeID is the unique identifier for the type Anchor_walk_Params.
const Anchor_walk_Results_TypeID = 0xaec21d58779cc86c
Anchor_walk_Results_TypeID is the unique identifier for the type Anchor_walk_Results.
Variables ¶
This section is empty.
Functions ¶
func Anchor_Loader_Methods ¶
func Anchor_Loader_Methods(methods []server.Method, s Anchor_Loader_Server) []server.Method
Anchor_Loader_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Anchor_Loader_NewServer ¶
func Anchor_Loader_NewServer(s Anchor_Loader_Server) *server.Server
Anchor_Loader_NewServer creates a new Server from an implementation of Anchor_Loader_Server.
func Anchor_Methods ¶
func Anchor_Methods(methods []server.Method, s Anchor_Server) []server.Method
Anchor_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Anchor_NewServer ¶
func Anchor_NewServer(s Anchor_Server) *server.Server
Anchor_NewServer creates a new Server from an implementation of Anchor_Server.
func Anchor_Storer_Methods ¶
func Anchor_Storer_Methods(methods []server.Method, s Anchor_Storer_Server) []server.Method
Anchor_Storer_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Anchor_Storer_NewServer ¶
func Anchor_Storer_NewServer(s Anchor_Storer_Server) *server.Server
Anchor_Storer_NewServer creates a new Server from an implementation of Anchor_Storer_Server.
func RegisterSchema ¶
Types ¶
type Anchor ¶
func Anchor_ServerToClient ¶
func Anchor_ServerToClient(s Anchor_Server) Anchor
Anchor_ServerToClient creates a new Client from an implementation of Anchor_Server. The caller is responsible for calling Release on the returned Client.
func (Anchor) 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 (Anchor) Cell ¶
func (c Anchor) Cell(ctx context.Context, params func(Anchor_cell_Params) error) (Anchor_cell_Results_Future, capnp.ReleaseFunc)
func (Anchor) GetFlowLimiter ¶
func (c Anchor) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Anchor) 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 (Anchor) 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 (Anchor) Ls ¶
func (c Anchor) Ls(ctx context.Context, params func(Anchor_ls_Params) error) (Anchor_ls_Results_Future, capnp.ReleaseFunc)
func (Anchor) Release ¶
func (c Anchor) 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 (Anchor) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Anchor) SetFlowLimiter ¶
func (c Anchor) 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 (Anchor) 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 (Anchor) WaitStreaming ¶
func (Anchor) Walk ¶
func (c Anchor) Walk(ctx context.Context, params func(Anchor_walk_Params) error) (Anchor_walk_Results_Future, capnp.ReleaseFunc)
type Anchor_Child ¶
func NewAnchor_Child ¶
func NewAnchor_Child(s *capnp.Segment) (Anchor_Child, error)
func NewRootAnchor_Child ¶
func NewRootAnchor_Child(s *capnp.Segment) (Anchor_Child, error)
func ReadRootAnchor_Child ¶
func ReadRootAnchor_Child(msg *capnp.Message) (Anchor_Child, error)
func (Anchor_Child) Anchor ¶
func (s Anchor_Child) Anchor() Anchor
func (Anchor_Child) DecodeFromPtr ¶
func (Anchor_Child) DecodeFromPtr(p capnp.Ptr) Anchor_Child
func (Anchor_Child) EncodeAsPtr ¶
func (s Anchor_Child) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Child) HasAnchor ¶
func (s Anchor_Child) HasAnchor() bool
func (Anchor_Child) HasName ¶
func (s Anchor_Child) HasName() bool
func (Anchor_Child) IsValid ¶
func (s Anchor_Child) IsValid() bool
func (Anchor_Child) Message ¶
func (s Anchor_Child) Message() *capnp.Message
func (Anchor_Child) Name ¶
func (s Anchor_Child) Name() (string, error)
func (Anchor_Child) NameBytes ¶
func (s Anchor_Child) NameBytes() ([]byte, error)
func (Anchor_Child) Segment ¶
func (s Anchor_Child) Segment() *capnp.Segment
func (Anchor_Child) SetAnchor ¶
func (s Anchor_Child) SetAnchor(v Anchor) error
func (Anchor_Child) SetName ¶
func (s Anchor_Child) SetName(v string) error
func (Anchor_Child) String ¶
func (s Anchor_Child) String() string
func (Anchor_Child) ToPtr ¶
func (s Anchor_Child) ToPtr() capnp.Ptr
type Anchor_Child_Future ¶
Anchor_Child_Future is a wrapper for a Anchor_Child promised by a client call.
func (Anchor_Child_Future) Anchor ¶
func (p Anchor_Child_Future) Anchor() Anchor
func (Anchor_Child_Future) Struct ¶
func (f Anchor_Child_Future) Struct() (Anchor_Child, error)
type Anchor_Child_List ¶
type Anchor_Child_List = capnp.StructList[Anchor_Child]
Anchor_Child_List is a list of Anchor_Child.
func NewAnchor_Child_List ¶
func NewAnchor_Child_List(s *capnp.Segment, sz int32) (Anchor_Child_List, error)
NewAnchor_Child creates a new list of Anchor_Child.
type Anchor_List ¶
Anchor_List is a list of Anchor.
func NewAnchor_List ¶
func NewAnchor_List(s *capnp.Segment, sz int32) (Anchor_List, error)
NewAnchor creates a new list of Anchor.
type Anchor_Loader ¶
func Anchor_Loader_ServerToClient ¶
func Anchor_Loader_ServerToClient(s Anchor_Loader_Server) Anchor_Loader
Anchor_Loader_ServerToClient creates a new Client from an implementation of Anchor_Loader_Server. The caller is responsible for calling Release on the returned Client.
func (Anchor_Loader) AddRef ¶
func (c Anchor_Loader) AddRef() Anchor_Loader
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 (Anchor_Loader) DecodeFromPtr ¶
func (Anchor_Loader) DecodeFromPtr(p capnp.Ptr) Anchor_Loader
func (Anchor_Loader) EncodeAsPtr ¶
func (c Anchor_Loader) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Loader) GetFlowLimiter ¶
func (c Anchor_Loader) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Anchor_Loader) IsSame ¶
func (c Anchor_Loader) IsSame(other Anchor_Loader) 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 (Anchor_Loader) IsValid ¶
func (c Anchor_Loader) 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 (Anchor_Loader) Load ¶
func (c Anchor_Loader) Load(ctx context.Context, params func(Anchor_Loader_load_Params) error) (Anchor_Loader_load_Results_Future, capnp.ReleaseFunc)
func (Anchor_Loader) Release ¶
func (c Anchor_Loader) 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 (Anchor_Loader) Resolve ¶
func (c Anchor_Loader) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Anchor_Loader) SetFlowLimiter ¶
func (c Anchor_Loader) 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 (Anchor_Loader) String ¶
func (c Anchor_Loader) 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 (Anchor_Loader) WaitStreaming ¶
func (c Anchor_Loader) WaitStreaming() error
type Anchor_Loader_List ¶
type Anchor_Loader_List = capnp.CapList[Anchor_Loader]
Anchor_Loader_List is a list of Anchor_Loader.
func NewAnchor_Loader_List ¶
func NewAnchor_Loader_List(s *capnp.Segment, sz int32) (Anchor_Loader_List, error)
NewAnchor_Loader creates a new list of Anchor_Loader.
type Anchor_Loader_Server ¶
type Anchor_Loader_Server interface {
Load(context.Context, Anchor_Loader_load) error
}
A Anchor_Loader_Server is a Anchor_Loader with a local implementation.
type Anchor_Loader_load ¶
Anchor_Loader_load holds the state for a server call to Anchor_Loader.load. See server.Call for documentation.
func (Anchor_Loader_load) AllocResults ¶
func (c Anchor_Loader_load) AllocResults() (Anchor_Loader_load_Results, error)
AllocResults allocates the results struct.
func (Anchor_Loader_load) Args ¶
func (c Anchor_Loader_load) Args() Anchor_Loader_load_Params
Args returns the call's arguments.
type Anchor_Loader_load_Params ¶
func NewAnchor_Loader_load_Params ¶
func NewAnchor_Loader_load_Params(s *capnp.Segment) (Anchor_Loader_load_Params, error)
func NewRootAnchor_Loader_load_Params ¶
func NewRootAnchor_Loader_load_Params(s *capnp.Segment) (Anchor_Loader_load_Params, error)
func ReadRootAnchor_Loader_load_Params ¶
func ReadRootAnchor_Loader_load_Params(msg *capnp.Message) (Anchor_Loader_load_Params, error)
func (Anchor_Loader_load_Params) DecodeFromPtr ¶
func (Anchor_Loader_load_Params) DecodeFromPtr(p capnp.Ptr) Anchor_Loader_load_Params
func (Anchor_Loader_load_Params) EncodeAsPtr ¶
func (s Anchor_Loader_load_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Loader_load_Params) IsValid ¶
func (s Anchor_Loader_load_Params) IsValid() bool
func (Anchor_Loader_load_Params) Message ¶
func (s Anchor_Loader_load_Params) Message() *capnp.Message
func (Anchor_Loader_load_Params) Segment ¶
func (s Anchor_Loader_load_Params) Segment() *capnp.Segment
func (Anchor_Loader_load_Params) String ¶
func (s Anchor_Loader_load_Params) String() string
func (Anchor_Loader_load_Params) ToPtr ¶
func (s Anchor_Loader_load_Params) ToPtr() capnp.Ptr
type Anchor_Loader_load_Params_Future ¶
Anchor_Loader_load_Params_Future is a wrapper for a Anchor_Loader_load_Params promised by a client call.
func (Anchor_Loader_load_Params_Future) Struct ¶
func (f Anchor_Loader_load_Params_Future) Struct() (Anchor_Loader_load_Params, error)
type Anchor_Loader_load_Params_List ¶
type Anchor_Loader_load_Params_List = capnp.StructList[Anchor_Loader_load_Params]
Anchor_Loader_load_Params_List is a list of Anchor_Loader_load_Params.
func NewAnchor_Loader_load_Params_List ¶
func NewAnchor_Loader_load_Params_List(s *capnp.Segment, sz int32) (Anchor_Loader_load_Params_List, error)
NewAnchor_Loader_load_Params creates a new list of Anchor_Loader_load_Params.
type Anchor_Loader_load_Results ¶
func NewAnchor_Loader_load_Results ¶
func NewAnchor_Loader_load_Results(s *capnp.Segment) (Anchor_Loader_load_Results, error)
func NewRootAnchor_Loader_load_Results ¶
func NewRootAnchor_Loader_load_Results(s *capnp.Segment) (Anchor_Loader_load_Results, error)
func ReadRootAnchor_Loader_load_Results ¶
func ReadRootAnchor_Loader_load_Results(msg *capnp.Message) (Anchor_Loader_load_Results, error)
func (Anchor_Loader_load_Results) DecodeFromPtr ¶
func (Anchor_Loader_load_Results) DecodeFromPtr(p capnp.Ptr) Anchor_Loader_load_Results
func (Anchor_Loader_load_Results) EncodeAsPtr ¶
func (s Anchor_Loader_load_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Loader_load_Results) HasValue ¶
func (s Anchor_Loader_load_Results) HasValue() bool
func (Anchor_Loader_load_Results) IsValid ¶
func (s Anchor_Loader_load_Results) IsValid() bool
func (Anchor_Loader_load_Results) Message ¶
func (s Anchor_Loader_load_Results) Message() *capnp.Message
func (Anchor_Loader_load_Results) Segment ¶
func (s Anchor_Loader_load_Results) Segment() *capnp.Segment
func (Anchor_Loader_load_Results) SetValue ¶
func (s Anchor_Loader_load_Results) SetValue(v capnp.Ptr) error
func (Anchor_Loader_load_Results) String ¶
func (s Anchor_Loader_load_Results) String() string
func (Anchor_Loader_load_Results) ToPtr ¶
func (s Anchor_Loader_load_Results) ToPtr() capnp.Ptr
type Anchor_Loader_load_Results_Future ¶
Anchor_Loader_load_Results_Future is a wrapper for a Anchor_Loader_load_Results promised by a client call.
func (Anchor_Loader_load_Results_Future) Struct ¶
func (f Anchor_Loader_load_Results_Future) Struct() (Anchor_Loader_load_Results, error)
func (Anchor_Loader_load_Results_Future) Value ¶
func (p Anchor_Loader_load_Results_Future) Value() *capnp.Future
type Anchor_Loader_load_Results_List ¶
type Anchor_Loader_load_Results_List = capnp.StructList[Anchor_Loader_load_Results]
Anchor_Loader_load_Results_List is a list of Anchor_Loader_load_Results.
func NewAnchor_Loader_load_Results_List ¶
func NewAnchor_Loader_load_Results_List(s *capnp.Segment, sz int32) (Anchor_Loader_load_Results_List, error)
NewAnchor_Loader_load_Results creates a new list of Anchor_Loader_load_Results.
type Anchor_Server ¶
type Anchor_Server interface { Ls(context.Context, Anchor_ls) error Walk(context.Context, Anchor_walk) error Cell(context.Context, Anchor_cell) error }
A Anchor_Server is a Anchor with a local implementation.
type Anchor_Storer ¶
func Anchor_Storer_ServerToClient ¶
func Anchor_Storer_ServerToClient(s Anchor_Storer_Server) Anchor_Storer
Anchor_Storer_ServerToClient creates a new Client from an implementation of Anchor_Storer_Server. The caller is responsible for calling Release on the returned Client.
func (Anchor_Storer) AddRef ¶
func (c Anchor_Storer) AddRef() Anchor_Storer
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 (Anchor_Storer) DecodeFromPtr ¶
func (Anchor_Storer) DecodeFromPtr(p capnp.Ptr) Anchor_Storer
func (Anchor_Storer) EncodeAsPtr ¶
func (c Anchor_Storer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Storer) GetFlowLimiter ¶
func (c Anchor_Storer) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Anchor_Storer) IsSame ¶
func (c Anchor_Storer) IsSame(other Anchor_Storer) 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 (Anchor_Storer) IsValid ¶
func (c Anchor_Storer) 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 (Anchor_Storer) Release ¶
func (c Anchor_Storer) 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 (Anchor_Storer) Resolve ¶
func (c Anchor_Storer) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Anchor_Storer) SetFlowLimiter ¶
func (c Anchor_Storer) 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 (Anchor_Storer) Store ¶
func (c Anchor_Storer) Store(ctx context.Context, params func(Anchor_Storer_store_Params) error) (Anchor_Storer_store_Results_Future, capnp.ReleaseFunc)
func (Anchor_Storer) String ¶
func (c Anchor_Storer) 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 (Anchor_Storer) WaitStreaming ¶
func (c Anchor_Storer) WaitStreaming() error
type Anchor_Storer_List ¶
type Anchor_Storer_List = capnp.CapList[Anchor_Storer]
Anchor_Storer_List is a list of Anchor_Storer.
func NewAnchor_Storer_List ¶
func NewAnchor_Storer_List(s *capnp.Segment, sz int32) (Anchor_Storer_List, error)
NewAnchor_Storer creates a new list of Anchor_Storer.
type Anchor_Storer_Server ¶
type Anchor_Storer_Server interface {
Store(context.Context, Anchor_Storer_store) error
}
A Anchor_Storer_Server is a Anchor_Storer with a local implementation.
type Anchor_Storer_store ¶
Anchor_Storer_store holds the state for a server call to Anchor_Storer.store. See server.Call for documentation.
func (Anchor_Storer_store) AllocResults ¶
func (c Anchor_Storer_store) AllocResults() (Anchor_Storer_store_Results, error)
AllocResults allocates the results struct.
func (Anchor_Storer_store) Args ¶
func (c Anchor_Storer_store) Args() Anchor_Storer_store_Params
Args returns the call's arguments.
type Anchor_Storer_store_Params ¶
func NewAnchor_Storer_store_Params ¶
func NewAnchor_Storer_store_Params(s *capnp.Segment) (Anchor_Storer_store_Params, error)
func NewRootAnchor_Storer_store_Params ¶
func NewRootAnchor_Storer_store_Params(s *capnp.Segment) (Anchor_Storer_store_Params, error)
func ReadRootAnchor_Storer_store_Params ¶
func ReadRootAnchor_Storer_store_Params(msg *capnp.Message) (Anchor_Storer_store_Params, error)
func (Anchor_Storer_store_Params) DecodeFromPtr ¶
func (Anchor_Storer_store_Params) DecodeFromPtr(p capnp.Ptr) Anchor_Storer_store_Params
func (Anchor_Storer_store_Params) EncodeAsPtr ¶
func (s Anchor_Storer_store_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Storer_store_Params) HasValue ¶
func (s Anchor_Storer_store_Params) HasValue() bool
func (Anchor_Storer_store_Params) IsValid ¶
func (s Anchor_Storer_store_Params) IsValid() bool
func (Anchor_Storer_store_Params) Message ¶
func (s Anchor_Storer_store_Params) Message() *capnp.Message
func (Anchor_Storer_store_Params) Overwrite ¶
func (s Anchor_Storer_store_Params) Overwrite() bool
func (Anchor_Storer_store_Params) Segment ¶
func (s Anchor_Storer_store_Params) Segment() *capnp.Segment
func (Anchor_Storer_store_Params) SetOverwrite ¶
func (s Anchor_Storer_store_Params) SetOverwrite(v bool)
func (Anchor_Storer_store_Params) SetValue ¶
func (s Anchor_Storer_store_Params) SetValue(v capnp.Ptr) error
func (Anchor_Storer_store_Params) String ¶
func (s Anchor_Storer_store_Params) String() string
func (Anchor_Storer_store_Params) ToPtr ¶
func (s Anchor_Storer_store_Params) ToPtr() capnp.Ptr
type Anchor_Storer_store_Params_Future ¶
Anchor_Storer_store_Params_Future is a wrapper for a Anchor_Storer_store_Params promised by a client call.
func (Anchor_Storer_store_Params_Future) Struct ¶
func (f Anchor_Storer_store_Params_Future) Struct() (Anchor_Storer_store_Params, error)
func (Anchor_Storer_store_Params_Future) Value ¶
func (p Anchor_Storer_store_Params_Future) Value() *capnp.Future
type Anchor_Storer_store_Params_List ¶
type Anchor_Storer_store_Params_List = capnp.StructList[Anchor_Storer_store_Params]
Anchor_Storer_store_Params_List is a list of Anchor_Storer_store_Params.
func NewAnchor_Storer_store_Params_List ¶
func NewAnchor_Storer_store_Params_List(s *capnp.Segment, sz int32) (Anchor_Storer_store_Params_List, error)
NewAnchor_Storer_store_Params creates a new list of Anchor_Storer_store_Params.
type Anchor_Storer_store_Results ¶
func NewAnchor_Storer_store_Results ¶
func NewAnchor_Storer_store_Results(s *capnp.Segment) (Anchor_Storer_store_Results, error)
func NewRootAnchor_Storer_store_Results ¶
func NewRootAnchor_Storer_store_Results(s *capnp.Segment) (Anchor_Storer_store_Results, error)
func ReadRootAnchor_Storer_store_Results ¶
func ReadRootAnchor_Storer_store_Results(msg *capnp.Message) (Anchor_Storer_store_Results, error)
func (Anchor_Storer_store_Results) DecodeFromPtr ¶
func (Anchor_Storer_store_Results) DecodeFromPtr(p capnp.Ptr) Anchor_Storer_store_Results
func (Anchor_Storer_store_Results) EncodeAsPtr ¶
func (s Anchor_Storer_store_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_Storer_store_Results) IsValid ¶
func (s Anchor_Storer_store_Results) IsValid() bool
func (Anchor_Storer_store_Results) Message ¶
func (s Anchor_Storer_store_Results) Message() *capnp.Message
func (Anchor_Storer_store_Results) Segment ¶
func (s Anchor_Storer_store_Results) Segment() *capnp.Segment
func (Anchor_Storer_store_Results) SetSucceeded ¶
func (s Anchor_Storer_store_Results) SetSucceeded(v bool)
func (Anchor_Storer_store_Results) String ¶
func (s Anchor_Storer_store_Results) String() string
func (Anchor_Storer_store_Results) Succeeded ¶
func (s Anchor_Storer_store_Results) Succeeded() bool
func (Anchor_Storer_store_Results) ToPtr ¶
func (s Anchor_Storer_store_Results) ToPtr() capnp.Ptr
type Anchor_Storer_store_Results_Future ¶
Anchor_Storer_store_Results_Future is a wrapper for a Anchor_Storer_store_Results promised by a client call.
func (Anchor_Storer_store_Results_Future) Struct ¶
func (f Anchor_Storer_store_Results_Future) Struct() (Anchor_Storer_store_Results, error)
type Anchor_Storer_store_Results_List ¶
type Anchor_Storer_store_Results_List = capnp.StructList[Anchor_Storer_store_Results]
Anchor_Storer_store_Results_List is a list of Anchor_Storer_store_Results.
func NewAnchor_Storer_store_Results_List ¶
func NewAnchor_Storer_store_Results_List(s *capnp.Segment, sz int32) (Anchor_Storer_store_Results_List, error)
NewAnchor_Storer_store_Results creates a new list of Anchor_Storer_store_Results.
type Anchor_cell ¶
Anchor_cell holds the state for a server call to Anchor.cell. See server.Call for documentation.
func (Anchor_cell) AllocResults ¶
func (c Anchor_cell) AllocResults() (Anchor_cell_Results, error)
AllocResults allocates the results struct.
func (Anchor_cell) Args ¶
func (c Anchor_cell) Args() Anchor_cell_Params
Args returns the call's arguments.
type Anchor_cell_Params ¶
func NewAnchor_cell_Params ¶
func NewAnchor_cell_Params(s *capnp.Segment) (Anchor_cell_Params, error)
func NewRootAnchor_cell_Params ¶
func NewRootAnchor_cell_Params(s *capnp.Segment) (Anchor_cell_Params, error)
func ReadRootAnchor_cell_Params ¶
func ReadRootAnchor_cell_Params(msg *capnp.Message) (Anchor_cell_Params, error)
func (Anchor_cell_Params) DecodeFromPtr ¶
func (Anchor_cell_Params) DecodeFromPtr(p capnp.Ptr) Anchor_cell_Params
func (Anchor_cell_Params) EncodeAsPtr ¶
func (s Anchor_cell_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_cell_Params) IsValid ¶
func (s Anchor_cell_Params) IsValid() bool
func (Anchor_cell_Params) Message ¶
func (s Anchor_cell_Params) Message() *capnp.Message
func (Anchor_cell_Params) Segment ¶
func (s Anchor_cell_Params) Segment() *capnp.Segment
func (Anchor_cell_Params) String ¶
func (s Anchor_cell_Params) String() string
func (Anchor_cell_Params) ToPtr ¶
func (s Anchor_cell_Params) ToPtr() capnp.Ptr
type Anchor_cell_Params_Future ¶
Anchor_cell_Params_Future is a wrapper for a Anchor_cell_Params promised by a client call.
func (Anchor_cell_Params_Future) Struct ¶
func (f Anchor_cell_Params_Future) Struct() (Anchor_cell_Params, error)
type Anchor_cell_Params_List ¶
type Anchor_cell_Params_List = capnp.StructList[Anchor_cell_Params]
Anchor_cell_Params_List is a list of Anchor_cell_Params.
func NewAnchor_cell_Params_List ¶
func NewAnchor_cell_Params_List(s *capnp.Segment, sz int32) (Anchor_cell_Params_List, error)
NewAnchor_cell_Params creates a new list of Anchor_cell_Params.
type Anchor_cell_Results ¶
func NewAnchor_cell_Results ¶
func NewAnchor_cell_Results(s *capnp.Segment) (Anchor_cell_Results, error)
func NewRootAnchor_cell_Results ¶
func NewRootAnchor_cell_Results(s *capnp.Segment) (Anchor_cell_Results, error)
func ReadRootAnchor_cell_Results ¶
func ReadRootAnchor_cell_Results(msg *capnp.Message) (Anchor_cell_Results, error)
func (Anchor_cell_Results) DecodeFromPtr ¶
func (Anchor_cell_Results) DecodeFromPtr(p capnp.Ptr) Anchor_cell_Results
func (Anchor_cell_Results) EncodeAsPtr ¶
func (s Anchor_cell_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_cell_Results) HasLoader ¶
func (s Anchor_cell_Results) HasLoader() bool
func (Anchor_cell_Results) HasStorer ¶
func (s Anchor_cell_Results) HasStorer() bool
func (Anchor_cell_Results) IsValid ¶
func (s Anchor_cell_Results) IsValid() bool
func (Anchor_cell_Results) Loader ¶
func (s Anchor_cell_Results) Loader() Anchor_Loader
func (Anchor_cell_Results) Message ¶
func (s Anchor_cell_Results) Message() *capnp.Message
func (Anchor_cell_Results) Segment ¶
func (s Anchor_cell_Results) Segment() *capnp.Segment
func (Anchor_cell_Results) SetLoader ¶
func (s Anchor_cell_Results) SetLoader(v Anchor_Loader) error
func (Anchor_cell_Results) SetStorer ¶
func (s Anchor_cell_Results) SetStorer(v Anchor_Storer) error
func (Anchor_cell_Results) Storer ¶
func (s Anchor_cell_Results) Storer() Anchor_Storer
func (Anchor_cell_Results) String ¶
func (s Anchor_cell_Results) String() string
func (Anchor_cell_Results) ToPtr ¶
func (s Anchor_cell_Results) ToPtr() capnp.Ptr
type Anchor_cell_Results_Future ¶
Anchor_cell_Results_Future is a wrapper for a Anchor_cell_Results promised by a client call.
func (Anchor_cell_Results_Future) Loader ¶
func (p Anchor_cell_Results_Future) Loader() Anchor_Loader
func (Anchor_cell_Results_Future) Storer ¶
func (p Anchor_cell_Results_Future) Storer() Anchor_Storer
func (Anchor_cell_Results_Future) Struct ¶
func (f Anchor_cell_Results_Future) Struct() (Anchor_cell_Results, error)
type Anchor_cell_Results_List ¶
type Anchor_cell_Results_List = capnp.StructList[Anchor_cell_Results]
Anchor_cell_Results_List is a list of Anchor_cell_Results.
func NewAnchor_cell_Results_List ¶
func NewAnchor_cell_Results_List(s *capnp.Segment, sz int32) (Anchor_cell_Results_List, error)
NewAnchor_cell_Results creates a new list of Anchor_cell_Results.
type Anchor_ls ¶
Anchor_ls holds the state for a server call to Anchor.ls. See server.Call for documentation.
func (Anchor_ls) AllocResults ¶
func (c Anchor_ls) AllocResults() (Anchor_ls_Results, error)
AllocResults allocates the results struct.
func (Anchor_ls) Args ¶
func (c Anchor_ls) Args() Anchor_ls_Params
Args returns the call's arguments.
type Anchor_ls_Params ¶
func NewAnchor_ls_Params ¶
func NewAnchor_ls_Params(s *capnp.Segment) (Anchor_ls_Params, error)
func NewRootAnchor_ls_Params ¶
func NewRootAnchor_ls_Params(s *capnp.Segment) (Anchor_ls_Params, error)
func ReadRootAnchor_ls_Params ¶
func ReadRootAnchor_ls_Params(msg *capnp.Message) (Anchor_ls_Params, error)
func (Anchor_ls_Params) DecodeFromPtr ¶
func (Anchor_ls_Params) DecodeFromPtr(p capnp.Ptr) Anchor_ls_Params
func (Anchor_ls_Params) EncodeAsPtr ¶
func (s Anchor_ls_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_ls_Params) IsValid ¶
func (s Anchor_ls_Params) IsValid() bool
func (Anchor_ls_Params) Message ¶
func (s Anchor_ls_Params) Message() *capnp.Message
func (Anchor_ls_Params) Segment ¶
func (s Anchor_ls_Params) Segment() *capnp.Segment
func (Anchor_ls_Params) String ¶
func (s Anchor_ls_Params) String() string
func (Anchor_ls_Params) ToPtr ¶
func (s Anchor_ls_Params) ToPtr() capnp.Ptr
type Anchor_ls_Params_Future ¶
Anchor_ls_Params_Future is a wrapper for a Anchor_ls_Params promised by a client call.
func (Anchor_ls_Params_Future) Struct ¶
func (f Anchor_ls_Params_Future) Struct() (Anchor_ls_Params, error)
type Anchor_ls_Params_List ¶
type Anchor_ls_Params_List = capnp.StructList[Anchor_ls_Params]
Anchor_ls_Params_List is a list of Anchor_ls_Params.
func NewAnchor_ls_Params_List ¶
func NewAnchor_ls_Params_List(s *capnp.Segment, sz int32) (Anchor_ls_Params_List, error)
NewAnchor_ls_Params creates a new list of Anchor_ls_Params.
type Anchor_ls_Results ¶
func NewAnchor_ls_Results ¶
func NewAnchor_ls_Results(s *capnp.Segment) (Anchor_ls_Results, error)
func NewRootAnchor_ls_Results ¶
func NewRootAnchor_ls_Results(s *capnp.Segment) (Anchor_ls_Results, error)
func ReadRootAnchor_ls_Results ¶
func ReadRootAnchor_ls_Results(msg *capnp.Message) (Anchor_ls_Results, error)
func (Anchor_ls_Results) Children ¶
func (s Anchor_ls_Results) Children() (Anchor_Child_List, error)
func (Anchor_ls_Results) DecodeFromPtr ¶
func (Anchor_ls_Results) DecodeFromPtr(p capnp.Ptr) Anchor_ls_Results
func (Anchor_ls_Results) EncodeAsPtr ¶
func (s Anchor_ls_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_ls_Results) HasChildren ¶
func (s Anchor_ls_Results) HasChildren() bool
func (Anchor_ls_Results) IsValid ¶
func (s Anchor_ls_Results) IsValid() bool
func (Anchor_ls_Results) Message ¶
func (s Anchor_ls_Results) Message() *capnp.Message
func (Anchor_ls_Results) NewChildren ¶
func (s Anchor_ls_Results) NewChildren(n int32) (Anchor_Child_List, error)
NewChildren sets the children field to a newly allocated Anchor_Child_List, preferring placement in s's segment.
func (Anchor_ls_Results) Segment ¶
func (s Anchor_ls_Results) Segment() *capnp.Segment
func (Anchor_ls_Results) SetChildren ¶
func (s Anchor_ls_Results) SetChildren(v Anchor_Child_List) error
func (Anchor_ls_Results) String ¶
func (s Anchor_ls_Results) String() string
func (Anchor_ls_Results) ToPtr ¶
func (s Anchor_ls_Results) ToPtr() capnp.Ptr
type Anchor_ls_Results_Future ¶
Anchor_ls_Results_Future is a wrapper for a Anchor_ls_Results promised by a client call.
func (Anchor_ls_Results_Future) Struct ¶
func (f Anchor_ls_Results_Future) Struct() (Anchor_ls_Results, error)
type Anchor_ls_Results_List ¶
type Anchor_ls_Results_List = capnp.StructList[Anchor_ls_Results]
Anchor_ls_Results_List is a list of Anchor_ls_Results.
func NewAnchor_ls_Results_List ¶
func NewAnchor_ls_Results_List(s *capnp.Segment, sz int32) (Anchor_ls_Results_List, error)
NewAnchor_ls_Results creates a new list of Anchor_ls_Results.
type Anchor_walk ¶
Anchor_walk holds the state for a server call to Anchor.walk. See server.Call for documentation.
func (Anchor_walk) AllocResults ¶
func (c Anchor_walk) AllocResults() (Anchor_walk_Results, error)
AllocResults allocates the results struct.
func (Anchor_walk) Args ¶
func (c Anchor_walk) Args() Anchor_walk_Params
Args returns the call's arguments.
type Anchor_walk_Params ¶
func NewAnchor_walk_Params ¶
func NewAnchor_walk_Params(s *capnp.Segment) (Anchor_walk_Params, error)
func NewRootAnchor_walk_Params ¶
func NewRootAnchor_walk_Params(s *capnp.Segment) (Anchor_walk_Params, error)
func ReadRootAnchor_walk_Params ¶
func ReadRootAnchor_walk_Params(msg *capnp.Message) (Anchor_walk_Params, error)
func (Anchor_walk_Params) DecodeFromPtr ¶
func (Anchor_walk_Params) DecodeFromPtr(p capnp.Ptr) Anchor_walk_Params
func (Anchor_walk_Params) EncodeAsPtr ¶
func (s Anchor_walk_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_walk_Params) HasPath ¶
func (s Anchor_walk_Params) HasPath() bool
func (Anchor_walk_Params) IsValid ¶
func (s Anchor_walk_Params) IsValid() bool
func (Anchor_walk_Params) Message ¶
func (s Anchor_walk_Params) Message() *capnp.Message
func (Anchor_walk_Params) Path ¶
func (s Anchor_walk_Params) Path() (string, error)
func (Anchor_walk_Params) PathBytes ¶
func (s Anchor_walk_Params) PathBytes() ([]byte, error)
func (Anchor_walk_Params) Segment ¶
func (s Anchor_walk_Params) Segment() *capnp.Segment
func (Anchor_walk_Params) SetPath ¶
func (s Anchor_walk_Params) SetPath(v string) error
func (Anchor_walk_Params) String ¶
func (s Anchor_walk_Params) String() string
func (Anchor_walk_Params) ToPtr ¶
func (s Anchor_walk_Params) ToPtr() capnp.Ptr
type Anchor_walk_Params_Future ¶
Anchor_walk_Params_Future is a wrapper for a Anchor_walk_Params promised by a client call.
func (Anchor_walk_Params_Future) Struct ¶
func (f Anchor_walk_Params_Future) Struct() (Anchor_walk_Params, error)
type Anchor_walk_Params_List ¶
type Anchor_walk_Params_List = capnp.StructList[Anchor_walk_Params]
Anchor_walk_Params_List is a list of Anchor_walk_Params.
func NewAnchor_walk_Params_List ¶
func NewAnchor_walk_Params_List(s *capnp.Segment, sz int32) (Anchor_walk_Params_List, error)
NewAnchor_walk_Params creates a new list of Anchor_walk_Params.
type Anchor_walk_Results ¶
func NewAnchor_walk_Results ¶
func NewAnchor_walk_Results(s *capnp.Segment) (Anchor_walk_Results, error)
func NewRootAnchor_walk_Results ¶
func NewRootAnchor_walk_Results(s *capnp.Segment) (Anchor_walk_Results, error)
func ReadRootAnchor_walk_Results ¶
func ReadRootAnchor_walk_Results(msg *capnp.Message) (Anchor_walk_Results, error)
func (Anchor_walk_Results) Anchor ¶
func (s Anchor_walk_Results) Anchor() Anchor
func (Anchor_walk_Results) DecodeFromPtr ¶
func (Anchor_walk_Results) DecodeFromPtr(p capnp.Ptr) Anchor_walk_Results
func (Anchor_walk_Results) EncodeAsPtr ¶
func (s Anchor_walk_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Anchor_walk_Results) HasAnchor ¶
func (s Anchor_walk_Results) HasAnchor() bool
func (Anchor_walk_Results) IsValid ¶
func (s Anchor_walk_Results) IsValid() bool
func (Anchor_walk_Results) Message ¶
func (s Anchor_walk_Results) Message() *capnp.Message
func (Anchor_walk_Results) Segment ¶
func (s Anchor_walk_Results) Segment() *capnp.Segment
func (Anchor_walk_Results) SetAnchor ¶
func (s Anchor_walk_Results) SetAnchor(v Anchor) error
func (Anchor_walk_Results) String ¶
func (s Anchor_walk_Results) String() string
func (Anchor_walk_Results) ToPtr ¶
func (s Anchor_walk_Results) ToPtr() capnp.Ptr
type Anchor_walk_Results_Future ¶
Anchor_walk_Results_Future is a wrapper for a Anchor_walk_Results promised by a client call.
func (Anchor_walk_Results_Future) Anchor ¶
func (p Anchor_walk_Results_Future) Anchor() Anchor
func (Anchor_walk_Results_Future) Struct ¶
func (f Anchor_walk_Results_Future) Struct() (Anchor_walk_Results, error)
type Anchor_walk_Results_List ¶
type Anchor_walk_Results_List = capnp.StructList[Anchor_walk_Results]
Anchor_walk_Results_List is a list of Anchor_walk_Results.
func NewAnchor_walk_Results_List ¶
func NewAnchor_walk_Results_List(s *capnp.Segment, sz int32) (Anchor_walk_Results_List, error)
NewAnchor_walk_Results creates a new list of Anchor_walk_Results.