service

package module
v0.0.0-...-7d73fae Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MPL-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const Admin_TypeID = 0xfec1f88b198df649

Admin_TypeID is the unique identifier for the type Admin.

View Source
const Admin_heartbeat_Params_TypeID = 0xd627f31bdae7f234

Admin_heartbeat_Params_TypeID is the unique identifier for the type Admin_heartbeat_Params.

View Source
const Admin_heartbeat_Results_TypeID = 0xe01c2290ae549759

Admin_heartbeat_Results_TypeID is the unique identifier for the type Admin_heartbeat_Results.

View Source
const Admin_identities_Params_TypeID = 0xff4271628d295896

Admin_identities_Params_TypeID is the unique identifier for the type Admin_identities_Params.

View Source
const Admin_identities_Results_TypeID = 0xf5423d8578dbb398

Admin_identities_Results_TypeID is the unique identifier for the type Admin_identities_Results.

View Source
const Admin_setTimeout_Params_TypeID = 0x9abf358a691110fd

Admin_setTimeout_Params_TypeID is the unique identifier for the type Admin_setTimeout_Params.

View Source
const Admin_setTimeout_Results_TypeID = 0xd6fd194a1ac74bc1

Admin_setTimeout_Results_TypeID is the unique identifier for the type Admin_setTimeout_Results.

View Source
const Admin_stop_Params_TypeID = 0xddc3d3cd37ef5b78

Admin_stop_Params_TypeID is the unique identifier for the type Admin_stop_Params.

View Source
const Admin_stop_Results_TypeID = 0xce2a1a063e759787

Admin_stop_Results_TypeID is the unique identifier for the type Admin_stop_Results.

View Source
const Admin_updateIdentity_Params_TypeID = 0xdc8472f9b668ba83

Admin_updateIdentity_Params_TypeID is the unique identifier for the type Admin_updateIdentity_Params.

View Source
const Admin_updateIdentity_Results_TypeID = 0xb15e79db08e2ab2c

Admin_updateIdentity_Results_TypeID is the unique identifier for the type Admin_updateIdentity_Results.

View Source
const Factory_AccessInfo_TypeID = 0xb9816a53df7cb62e

Factory_AccessInfo_TypeID is the unique identifier for the type Factory_AccessInfo.

View Source
const Factory_CreateParams_TypeID = 0xc2b88517ccaa9197

Factory_CreateParams_TypeID is the unique identifier for the type Factory_CreateParams.

View Source
const Factory_TypeID = 0x8ab0ecb99c269c7f

Factory_TypeID is the unique identifier for the type Factory.

View Source
const Factory_serviceInterfaceNames_Params_TypeID = 0xd4d567352ab3882a

Factory_serviceInterfaceNames_Params_TypeID is the unique identifier for the type Factory_serviceInterfaceNames_Params.

View Source
const Factory_serviceInterfaceNames_Results_TypeID = 0xa962c127b5dccf05

Factory_serviceInterfaceNames_Results_TypeID is the unique identifier for the type Factory_serviceInterfaceNames_Results.

View Source
const SimpleFactory_TypeID = 0xaba5829222c213cb

SimpleFactory_TypeID is the unique identifier for the type SimpleFactory.

View Source
const SimpleFactory_create_Params_TypeID = 0xa8296fdc60dcb6dd

SimpleFactory_create_Params_TypeID is the unique identifier for the type SimpleFactory_create_Params.

View Source
const SimpleFactory_create_Results_TypeID = 0x89a33828e0de1eaa

SimpleFactory_create_Results_TypeID is the unique identifier for the type SimpleFactory_create_Results.

View Source
const Stopable_TypeID = 0xe9d1be2a6e9016e5

Stopable_TypeID is the unique identifier for the type Stopable.

View Source
const Stopable_stop_Params_TypeID = 0xd2e4f20669b7b705

Stopable_stop_Params_TypeID is the unique identifier for the type Stopable_stop_Params.

View Source
const Stopable_stop_Results_TypeID = 0x96368058e2cef1ac

Stopable_stop_Results_TypeID is the unique identifier for the type Stopable_stop_Results.

Variables

This section is empty.

Functions

func Admin_Methods

func Admin_Methods(methods []server.Method, s Admin_Server) []server.Method

Admin_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Admin_NewServer

func Admin_NewServer(s Admin_Server) *server.Server

Admin_NewServer creates a new Server from an implementation of Admin_Server.

func Factory_Methods

func Factory_Methods(methods []server.Method, s Factory_Server) []server.Method

Factory_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Factory_NewServer

func Factory_NewServer(s Factory_Server) *server.Server

Factory_NewServer creates a new Server from an implementation of Factory_Server.

func RegisterSchema

func RegisterSchema(reg *schemas.Registry)

func SimpleFactory_Methods

func SimpleFactory_Methods(methods []server.Method, s SimpleFactory_Server) []server.Method

SimpleFactory_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func SimpleFactory_NewServer

func SimpleFactory_NewServer(s SimpleFactory_Server) *server.Server

SimpleFactory_NewServer creates a new Server from an implementation of SimpleFactory_Server.

func Stopable_Methods

func Stopable_Methods(methods []server.Method, s Stopable_Server) []server.Method

Stopable_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Stopable_NewServer

func Stopable_NewServer(s Stopable_Server) *server.Server

Stopable_NewServer creates a new Server from an implementation of Stopable_Server.

Types

type Admin

type Admin capnp.Client

func Admin_ServerToClient

func Admin_ServerToClient(s Admin_Server) Admin

Admin_ServerToClient creates a new Client from an implementation of Admin_Server. The caller is responsible for calling Release on the returned Client.

func (Admin) AddRef

func (c Admin) AddRef() Admin

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

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

func (Admin) EncodeAsPtr

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

func (Admin) GetFlowLimiter

func (c Admin) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Admin) IsSame

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

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

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

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

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

func (Admin) SetFlowLimiter

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

func (Admin) String

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

func (c Admin) WaitStreaming() error

type Admin_List

type Admin_List = capnp.CapList[Admin]

Admin_List is a list of Admin.

func NewAdmin_List

func NewAdmin_List(s *capnp.Segment, sz int32) (Admin_List, error)

NewAdmin creates a new list of Admin.

type Admin_Server

A Admin_Server is a Admin with a local implementation.

type Admin_heartbeat

type Admin_heartbeat struct {
	*server.Call
}

Admin_heartbeat holds the state for a server call to Admin.heartbeat. See server.Call for documentation.

func (Admin_heartbeat) AllocResults

func (c Admin_heartbeat) AllocResults() (Admin_heartbeat_Results, error)

AllocResults allocates the results struct.

func (Admin_heartbeat) Args

Args returns the call's arguments.

type Admin_heartbeat_Params

type Admin_heartbeat_Params capnp.Struct

func NewAdmin_heartbeat_Params

func NewAdmin_heartbeat_Params(s *capnp.Segment) (Admin_heartbeat_Params, error)

func NewRootAdmin_heartbeat_Params

func NewRootAdmin_heartbeat_Params(s *capnp.Segment) (Admin_heartbeat_Params, error)

func ReadRootAdmin_heartbeat_Params

func ReadRootAdmin_heartbeat_Params(msg *capnp.Message) (Admin_heartbeat_Params, error)

func (Admin_heartbeat_Params) DecodeFromPtr

func (Admin_heartbeat_Params) EncodeAsPtr

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

func (Admin_heartbeat_Params) IsValid

func (s Admin_heartbeat_Params) IsValid() bool

func (Admin_heartbeat_Params) Message

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

func (Admin_heartbeat_Params) Segment

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

func (Admin_heartbeat_Params) String

func (s Admin_heartbeat_Params) String() string

func (Admin_heartbeat_Params) ToPtr

func (s Admin_heartbeat_Params) ToPtr() capnp.Ptr

type Admin_heartbeat_Params_Future

type Admin_heartbeat_Params_Future struct{ *capnp.Future }

Admin_heartbeat_Params_Future is a wrapper for a Admin_heartbeat_Params promised by a client call.

func (Admin_heartbeat_Params_Future) Struct

type Admin_heartbeat_Params_List

type Admin_heartbeat_Params_List = capnp.StructList[Admin_heartbeat_Params]

Admin_heartbeat_Params_List is a list of Admin_heartbeat_Params.

func NewAdmin_heartbeat_Params_List

func NewAdmin_heartbeat_Params_List(s *capnp.Segment, sz int32) (Admin_heartbeat_Params_List, error)

NewAdmin_heartbeat_Params creates a new list of Admin_heartbeat_Params.

type Admin_heartbeat_Results

type Admin_heartbeat_Results capnp.Struct

func NewAdmin_heartbeat_Results

func NewAdmin_heartbeat_Results(s *capnp.Segment) (Admin_heartbeat_Results, error)

func NewRootAdmin_heartbeat_Results

func NewRootAdmin_heartbeat_Results(s *capnp.Segment) (Admin_heartbeat_Results, error)

func ReadRootAdmin_heartbeat_Results

func ReadRootAdmin_heartbeat_Results(msg *capnp.Message) (Admin_heartbeat_Results, error)

func (Admin_heartbeat_Results) DecodeFromPtr

func (Admin_heartbeat_Results) EncodeAsPtr

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

func (Admin_heartbeat_Results) IsValid

func (s Admin_heartbeat_Results) IsValid() bool

func (Admin_heartbeat_Results) Message

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

func (Admin_heartbeat_Results) Segment

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

func (Admin_heartbeat_Results) String

func (s Admin_heartbeat_Results) String() string

func (Admin_heartbeat_Results) ToPtr

func (s Admin_heartbeat_Results) ToPtr() capnp.Ptr

type Admin_heartbeat_Results_Future

type Admin_heartbeat_Results_Future struct{ *capnp.Future }

Admin_heartbeat_Results_Future is a wrapper for a Admin_heartbeat_Results promised by a client call.

func (Admin_heartbeat_Results_Future) Struct

type Admin_heartbeat_Results_List

type Admin_heartbeat_Results_List = capnp.StructList[Admin_heartbeat_Results]

Admin_heartbeat_Results_List is a list of Admin_heartbeat_Results.

func NewAdmin_heartbeat_Results_List

func NewAdmin_heartbeat_Results_List(s *capnp.Segment, sz int32) (Admin_heartbeat_Results_List, error)

NewAdmin_heartbeat_Results creates a new list of Admin_heartbeat_Results.

type Admin_identities

type Admin_identities struct {
	*server.Call
}

Admin_identities holds the state for a server call to Admin.identities. See server.Call for documentation.

func (Admin_identities) AllocResults

func (c Admin_identities) AllocResults() (Admin_identities_Results, error)

AllocResults allocates the results struct.

func (Admin_identities) Args

Args returns the call's arguments.

type Admin_identities_Params

type Admin_identities_Params capnp.Struct

func NewAdmin_identities_Params

func NewAdmin_identities_Params(s *capnp.Segment) (Admin_identities_Params, error)

func NewRootAdmin_identities_Params

func NewRootAdmin_identities_Params(s *capnp.Segment) (Admin_identities_Params, error)

func ReadRootAdmin_identities_Params

func ReadRootAdmin_identities_Params(msg *capnp.Message) (Admin_identities_Params, error)

func (Admin_identities_Params) DecodeFromPtr

func (Admin_identities_Params) EncodeAsPtr

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

func (Admin_identities_Params) IsValid

func (s Admin_identities_Params) IsValid() bool

func (Admin_identities_Params) Message

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

func (Admin_identities_Params) Segment

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

func (Admin_identities_Params) String

func (s Admin_identities_Params) String() string

func (Admin_identities_Params) ToPtr

func (s Admin_identities_Params) ToPtr() capnp.Ptr

type Admin_identities_Params_Future

type Admin_identities_Params_Future struct{ *capnp.Future }

Admin_identities_Params_Future is a wrapper for a Admin_identities_Params promised by a client call.

func (Admin_identities_Params_Future) Struct

type Admin_identities_Params_List

type Admin_identities_Params_List = capnp.StructList[Admin_identities_Params]

Admin_identities_Params_List is a list of Admin_identities_Params.

func NewAdmin_identities_Params_List

func NewAdmin_identities_Params_List(s *capnp.Segment, sz int32) (Admin_identities_Params_List, error)

NewAdmin_identities_Params creates a new list of Admin_identities_Params.

type Admin_identities_Results

type Admin_identities_Results capnp.Struct

func NewAdmin_identities_Results

func NewAdmin_identities_Results(s *capnp.Segment) (Admin_identities_Results, error)

func NewRootAdmin_identities_Results

func NewRootAdmin_identities_Results(s *capnp.Segment) (Admin_identities_Results, error)

func ReadRootAdmin_identities_Results

func ReadRootAdmin_identities_Results(msg *capnp.Message) (Admin_identities_Results, error)

func (Admin_identities_Results) DecodeFromPtr

func (Admin_identities_Results) EncodeAsPtr

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

func (Admin_identities_Results) HasInfos

func (s Admin_identities_Results) HasInfos() bool

func (Admin_identities_Results) Infos

func (Admin_identities_Results) IsValid

func (s Admin_identities_Results) IsValid() bool

func (Admin_identities_Results) Message

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

func (Admin_identities_Results) NewInfos

NewInfos sets the infos field to a newly allocated common.IdInformation_List, preferring placement in s's segment.

func (Admin_identities_Results) Segment

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

func (Admin_identities_Results) SetInfos

func (Admin_identities_Results) String

func (s Admin_identities_Results) String() string

func (Admin_identities_Results) ToPtr

type Admin_identities_Results_Future

type Admin_identities_Results_Future struct{ *capnp.Future }

Admin_identities_Results_Future is a wrapper for a Admin_identities_Results promised by a client call.

func (Admin_identities_Results_Future) Struct

type Admin_identities_Results_List

type Admin_identities_Results_List = capnp.StructList[Admin_identities_Results]

Admin_identities_Results_List is a list of Admin_identities_Results.

func NewAdmin_identities_Results_List

func NewAdmin_identities_Results_List(s *capnp.Segment, sz int32) (Admin_identities_Results_List, error)

NewAdmin_identities_Results creates a new list of Admin_identities_Results.

type Admin_setTimeout

type Admin_setTimeout struct {
	*server.Call
}

Admin_setTimeout holds the state for a server call to Admin.setTimeout. See server.Call for documentation.

func (Admin_setTimeout) AllocResults

func (c Admin_setTimeout) AllocResults() (Admin_setTimeout_Results, error)

AllocResults allocates the results struct.

func (Admin_setTimeout) Args

Args returns the call's arguments.

type Admin_setTimeout_Params

type Admin_setTimeout_Params capnp.Struct

func NewAdmin_setTimeout_Params

func NewAdmin_setTimeout_Params(s *capnp.Segment) (Admin_setTimeout_Params, error)

func NewRootAdmin_setTimeout_Params

func NewRootAdmin_setTimeout_Params(s *capnp.Segment) (Admin_setTimeout_Params, error)

func ReadRootAdmin_setTimeout_Params

func ReadRootAdmin_setTimeout_Params(msg *capnp.Message) (Admin_setTimeout_Params, error)

func (Admin_setTimeout_Params) DecodeFromPtr

func (Admin_setTimeout_Params) EncodeAsPtr

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

func (Admin_setTimeout_Params) IsValid

func (s Admin_setTimeout_Params) IsValid() bool

func (Admin_setTimeout_Params) Message

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

func (Admin_setTimeout_Params) Seconds

func (s Admin_setTimeout_Params) Seconds() uint64

func (Admin_setTimeout_Params) Segment

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

func (Admin_setTimeout_Params) SetSeconds

func (s Admin_setTimeout_Params) SetSeconds(v uint64)

func (Admin_setTimeout_Params) String

func (s Admin_setTimeout_Params) String() string

func (Admin_setTimeout_Params) ToPtr

func (s Admin_setTimeout_Params) ToPtr() capnp.Ptr

type Admin_setTimeout_Params_Future

type Admin_setTimeout_Params_Future struct{ *capnp.Future }

Admin_setTimeout_Params_Future is a wrapper for a Admin_setTimeout_Params promised by a client call.

func (Admin_setTimeout_Params_Future) Struct

type Admin_setTimeout_Params_List

type Admin_setTimeout_Params_List = capnp.StructList[Admin_setTimeout_Params]

Admin_setTimeout_Params_List is a list of Admin_setTimeout_Params.

func NewAdmin_setTimeout_Params_List

func NewAdmin_setTimeout_Params_List(s *capnp.Segment, sz int32) (Admin_setTimeout_Params_List, error)

NewAdmin_setTimeout_Params creates a new list of Admin_setTimeout_Params.

type Admin_setTimeout_Results

type Admin_setTimeout_Results capnp.Struct

func NewAdmin_setTimeout_Results

func NewAdmin_setTimeout_Results(s *capnp.Segment) (Admin_setTimeout_Results, error)

func NewRootAdmin_setTimeout_Results

func NewRootAdmin_setTimeout_Results(s *capnp.Segment) (Admin_setTimeout_Results, error)

func ReadRootAdmin_setTimeout_Results

func ReadRootAdmin_setTimeout_Results(msg *capnp.Message) (Admin_setTimeout_Results, error)

func (Admin_setTimeout_Results) DecodeFromPtr

func (Admin_setTimeout_Results) EncodeAsPtr

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

func (Admin_setTimeout_Results) IsValid

func (s Admin_setTimeout_Results) IsValid() bool

func (Admin_setTimeout_Results) Message

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

func (Admin_setTimeout_Results) Segment

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

func (Admin_setTimeout_Results) String

func (s Admin_setTimeout_Results) String() string

func (Admin_setTimeout_Results) ToPtr

type Admin_setTimeout_Results_Future

type Admin_setTimeout_Results_Future struct{ *capnp.Future }

Admin_setTimeout_Results_Future is a wrapper for a Admin_setTimeout_Results promised by a client call.

func (Admin_setTimeout_Results_Future) Struct

type Admin_setTimeout_Results_List

type Admin_setTimeout_Results_List = capnp.StructList[Admin_setTimeout_Results]

Admin_setTimeout_Results_List is a list of Admin_setTimeout_Results.

func NewAdmin_setTimeout_Results_List

func NewAdmin_setTimeout_Results_List(s *capnp.Segment, sz int32) (Admin_setTimeout_Results_List, error)

NewAdmin_setTimeout_Results creates a new list of Admin_setTimeout_Results.

type Admin_stop

type Admin_stop struct {
	*server.Call
}

Admin_stop holds the state for a server call to Admin.stop. See server.Call for documentation.

func (Admin_stop) AllocResults

func (c Admin_stop) AllocResults() (Admin_stop_Results, error)

AllocResults allocates the results struct.

func (Admin_stop) Args

func (c Admin_stop) Args() Admin_stop_Params

Args returns the call's arguments.

type Admin_stop_Params

type Admin_stop_Params capnp.Struct

func NewAdmin_stop_Params

func NewAdmin_stop_Params(s *capnp.Segment) (Admin_stop_Params, error)

func NewRootAdmin_stop_Params

func NewRootAdmin_stop_Params(s *capnp.Segment) (Admin_stop_Params, error)

func ReadRootAdmin_stop_Params

func ReadRootAdmin_stop_Params(msg *capnp.Message) (Admin_stop_Params, error)

func (Admin_stop_Params) DecodeFromPtr

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

func (Admin_stop_Params) EncodeAsPtr

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

func (Admin_stop_Params) IsValid

func (s Admin_stop_Params) IsValid() bool

func (Admin_stop_Params) Message

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

func (Admin_stop_Params) Segment

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

func (Admin_stop_Params) String

func (s Admin_stop_Params) String() string

func (Admin_stop_Params) ToPtr

func (s Admin_stop_Params) ToPtr() capnp.Ptr

type Admin_stop_Params_Future

type Admin_stop_Params_Future struct{ *capnp.Future }

Admin_stop_Params_Future is a wrapper for a Admin_stop_Params promised by a client call.

func (Admin_stop_Params_Future) Struct

type Admin_stop_Params_List

type Admin_stop_Params_List = capnp.StructList[Admin_stop_Params]

Admin_stop_Params_List is a list of Admin_stop_Params.

func NewAdmin_stop_Params_List

func NewAdmin_stop_Params_List(s *capnp.Segment, sz int32) (Admin_stop_Params_List, error)

NewAdmin_stop_Params creates a new list of Admin_stop_Params.

type Admin_stop_Results

type Admin_stop_Results capnp.Struct

func NewAdmin_stop_Results

func NewAdmin_stop_Results(s *capnp.Segment) (Admin_stop_Results, error)

func NewRootAdmin_stop_Results

func NewRootAdmin_stop_Results(s *capnp.Segment) (Admin_stop_Results, error)

func ReadRootAdmin_stop_Results

func ReadRootAdmin_stop_Results(msg *capnp.Message) (Admin_stop_Results, error)

func (Admin_stop_Results) DecodeFromPtr

func (Admin_stop_Results) EncodeAsPtr

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

func (Admin_stop_Results) IsValid

func (s Admin_stop_Results) IsValid() bool

func (Admin_stop_Results) Message

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

func (Admin_stop_Results) Segment

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

func (Admin_stop_Results) String

func (s Admin_stop_Results) String() string

func (Admin_stop_Results) ToPtr

func (s Admin_stop_Results) ToPtr() capnp.Ptr

type Admin_stop_Results_Future

type Admin_stop_Results_Future struct{ *capnp.Future }

Admin_stop_Results_Future is a wrapper for a Admin_stop_Results promised by a client call.

func (Admin_stop_Results_Future) Struct

type Admin_stop_Results_List

type Admin_stop_Results_List = capnp.StructList[Admin_stop_Results]

Admin_stop_Results_List is a list of Admin_stop_Results.

func NewAdmin_stop_Results_List

func NewAdmin_stop_Results_List(s *capnp.Segment, sz int32) (Admin_stop_Results_List, error)

NewAdmin_stop_Results creates a new list of Admin_stop_Results.

type Admin_updateIdentity

type Admin_updateIdentity struct {
	*server.Call
}

Admin_updateIdentity holds the state for a server call to Admin.updateIdentity. See server.Call for documentation.

func (Admin_updateIdentity) AllocResults

AllocResults allocates the results struct.

func (Admin_updateIdentity) Args

Args returns the call's arguments.

type Admin_updateIdentity_Params

type Admin_updateIdentity_Params capnp.Struct

func NewAdmin_updateIdentity_Params

func NewAdmin_updateIdentity_Params(s *capnp.Segment) (Admin_updateIdentity_Params, error)

func NewRootAdmin_updateIdentity_Params

func NewRootAdmin_updateIdentity_Params(s *capnp.Segment) (Admin_updateIdentity_Params, error)

func ReadRootAdmin_updateIdentity_Params

func ReadRootAdmin_updateIdentity_Params(msg *capnp.Message) (Admin_updateIdentity_Params, error)

func (Admin_updateIdentity_Params) DecodeFromPtr

func (Admin_updateIdentity_Params) EncodeAsPtr

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

func (Admin_updateIdentity_Params) HasNewInfo

func (s Admin_updateIdentity_Params) HasNewInfo() bool

func (Admin_updateIdentity_Params) HasOldId

func (s Admin_updateIdentity_Params) HasOldId() bool

func (Admin_updateIdentity_Params) IsValid

func (s Admin_updateIdentity_Params) IsValid() bool

func (Admin_updateIdentity_Params) Message

func (Admin_updateIdentity_Params) NewInfo

func (Admin_updateIdentity_Params) NewNewInfo

NewNewInfo sets the newInfo field to a newly allocated common.IdInformation struct, preferring placement in s's segment.

func (Admin_updateIdentity_Params) OldId

func (Admin_updateIdentity_Params) OldIdBytes

func (s Admin_updateIdentity_Params) OldIdBytes() ([]byte, error)

func (Admin_updateIdentity_Params) Segment

func (Admin_updateIdentity_Params) SetNewInfo

func (Admin_updateIdentity_Params) SetOldId

func (Admin_updateIdentity_Params) String

func (Admin_updateIdentity_Params) ToPtr

type Admin_updateIdentity_Params_Future

type Admin_updateIdentity_Params_Future struct{ *capnp.Future }

Admin_updateIdentity_Params_Future is a wrapper for a Admin_updateIdentity_Params promised by a client call.

func (Admin_updateIdentity_Params_Future) NewInfo

func (Admin_updateIdentity_Params_Future) Struct

type Admin_updateIdentity_Params_List

type Admin_updateIdentity_Params_List = capnp.StructList[Admin_updateIdentity_Params]

Admin_updateIdentity_Params_List is a list of Admin_updateIdentity_Params.

func NewAdmin_updateIdentity_Params_List

func NewAdmin_updateIdentity_Params_List(s *capnp.Segment, sz int32) (Admin_updateIdentity_Params_List, error)

NewAdmin_updateIdentity_Params creates a new list of Admin_updateIdentity_Params.

type Admin_updateIdentity_Results

type Admin_updateIdentity_Results capnp.Struct

func NewAdmin_updateIdentity_Results

func NewAdmin_updateIdentity_Results(s *capnp.Segment) (Admin_updateIdentity_Results, error)

func NewRootAdmin_updateIdentity_Results

func NewRootAdmin_updateIdentity_Results(s *capnp.Segment) (Admin_updateIdentity_Results, error)

func ReadRootAdmin_updateIdentity_Results

func ReadRootAdmin_updateIdentity_Results(msg *capnp.Message) (Admin_updateIdentity_Results, error)

func (Admin_updateIdentity_Results) DecodeFromPtr

func (Admin_updateIdentity_Results) EncodeAsPtr

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

func (Admin_updateIdentity_Results) IsValid

func (s Admin_updateIdentity_Results) IsValid() bool

func (Admin_updateIdentity_Results) Message

func (Admin_updateIdentity_Results) Segment

func (Admin_updateIdentity_Results) String

func (Admin_updateIdentity_Results) ToPtr

type Admin_updateIdentity_Results_Future

type Admin_updateIdentity_Results_Future struct{ *capnp.Future }

Admin_updateIdentity_Results_Future is a wrapper for a Admin_updateIdentity_Results promised by a client call.

func (Admin_updateIdentity_Results_Future) Struct

type Admin_updateIdentity_Results_List

type Admin_updateIdentity_Results_List = capnp.StructList[Admin_updateIdentity_Results]

Admin_updateIdentity_Results_List is a list of Admin_updateIdentity_Results.

func NewAdmin_updateIdentity_Results_List

func NewAdmin_updateIdentity_Results_List(s *capnp.Segment, sz int32) (Admin_updateIdentity_Results_List, error)

NewAdmin_updateIdentity_Results creates a new list of Admin_updateIdentity_Results.

type Factory

type Factory capnp.Client

func Factory_ServerToClient

func Factory_ServerToClient(s Factory_Server) Factory

Factory_ServerToClient creates a new Client from an implementation of Factory_Server. The caller is responsible for calling Release on the returned Client.

func (Factory) AddRef

func (c Factory) AddRef() Factory

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

func (Factory) DecodeFromPtr

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

func (Factory) EncodeAsPtr

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

func (Factory) GetFlowLimiter

func (c Factory) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Factory) IsSame

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

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

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

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

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

func (Factory) SetFlowLimiter

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

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

func (c Factory) WaitStreaming() error

type Factory_AccessInfo

type Factory_AccessInfo capnp.Struct

func NewFactory_AccessInfo

func NewFactory_AccessInfo(s *capnp.Segment) (Factory_AccessInfo, error)

func NewRootFactory_AccessInfo

func NewRootFactory_AccessInfo(s *capnp.Segment) (Factory_AccessInfo, error)

func ReadRootFactory_AccessInfo

func ReadRootFactory_AccessInfo(msg *capnp.Message) (Factory_AccessInfo, error)

func (Factory_AccessInfo) AdminCap

func (s Factory_AccessInfo) AdminCap() capnp.Client

func (Factory_AccessInfo) DecodeFromPtr

func (Factory_AccessInfo) EncodeAsPtr

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

func (Factory_AccessInfo) Error

func (s Factory_AccessInfo) Error() (string, error)

func (Factory_AccessInfo) ErrorBytes

func (s Factory_AccessInfo) ErrorBytes() ([]byte, error)

func (Factory_AccessInfo) HasAdminCap

func (s Factory_AccessInfo) HasAdminCap() bool

func (Factory_AccessInfo) HasError

func (s Factory_AccessInfo) HasError() bool

func (Factory_AccessInfo) HasServiceCaps

func (s Factory_AccessInfo) HasServiceCaps() bool

func (Factory_AccessInfo) IsValid

func (s Factory_AccessInfo) IsValid() bool

func (Factory_AccessInfo) Message

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

func (Factory_AccessInfo) NewServiceCaps

func (s Factory_AccessInfo) NewServiceCaps(n int32) (common.Identifiable_List, error)

NewServiceCaps sets the serviceCaps field to a newly allocated common.Identifiable_List, preferring placement in s's segment.

func (Factory_AccessInfo) Segment

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

func (Factory_AccessInfo) ServiceCaps

func (s Factory_AccessInfo) ServiceCaps() (common.Identifiable_List, error)

func (Factory_AccessInfo) SetAdminCap

func (s Factory_AccessInfo) SetAdminCap(c capnp.Client) error

func (Factory_AccessInfo) SetError

func (s Factory_AccessInfo) SetError(v string) error

func (Factory_AccessInfo) SetServiceCaps

func (s Factory_AccessInfo) SetServiceCaps(v common.Identifiable_List) error

func (Factory_AccessInfo) String

func (s Factory_AccessInfo) String() string

func (Factory_AccessInfo) ToPtr

func (s Factory_AccessInfo) ToPtr() capnp.Ptr

type Factory_AccessInfo_Future

type Factory_AccessInfo_Future struct{ *capnp.Future }

Factory_AccessInfo_Future is a wrapper for a Factory_AccessInfo promised by a client call.

func (Factory_AccessInfo_Future) AdminCap

func (p Factory_AccessInfo_Future) AdminCap() capnp.Client

func (Factory_AccessInfo_Future) Struct

type Factory_AccessInfo_List

type Factory_AccessInfo_List = capnp.StructList[Factory_AccessInfo]

Factory_AccessInfo_List is a list of Factory_AccessInfo.

func NewFactory_AccessInfo_List

func NewFactory_AccessInfo_List(s *capnp.Segment, sz int32) (Factory_AccessInfo_List, error)

NewFactory_AccessInfo creates a new list of Factory_AccessInfo.

type Factory_CreateParams

type Factory_CreateParams capnp.Struct

func NewFactory_CreateParams

func NewFactory_CreateParams(s *capnp.Segment) (Factory_CreateParams, error)

func NewRootFactory_CreateParams

func NewRootFactory_CreateParams(s *capnp.Segment) (Factory_CreateParams, error)

func ReadRootFactory_CreateParams

func ReadRootFactory_CreateParams(msg *capnp.Message) (Factory_CreateParams, error)

func (Factory_CreateParams) DecodeFromPtr

func (Factory_CreateParams) EncodeAsPtr

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

func (Factory_CreateParams) HasInterfaceNameToRegistrySR

func (s Factory_CreateParams) HasInterfaceNameToRegistrySR() bool

func (Factory_CreateParams) HasMsgPayload

func (s Factory_CreateParams) HasMsgPayload() bool

func (Factory_CreateParams) InterfaceNameToRegistrySR

func (s Factory_CreateParams) InterfaceNameToRegistrySR() (common.Pair_List, error)

func (Factory_CreateParams) IsValid

func (s Factory_CreateParams) IsValid() bool

func (Factory_CreateParams) Message

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

func (Factory_CreateParams) MsgPayload

func (s Factory_CreateParams) MsgPayload() (capnp.Ptr, error)

func (Factory_CreateParams) NewInterfaceNameToRegistrySR

func (s Factory_CreateParams) NewInterfaceNameToRegistrySR(n int32) (common.Pair_List, error)

NewInterfaceNameToRegistrySR sets the interfaceNameToRegistrySR field to a newly allocated common.Pair_List, preferring placement in s's segment.

func (Factory_CreateParams) Segment

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

func (Factory_CreateParams) SetInterfaceNameToRegistrySR

func (s Factory_CreateParams) SetInterfaceNameToRegistrySR(v common.Pair_List) error

func (Factory_CreateParams) SetMsgPayload

func (s Factory_CreateParams) SetMsgPayload(v capnp.Ptr) error

func (Factory_CreateParams) SetTimeoutSeconds

func (s Factory_CreateParams) SetTimeoutSeconds(v uint64)

func (Factory_CreateParams) String

func (s Factory_CreateParams) String() string

func (Factory_CreateParams) TimeoutSeconds

func (s Factory_CreateParams) TimeoutSeconds() uint64

func (Factory_CreateParams) ToPtr

func (s Factory_CreateParams) ToPtr() capnp.Ptr

type Factory_CreateParams_Future

type Factory_CreateParams_Future struct{ *capnp.Future }

Factory_CreateParams_Future is a wrapper for a Factory_CreateParams promised by a client call.

func (Factory_CreateParams_Future) MsgPayload

func (p Factory_CreateParams_Future) MsgPayload() *capnp.Future

func (Factory_CreateParams_Future) Struct

type Factory_CreateParams_List

type Factory_CreateParams_List = capnp.StructList[Factory_CreateParams]

Factory_CreateParams_List is a list of Factory_CreateParams.

func NewFactory_CreateParams_List

func NewFactory_CreateParams_List(s *capnp.Segment, sz int32) (Factory_CreateParams_List, error)

NewFactory_CreateParams creates a new list of Factory_CreateParams.

type Factory_List

type Factory_List = capnp.CapList[Factory]

Factory_List is a list of Factory.

func NewFactory_List

func NewFactory_List(s *capnp.Segment, sz int32) (Factory_List, error)

NewFactory creates a new list of Factory.

type Factory_Server

type Factory_Server interface {
	Create(context.Context, Factory_create) error

	ServiceInterfaceNames(context.Context, Factory_serviceInterfaceNames) error

	Info(context.Context, common.Identifiable_info) error
}

A Factory_Server is a Factory with a local implementation.

type Factory_create

type Factory_create struct {
	*server.Call
}

Factory_create holds the state for a server call to Factory.create. See server.Call for documentation.

func (Factory_create) AllocResults

func (c Factory_create) AllocResults() (Factory_AccessInfo, error)

AllocResults allocates the results struct.

func (Factory_create) Args

Args returns the call's arguments.

type Factory_serviceInterfaceNames

type Factory_serviceInterfaceNames struct {
	*server.Call
}

Factory_serviceInterfaceNames holds the state for a server call to Factory.serviceInterfaceNames. See server.Call for documentation.

func (Factory_serviceInterfaceNames) AllocResults

AllocResults allocates the results struct.

func (Factory_serviceInterfaceNames) Args

Args returns the call's arguments.

type Factory_serviceInterfaceNames_Params

type Factory_serviceInterfaceNames_Params capnp.Struct

func NewFactory_serviceInterfaceNames_Params

func NewFactory_serviceInterfaceNames_Params(s *capnp.Segment) (Factory_serviceInterfaceNames_Params, error)

func NewRootFactory_serviceInterfaceNames_Params

func NewRootFactory_serviceInterfaceNames_Params(s *capnp.Segment) (Factory_serviceInterfaceNames_Params, error)

func ReadRootFactory_serviceInterfaceNames_Params

func ReadRootFactory_serviceInterfaceNames_Params(msg *capnp.Message) (Factory_serviceInterfaceNames_Params, error)

func (Factory_serviceInterfaceNames_Params) DecodeFromPtr

func (Factory_serviceInterfaceNames_Params) EncodeAsPtr

func (Factory_serviceInterfaceNames_Params) IsValid

func (Factory_serviceInterfaceNames_Params) Message

func (Factory_serviceInterfaceNames_Params) Segment

func (Factory_serviceInterfaceNames_Params) String

func (Factory_serviceInterfaceNames_Params) ToPtr

type Factory_serviceInterfaceNames_Params_Future

type Factory_serviceInterfaceNames_Params_Future struct{ *capnp.Future }

Factory_serviceInterfaceNames_Params_Future is a wrapper for a Factory_serviceInterfaceNames_Params promised by a client call.

func (Factory_serviceInterfaceNames_Params_Future) Struct

type Factory_serviceInterfaceNames_Params_List

type Factory_serviceInterfaceNames_Params_List = capnp.StructList[Factory_serviceInterfaceNames_Params]

Factory_serviceInterfaceNames_Params_List is a list of Factory_serviceInterfaceNames_Params.

func NewFactory_serviceInterfaceNames_Params_List

func NewFactory_serviceInterfaceNames_Params_List(s *capnp.Segment, sz int32) (Factory_serviceInterfaceNames_Params_List, error)

NewFactory_serviceInterfaceNames_Params creates a new list of Factory_serviceInterfaceNames_Params.

type Factory_serviceInterfaceNames_Results

type Factory_serviceInterfaceNames_Results capnp.Struct

func NewFactory_serviceInterfaceNames_Results

func NewFactory_serviceInterfaceNames_Results(s *capnp.Segment) (Factory_serviceInterfaceNames_Results, error)

func NewRootFactory_serviceInterfaceNames_Results

func NewRootFactory_serviceInterfaceNames_Results(s *capnp.Segment) (Factory_serviceInterfaceNames_Results, error)

func ReadRootFactory_serviceInterfaceNames_Results

func ReadRootFactory_serviceInterfaceNames_Results(msg *capnp.Message) (Factory_serviceInterfaceNames_Results, error)

func (Factory_serviceInterfaceNames_Results) DecodeFromPtr

func (Factory_serviceInterfaceNames_Results) EncodeAsPtr

func (Factory_serviceInterfaceNames_Results) HasNames

func (Factory_serviceInterfaceNames_Results) IsValid

func (Factory_serviceInterfaceNames_Results) Message

func (Factory_serviceInterfaceNames_Results) Names

func (Factory_serviceInterfaceNames_Results) NewNames

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

func (Factory_serviceInterfaceNames_Results) Segment

func (Factory_serviceInterfaceNames_Results) SetNames

func (Factory_serviceInterfaceNames_Results) String

func (Factory_serviceInterfaceNames_Results) ToPtr

type Factory_serviceInterfaceNames_Results_Future

type Factory_serviceInterfaceNames_Results_Future struct{ *capnp.Future }

Factory_serviceInterfaceNames_Results_Future is a wrapper for a Factory_serviceInterfaceNames_Results promised by a client call.

func (Factory_serviceInterfaceNames_Results_Future) Struct

type Factory_serviceInterfaceNames_Results_List

type Factory_serviceInterfaceNames_Results_List = capnp.StructList[Factory_serviceInterfaceNames_Results]

Factory_serviceInterfaceNames_Results_List is a list of Factory_serviceInterfaceNames_Results.

func NewFactory_serviceInterfaceNames_Results_List

func NewFactory_serviceInterfaceNames_Results_List(s *capnp.Segment, sz int32) (Factory_serviceInterfaceNames_Results_List, error)

NewFactory_serviceInterfaceNames_Results creates a new list of Factory_serviceInterfaceNames_Results.

type SimpleFactory

type SimpleFactory capnp.Client

func SimpleFactory_ServerToClient

func SimpleFactory_ServerToClient(s SimpleFactory_Server) SimpleFactory

SimpleFactory_ServerToClient creates a new Client from an implementation of SimpleFactory_Server. The caller is responsible for calling Release on the returned Client.

func (SimpleFactory) AddRef

func (c SimpleFactory) AddRef() SimpleFactory

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

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

func (SimpleFactory) EncodeAsPtr

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

func (SimpleFactory) GetFlowLimiter

func (c SimpleFactory) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (SimpleFactory) IsSame

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

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

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

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

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

func (SimpleFactory) SetFlowLimiter

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

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

func (c SimpleFactory) WaitStreaming() error

type SimpleFactory_List

type SimpleFactory_List = capnp.CapList[SimpleFactory]

SimpleFactory_List is a list of SimpleFactory.

func NewSimpleFactory_List

func NewSimpleFactory_List(s *capnp.Segment, sz int32) (SimpleFactory_List, error)

NewSimpleFactory creates a new list of SimpleFactory.

type SimpleFactory_Server

type SimpleFactory_Server interface {
	Create(context.Context, SimpleFactory_create) error

	Info(context.Context, common.Identifiable_info) error
}

A SimpleFactory_Server is a SimpleFactory with a local implementation.

type SimpleFactory_create

type SimpleFactory_create struct {
	*server.Call
}

SimpleFactory_create holds the state for a server call to SimpleFactory.create. See server.Call for documentation.

func (SimpleFactory_create) AllocResults

AllocResults allocates the results struct.

func (SimpleFactory_create) Args

Args returns the call's arguments.

type SimpleFactory_create_Params

type SimpleFactory_create_Params capnp.Struct

func NewRootSimpleFactory_create_Params

func NewRootSimpleFactory_create_Params(s *capnp.Segment) (SimpleFactory_create_Params, error)

func NewSimpleFactory_create_Params

func NewSimpleFactory_create_Params(s *capnp.Segment) (SimpleFactory_create_Params, error)

func ReadRootSimpleFactory_create_Params

func ReadRootSimpleFactory_create_Params(msg *capnp.Message) (SimpleFactory_create_Params, error)

func (SimpleFactory_create_Params) DecodeFromPtr

func (SimpleFactory_create_Params) EncodeAsPtr

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

func (SimpleFactory_create_Params) IsValid

func (s SimpleFactory_create_Params) IsValid() bool

func (SimpleFactory_create_Params) Message

func (SimpleFactory_create_Params) Segment

func (SimpleFactory_create_Params) String

func (SimpleFactory_create_Params) ToPtr

type SimpleFactory_create_Params_Future

type SimpleFactory_create_Params_Future struct{ *capnp.Future }

SimpleFactory_create_Params_Future is a wrapper for a SimpleFactory_create_Params promised by a client call.

func (SimpleFactory_create_Params_Future) Struct

type SimpleFactory_create_Params_List

type SimpleFactory_create_Params_List = capnp.StructList[SimpleFactory_create_Params]

SimpleFactory_create_Params_List is a list of SimpleFactory_create_Params.

func NewSimpleFactory_create_Params_List

func NewSimpleFactory_create_Params_List(s *capnp.Segment, sz int32) (SimpleFactory_create_Params_List, error)

NewSimpleFactory_create_Params creates a new list of SimpleFactory_create_Params.

type SimpleFactory_create_Results

type SimpleFactory_create_Results capnp.Struct

func NewRootSimpleFactory_create_Results

func NewRootSimpleFactory_create_Results(s *capnp.Segment) (SimpleFactory_create_Results, error)

func NewSimpleFactory_create_Results

func NewSimpleFactory_create_Results(s *capnp.Segment) (SimpleFactory_create_Results, error)

func ReadRootSimpleFactory_create_Results

func ReadRootSimpleFactory_create_Results(msg *capnp.Message) (SimpleFactory_create_Results, error)

func (SimpleFactory_create_Results) Caps

func (SimpleFactory_create_Results) DecodeFromPtr

func (SimpleFactory_create_Results) EncodeAsPtr

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

func (SimpleFactory_create_Results) HasCaps

func (s SimpleFactory_create_Results) HasCaps() bool

func (SimpleFactory_create_Results) IsValid

func (s SimpleFactory_create_Results) IsValid() bool

func (SimpleFactory_create_Results) Message

func (SimpleFactory_create_Results) NewCaps

NewCaps sets the caps field to a newly allocated common.Identifiable_List, preferring placement in s's segment.

func (SimpleFactory_create_Results) Segment

func (SimpleFactory_create_Results) SetCaps

func (SimpleFactory_create_Results) String

func (SimpleFactory_create_Results) ToPtr

type SimpleFactory_create_Results_Future

type SimpleFactory_create_Results_Future struct{ *capnp.Future }

SimpleFactory_create_Results_Future is a wrapper for a SimpleFactory_create_Results promised by a client call.

func (SimpleFactory_create_Results_Future) Struct

type SimpleFactory_create_Results_List

type SimpleFactory_create_Results_List = capnp.StructList[SimpleFactory_create_Results]

SimpleFactory_create_Results_List is a list of SimpleFactory_create_Results.

func NewSimpleFactory_create_Results_List

func NewSimpleFactory_create_Results_List(s *capnp.Segment, sz int32) (SimpleFactory_create_Results_List, error)

NewSimpleFactory_create_Results creates a new list of SimpleFactory_create_Results.

type Stopable

type Stopable capnp.Client

func Stopable_ServerToClient

func Stopable_ServerToClient(s Stopable_Server) Stopable

Stopable_ServerToClient creates a new Client from an implementation of Stopable_Server. The caller is responsible for calling Release on the returned Client.

func (Stopable) AddRef

func (c Stopable) AddRef() Stopable

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

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

func (Stopable) EncodeAsPtr

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

func (Stopable) GetFlowLimiter

func (c Stopable) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Stopable) IsSame

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

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

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

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

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

func (Stopable) SetFlowLimiter

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

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

func (c Stopable) WaitStreaming() error

type Stopable_List

type Stopable_List = capnp.CapList[Stopable]

Stopable_List is a list of Stopable.

func NewStopable_List

func NewStopable_List(s *capnp.Segment, sz int32) (Stopable_List, error)

NewStopable creates a new list of Stopable.

type Stopable_Server

type Stopable_Server interface {
	Stop(context.Context, Stopable_stop) error
}

A Stopable_Server is a Stopable with a local implementation.

type Stopable_stop

type Stopable_stop struct {
	*server.Call
}

Stopable_stop holds the state for a server call to Stopable.stop. See server.Call for documentation.

func (Stopable_stop) AllocResults

func (c Stopable_stop) AllocResults() (Stopable_stop_Results, error)

AllocResults allocates the results struct.

func (Stopable_stop) Args

Args returns the call's arguments.

type Stopable_stop_Params

type Stopable_stop_Params capnp.Struct

func NewRootStopable_stop_Params

func NewRootStopable_stop_Params(s *capnp.Segment) (Stopable_stop_Params, error)

func NewStopable_stop_Params

func NewStopable_stop_Params(s *capnp.Segment) (Stopable_stop_Params, error)

func ReadRootStopable_stop_Params

func ReadRootStopable_stop_Params(msg *capnp.Message) (Stopable_stop_Params, error)

func (Stopable_stop_Params) DecodeFromPtr

func (Stopable_stop_Params) EncodeAsPtr

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

func (Stopable_stop_Params) IsValid

func (s Stopable_stop_Params) IsValid() bool

func (Stopable_stop_Params) Message

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

func (Stopable_stop_Params) Segment

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

func (Stopable_stop_Params) String

func (s Stopable_stop_Params) String() string

func (Stopable_stop_Params) ToPtr

func (s Stopable_stop_Params) ToPtr() capnp.Ptr

type Stopable_stop_Params_Future

type Stopable_stop_Params_Future struct{ *capnp.Future }

Stopable_stop_Params_Future is a wrapper for a Stopable_stop_Params promised by a client call.

func (Stopable_stop_Params_Future) Struct

type Stopable_stop_Params_List

type Stopable_stop_Params_List = capnp.StructList[Stopable_stop_Params]

Stopable_stop_Params_List is a list of Stopable_stop_Params.

func NewStopable_stop_Params_List

func NewStopable_stop_Params_List(s *capnp.Segment, sz int32) (Stopable_stop_Params_List, error)

NewStopable_stop_Params creates a new list of Stopable_stop_Params.

type Stopable_stop_Results

type Stopable_stop_Results capnp.Struct

func NewRootStopable_stop_Results

func NewRootStopable_stop_Results(s *capnp.Segment) (Stopable_stop_Results, error)

func NewStopable_stop_Results

func NewStopable_stop_Results(s *capnp.Segment) (Stopable_stop_Results, error)

func ReadRootStopable_stop_Results

func ReadRootStopable_stop_Results(msg *capnp.Message) (Stopable_stop_Results, error)

func (Stopable_stop_Results) DecodeFromPtr

func (Stopable_stop_Results) EncodeAsPtr

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

func (Stopable_stop_Results) IsValid

func (s Stopable_stop_Results) IsValid() bool

func (Stopable_stop_Results) Message

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

func (Stopable_stop_Results) Segment

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

func (Stopable_stop_Results) String

func (s Stopable_stop_Results) String() string

func (Stopable_stop_Results) ToPtr

func (s Stopable_stop_Results) ToPtr() capnp.Ptr

type Stopable_stop_Results_Future

type Stopable_stop_Results_Future struct{ *capnp.Future }

Stopable_stop_Results_Future is a wrapper for a Stopable_stop_Results promised by a client call.

func (Stopable_stop_Results_Future) Struct

type Stopable_stop_Results_List

type Stopable_stop_Results_List = capnp.StructList[Stopable_stop_Results]

Stopable_stop_Results_List is a list of Stopable_stop_Results.

func NewStopable_stop_Results_List

func NewStopable_stop_Results_List(s *capnp.Segment, sz int32) (Stopable_stop_Results_List, error)

NewStopable_stop_Results creates a new list of Stopable_stop_Results.

Jump to

Keyboard shortcuts

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