Documentation ¶
Index ¶
- Constants
- func Assignable_Getter_Methods(methods []server.Method, s Assignable_Getter_Server) []server.Method
- func Assignable_Getter_NewServer(s Assignable_Getter_Server) *server.Server
- func Assignable_Methods(methods []server.Method, s Assignable_Server) []server.Method
- func Assignable_NewServer(s Assignable_Server) *server.Server
- func Assignable_Setter_Methods(methods []server.Method, s Assignable_Setter_Server) []server.Method
- func Assignable_Setter_NewServer(s Assignable_Setter_Server) *server.Server
- func Blob_Methods(methods []server.Method, s Blob_Server) []server.Method
- func Blob_NewServer(s Blob_Server) *server.Server
- func ByteStream_Methods(methods []server.Method, s ByteStream_Server) []server.Method
- func ByteStream_NewServer(s ByteStream_Server) *server.Server
- func Handle_Methods(methods []server.Method, s Handle_Server) []server.Method
- func Handle_NewServer(s Handle_Server) *server.Server
- func StaticAsset_Methods(methods []server.Method, s StaticAsset_Server) []server.Method
- func StaticAsset_NewServer(s StaticAsset_Server) *server.Server
- type Assignable
- func (c Assignable) AddRef() Assignable
- func (c Assignable) AsGetter(ctx context.Context, params func(Assignable_asGetter_Params) error) (Assignable_asGetter_Results_Future, capnp.ReleaseFunc)
- func (c Assignable) AsSetter(ctx context.Context, params func(Assignable_asSetter_Params) error) (Assignable_asSetter_Results_Future, capnp.ReleaseFunc)
- func (Assignable) DecodeFromPtr(p capnp.Ptr) Assignable
- func (c Assignable) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Assignable) Get(ctx context.Context, params func(Assignable_get_Params) error) (Assignable_get_Results_Future, capnp.ReleaseFunc)
- func (c Assignable) GetFlowLimiter() fc.FlowLimiter
- func (c Assignable) IsSame(other Assignable) bool
- func (c Assignable) IsValid() bool
- func (c Assignable) Release()
- func (c Assignable) Resolve(ctx context.Context) error
- func (c Assignable) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Assignable) String() string
- type Assignable_Getter
- func (c Assignable_Getter) AddRef() Assignable_Getter
- func (Assignable_Getter) DecodeFromPtr(p capnp.Ptr) Assignable_Getter
- func (c Assignable_Getter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Assignable_Getter) Get(ctx context.Context, params func(Assignable_Getter_get_Params) error) (Assignable_Getter_get_Results_Future, capnp.ReleaseFunc)
- func (c Assignable_Getter) GetFlowLimiter() fc.FlowLimiter
- func (c Assignable_Getter) IsSame(other Assignable_Getter) bool
- func (c Assignable_Getter) IsValid() bool
- func (c Assignable_Getter) Release()
- func (c Assignable_Getter) Resolve(ctx context.Context) error
- func (c Assignable_Getter) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Assignable_Getter) String() string
- func (c Assignable_Getter) Subscribe(ctx context.Context, params func(Assignable_Getter_subscribe_Params) error) (Assignable_Getter_subscribe_Results_Future, capnp.ReleaseFunc)
- type Assignable_Getter_List
- type Assignable_Getter_Server
- type Assignable_Getter_get
- type Assignable_Getter_get_Params
- func (Assignable_Getter_get_Params) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_get_Params
- func (s Assignable_Getter_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_Getter_get_Params) IsValid() bool
- func (s Assignable_Getter_get_Params) Message() *capnp.Message
- func (s Assignable_Getter_get_Params) Segment() *capnp.Segment
- func (s Assignable_Getter_get_Params) String() string
- func (s Assignable_Getter_get_Params) ToPtr() capnp.Ptr
- type Assignable_Getter_get_Params_Future
- type Assignable_Getter_get_Params_List
- type Assignable_Getter_get_Results
- func (Assignable_Getter_get_Results) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_get_Results
- func (s Assignable_Getter_get_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_Getter_get_Results) HasValue() bool
- func (s Assignable_Getter_get_Results) IsValid() bool
- func (s Assignable_Getter_get_Results) Message() *capnp.Message
- func (s Assignable_Getter_get_Results) Segment() *capnp.Segment
- func (s Assignable_Getter_get_Results) SetValue(v capnp.Ptr) error
- func (s Assignable_Getter_get_Results) String() string
- func (s Assignable_Getter_get_Results) ToPtr() capnp.Ptr
- func (s Assignable_Getter_get_Results) Value() (capnp.Ptr, error)
- type Assignable_Getter_get_Results_Future
- type Assignable_Getter_get_Results_List
- type Assignable_Getter_subscribe
- type Assignable_Getter_subscribe_Params
- func NewAssignable_Getter_subscribe_Params(s *capnp.Segment) (Assignable_Getter_subscribe_Params, error)
- func NewRootAssignable_Getter_subscribe_Params(s *capnp.Segment) (Assignable_Getter_subscribe_Params, error)
- func ReadRootAssignable_Getter_subscribe_Params(msg *capnp.Message) (Assignable_Getter_subscribe_Params, error)
- func (Assignable_Getter_subscribe_Params) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_subscribe_Params
- func (s Assignable_Getter_subscribe_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_Getter_subscribe_Params) HasSetter() bool
- func (s Assignable_Getter_subscribe_Params) IsValid() bool
- func (s Assignable_Getter_subscribe_Params) Message() *capnp.Message
- func (s Assignable_Getter_subscribe_Params) Segment() *capnp.Segment
- func (s Assignable_Getter_subscribe_Params) SetSetter(v Assignable_Setter) error
- func (s Assignable_Getter_subscribe_Params) Setter() Assignable_Setter
- func (s Assignable_Getter_subscribe_Params) String() string
- func (s Assignable_Getter_subscribe_Params) ToPtr() capnp.Ptr
- type Assignable_Getter_subscribe_Params_Future
- type Assignable_Getter_subscribe_Params_List
- type Assignable_Getter_subscribe_Results
- func NewAssignable_Getter_subscribe_Results(s *capnp.Segment) (Assignable_Getter_subscribe_Results, error)
- func NewRootAssignable_Getter_subscribe_Results(s *capnp.Segment) (Assignable_Getter_subscribe_Results, error)
- func ReadRootAssignable_Getter_subscribe_Results(msg *capnp.Message) (Assignable_Getter_subscribe_Results, error)
- func (Assignable_Getter_subscribe_Results) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_subscribe_Results
- func (s Assignable_Getter_subscribe_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_Getter_subscribe_Results) Handle() Handle
- func (s Assignable_Getter_subscribe_Results) HasHandle() bool
- func (s Assignable_Getter_subscribe_Results) IsValid() bool
- func (s Assignable_Getter_subscribe_Results) Message() *capnp.Message
- func (s Assignable_Getter_subscribe_Results) Segment() *capnp.Segment
- func (s Assignable_Getter_subscribe_Results) SetHandle(v Handle) error
- func (s Assignable_Getter_subscribe_Results) String() string
- func (s Assignable_Getter_subscribe_Results) ToPtr() capnp.Ptr
- type Assignable_Getter_subscribe_Results_Future
- type Assignable_Getter_subscribe_Results_List
- type Assignable_List
- type Assignable_Server
- type Assignable_Setter
- func (c Assignable_Setter) AddRef() Assignable_Setter
- func (Assignable_Setter) DecodeFromPtr(p capnp.Ptr) Assignable_Setter
- func (c Assignable_Setter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Assignable_Setter) GetFlowLimiter() fc.FlowLimiter
- func (c Assignable_Setter) IsSame(other Assignable_Setter) bool
- func (c Assignable_Setter) IsValid() bool
- func (c Assignable_Setter) Release()
- func (c Assignable_Setter) Resolve(ctx context.Context) error
- func (c Assignable_Setter) Set(ctx context.Context, params func(Assignable_Setter_set_Params) error) (Assignable_Setter_set_Results_Future, capnp.ReleaseFunc)
- func (c Assignable_Setter) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Assignable_Setter) String() string
- type Assignable_Setter_List
- type Assignable_Setter_Server
- type Assignable_Setter_set
- type Assignable_Setter_set_Params
- func (Assignable_Setter_set_Params) DecodeFromPtr(p capnp.Ptr) Assignable_Setter_set_Params
- func (s Assignable_Setter_set_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_Setter_set_Params) HasValue() bool
- func (s Assignable_Setter_set_Params) IsValid() bool
- func (s Assignable_Setter_set_Params) Message() *capnp.Message
- func (s Assignable_Setter_set_Params) Segment() *capnp.Segment
- func (s Assignable_Setter_set_Params) SetValue(v capnp.Ptr) error
- func (s Assignable_Setter_set_Params) String() string
- func (s Assignable_Setter_set_Params) ToPtr() capnp.Ptr
- func (s Assignable_Setter_set_Params) Value() (capnp.Ptr, error)
- type Assignable_Setter_set_Params_Future
- type Assignable_Setter_set_Params_List
- type Assignable_Setter_set_Results
- func (Assignable_Setter_set_Results) DecodeFromPtr(p capnp.Ptr) Assignable_Setter_set_Results
- func (s Assignable_Setter_set_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_Setter_set_Results) IsValid() bool
- func (s Assignable_Setter_set_Results) Message() *capnp.Message
- func (s Assignable_Setter_set_Results) Segment() *capnp.Segment
- func (s Assignable_Setter_set_Results) String() string
- func (s Assignable_Setter_set_Results) ToPtr() capnp.Ptr
- type Assignable_Setter_set_Results_Future
- type Assignable_Setter_set_Results_List
- type Assignable_asGetter
- type Assignable_asGetter_Params
- func (Assignable_asGetter_Params) DecodeFromPtr(p capnp.Ptr) Assignable_asGetter_Params
- func (s Assignable_asGetter_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_asGetter_Params) IsValid() bool
- func (s Assignable_asGetter_Params) Message() *capnp.Message
- func (s Assignable_asGetter_Params) Segment() *capnp.Segment
- func (s Assignable_asGetter_Params) String() string
- func (s Assignable_asGetter_Params) ToPtr() capnp.Ptr
- type Assignable_asGetter_Params_Future
- type Assignable_asGetter_Params_List
- type Assignable_asGetter_Results
- func (Assignable_asGetter_Results) DecodeFromPtr(p capnp.Ptr) Assignable_asGetter_Results
- func (s Assignable_asGetter_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_asGetter_Results) Getter() Assignable_Getter
- func (s Assignable_asGetter_Results) HasGetter() bool
- func (s Assignable_asGetter_Results) IsValid() bool
- func (s Assignable_asGetter_Results) Message() *capnp.Message
- func (s Assignable_asGetter_Results) Segment() *capnp.Segment
- func (s Assignable_asGetter_Results) SetGetter(v Assignable_Getter) error
- func (s Assignable_asGetter_Results) String() string
- func (s Assignable_asGetter_Results) ToPtr() capnp.Ptr
- type Assignable_asGetter_Results_Future
- type Assignable_asGetter_Results_List
- type Assignable_asSetter
- type Assignable_asSetter_Params
- func (Assignable_asSetter_Params) DecodeFromPtr(p capnp.Ptr) Assignable_asSetter_Params
- func (s Assignable_asSetter_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_asSetter_Params) IsValid() bool
- func (s Assignable_asSetter_Params) Message() *capnp.Message
- func (s Assignable_asSetter_Params) Segment() *capnp.Segment
- func (s Assignable_asSetter_Params) String() string
- func (s Assignable_asSetter_Params) ToPtr() capnp.Ptr
- type Assignable_asSetter_Params_Future
- type Assignable_asSetter_Params_List
- type Assignable_asSetter_Results
- func (Assignable_asSetter_Results) DecodeFromPtr(p capnp.Ptr) Assignable_asSetter_Results
- func (s Assignable_asSetter_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_asSetter_Results) HasSetter() bool
- func (s Assignable_asSetter_Results) IsValid() bool
- func (s Assignable_asSetter_Results) Message() *capnp.Message
- func (s Assignable_asSetter_Results) Segment() *capnp.Segment
- func (s Assignable_asSetter_Results) SetSetter(v Assignable_Setter) error
- func (s Assignable_asSetter_Results) Setter() Assignable_Setter
- func (s Assignable_asSetter_Results) String() string
- func (s Assignable_asSetter_Results) ToPtr() capnp.Ptr
- type Assignable_asSetter_Results_Future
- type Assignable_asSetter_Results_List
- type Assignable_get
- type Assignable_get_Params
- func (Assignable_get_Params) DecodeFromPtr(p capnp.Ptr) Assignable_get_Params
- func (s Assignable_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_get_Params) IsValid() bool
- func (s Assignable_get_Params) Message() *capnp.Message
- func (s Assignable_get_Params) Segment() *capnp.Segment
- func (s Assignable_get_Params) String() string
- func (s Assignable_get_Params) ToPtr() capnp.Ptr
- type Assignable_get_Params_Future
- type Assignable_get_Params_List
- type Assignable_get_Results
- func (Assignable_get_Results) DecodeFromPtr(p capnp.Ptr) Assignable_get_Results
- func (s Assignable_get_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Assignable_get_Results) HasSetter() bool
- func (s Assignable_get_Results) HasValue() bool
- func (s Assignable_get_Results) IsValid() bool
- func (s Assignable_get_Results) Message() *capnp.Message
- func (s Assignable_get_Results) Segment() *capnp.Segment
- func (s Assignable_get_Results) SetSetter(v Assignable_Setter) error
- func (s Assignable_get_Results) SetValue(v capnp.Ptr) error
- func (s Assignable_get_Results) Setter() Assignable_Setter
- func (s Assignable_get_Results) String() string
- func (s Assignable_get_Results) ToPtr() capnp.Ptr
- func (s Assignable_get_Results) Value() (capnp.Ptr, error)
- type Assignable_get_Results_Future
- type Assignable_get_Results_List
- type Blob
- func (c Blob) AddRef() Blob
- func (Blob) DecodeFromPtr(p capnp.Ptr) Blob
- func (c Blob) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Blob) GetFlowLimiter() fc.FlowLimiter
- func (c Blob) GetSize(ctx context.Context, params func(Blob_getSize_Params) error) (Blob_getSize_Results_Future, capnp.ReleaseFunc)
- func (c Blob) GetSlice(ctx context.Context, params func(Blob_getSlice_Params) error) (Blob_getSlice_Results_Future, capnp.ReleaseFunc)
- func (c Blob) IsSame(other Blob) bool
- func (c Blob) IsValid() bool
- func (c Blob) Release()
- func (c Blob) Resolve(ctx context.Context) error
- func (c Blob) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Blob) String() string
- func (c Blob) WriteTo(ctx context.Context, params func(Blob_writeTo_Params) error) (Blob_writeTo_Results_Future, capnp.ReleaseFunc)
- type Blob_List
- type Blob_Server
- type Blob_getSize
- type Blob_getSize_Params
- func (Blob_getSize_Params) DecodeFromPtr(p capnp.Ptr) Blob_getSize_Params
- func (s Blob_getSize_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Blob_getSize_Params) IsValid() bool
- func (s Blob_getSize_Params) Message() *capnp.Message
- func (s Blob_getSize_Params) Segment() *capnp.Segment
- func (s Blob_getSize_Params) String() string
- func (s Blob_getSize_Params) ToPtr() capnp.Ptr
- type Blob_getSize_Params_Future
- type Blob_getSize_Params_List
- type Blob_getSize_Results
- func (Blob_getSize_Results) DecodeFromPtr(p capnp.Ptr) Blob_getSize_Results
- func (s Blob_getSize_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Blob_getSize_Results) IsValid() bool
- func (s Blob_getSize_Results) Message() *capnp.Message
- func (s Blob_getSize_Results) Segment() *capnp.Segment
- func (s Blob_getSize_Results) SetSize(v uint64)
- func (s Blob_getSize_Results) Size() uint64
- func (s Blob_getSize_Results) String() string
- func (s Blob_getSize_Results) ToPtr() capnp.Ptr
- type Blob_getSize_Results_Future
- type Blob_getSize_Results_List
- type Blob_getSlice
- type Blob_getSlice_Params
- func (Blob_getSlice_Params) DecodeFromPtr(p capnp.Ptr) Blob_getSlice_Params
- func (s Blob_getSlice_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Blob_getSlice_Params) IsValid() bool
- func (s Blob_getSlice_Params) Message() *capnp.Message
- func (s Blob_getSlice_Params) Offset() uint64
- func (s Blob_getSlice_Params) Segment() *capnp.Segment
- func (s Blob_getSlice_Params) SetOffset(v uint64)
- func (s Blob_getSlice_Params) SetSize(v uint32)
- func (s Blob_getSlice_Params) Size() uint32
- func (s Blob_getSlice_Params) String() string
- func (s Blob_getSlice_Params) ToPtr() capnp.Ptr
- type Blob_getSlice_Params_Future
- type Blob_getSlice_Params_List
- type Blob_getSlice_Results
- func (s Blob_getSlice_Results) Data() ([]byte, error)
- func (Blob_getSlice_Results) DecodeFromPtr(p capnp.Ptr) Blob_getSlice_Results
- func (s Blob_getSlice_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Blob_getSlice_Results) HasData() bool
- func (s Blob_getSlice_Results) IsValid() bool
- func (s Blob_getSlice_Results) Message() *capnp.Message
- func (s Blob_getSlice_Results) Segment() *capnp.Segment
- func (s Blob_getSlice_Results) SetData(v []byte) error
- func (s Blob_getSlice_Results) String() string
- func (s Blob_getSlice_Results) ToPtr() capnp.Ptr
- type Blob_getSlice_Results_Future
- type Blob_getSlice_Results_List
- type Blob_writeTo
- type Blob_writeTo_Params
- func (Blob_writeTo_Params) DecodeFromPtr(p capnp.Ptr) Blob_writeTo_Params
- func (s Blob_writeTo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Blob_writeTo_Params) HasStream() bool
- func (s Blob_writeTo_Params) IsValid() bool
- func (s Blob_writeTo_Params) Message() *capnp.Message
- func (s Blob_writeTo_Params) Segment() *capnp.Segment
- func (s Blob_writeTo_Params) SetStartAtOffset(v uint64)
- func (s Blob_writeTo_Params) SetStream(v ByteStream) error
- func (s Blob_writeTo_Params) StartAtOffset() uint64
- func (s Blob_writeTo_Params) Stream() ByteStream
- func (s Blob_writeTo_Params) String() string
- func (s Blob_writeTo_Params) ToPtr() capnp.Ptr
- type Blob_writeTo_Params_Future
- type Blob_writeTo_Params_List
- type Blob_writeTo_Results
- func (Blob_writeTo_Results) DecodeFromPtr(p capnp.Ptr) Blob_writeTo_Results
- func (s Blob_writeTo_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Blob_writeTo_Results) Handle() Handle
- func (s Blob_writeTo_Results) HasHandle() bool
- func (s Blob_writeTo_Results) IsValid() bool
- func (s Blob_writeTo_Results) Message() *capnp.Message
- func (s Blob_writeTo_Results) Segment() *capnp.Segment
- func (s Blob_writeTo_Results) SetHandle(v Handle) error
- func (s Blob_writeTo_Results) String() string
- func (s Blob_writeTo_Results) ToPtr() capnp.Ptr
- type Blob_writeTo_Results_Future
- type Blob_writeTo_Results_List
- type ByteStream
- func (c ByteStream) AddRef() ByteStream
- func (ByteStream) DecodeFromPtr(p capnp.Ptr) ByteStream
- func (c ByteStream) Done(ctx context.Context, params func(ByteStream_done_Params) error) (ByteStream_done_Results_Future, capnp.ReleaseFunc)
- func (c ByteStream) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c ByteStream) ExpectSize(ctx context.Context, params func(ByteStream_expectSize_Params) error) (ByteStream_expectSize_Results_Future, capnp.ReleaseFunc)
- func (c ByteStream) GetFlowLimiter() fc.FlowLimiter
- func (c ByteStream) IsSame(other ByteStream) bool
- func (c ByteStream) IsValid() bool
- func (c ByteStream) Release()
- func (c ByteStream) Resolve(ctx context.Context) error
- func (c ByteStream) SetFlowLimiter(lim fc.FlowLimiter)
- func (c ByteStream) String() string
- func (c ByteStream) Write(ctx context.Context, params func(ByteStream_write_Params) error) (stream.StreamResult_Future, capnp.ReleaseFunc)
- type ByteStream_List
- type ByteStream_Server
- type ByteStream_done
- type ByteStream_done_Params
- func (ByteStream_done_Params) DecodeFromPtr(p capnp.Ptr) ByteStream_done_Params
- func (s ByteStream_done_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ByteStream_done_Params) IsValid() bool
- func (s ByteStream_done_Params) Message() *capnp.Message
- func (s ByteStream_done_Params) Segment() *capnp.Segment
- func (s ByteStream_done_Params) String() string
- func (s ByteStream_done_Params) ToPtr() capnp.Ptr
- type ByteStream_done_Params_Future
- type ByteStream_done_Params_List
- type ByteStream_done_Results
- func (ByteStream_done_Results) DecodeFromPtr(p capnp.Ptr) ByteStream_done_Results
- func (s ByteStream_done_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ByteStream_done_Results) IsValid() bool
- func (s ByteStream_done_Results) Message() *capnp.Message
- func (s ByteStream_done_Results) Segment() *capnp.Segment
- func (s ByteStream_done_Results) String() string
- func (s ByteStream_done_Results) ToPtr() capnp.Ptr
- type ByteStream_done_Results_Future
- type ByteStream_done_Results_List
- type ByteStream_expectSize
- type ByteStream_expectSize_Params
- func (ByteStream_expectSize_Params) DecodeFromPtr(p capnp.Ptr) ByteStream_expectSize_Params
- func (s ByteStream_expectSize_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ByteStream_expectSize_Params) IsValid() bool
- func (s ByteStream_expectSize_Params) Message() *capnp.Message
- func (s ByteStream_expectSize_Params) Segment() *capnp.Segment
- func (s ByteStream_expectSize_Params) SetSize(v uint64)
- func (s ByteStream_expectSize_Params) Size() uint64
- func (s ByteStream_expectSize_Params) String() string
- func (s ByteStream_expectSize_Params) ToPtr() capnp.Ptr
- type ByteStream_expectSize_Params_Future
- type ByteStream_expectSize_Params_List
- type ByteStream_expectSize_Results
- func (ByteStream_expectSize_Results) DecodeFromPtr(p capnp.Ptr) ByteStream_expectSize_Results
- func (s ByteStream_expectSize_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ByteStream_expectSize_Results) IsValid() bool
- func (s ByteStream_expectSize_Results) Message() *capnp.Message
- func (s ByteStream_expectSize_Results) Segment() *capnp.Segment
- func (s ByteStream_expectSize_Results) String() string
- func (s ByteStream_expectSize_Results) ToPtr() capnp.Ptr
- type ByteStream_expectSize_Results_Future
- type ByteStream_expectSize_Results_List
- type ByteStream_write
- type ByteStream_write_Params
- func (s ByteStream_write_Params) Data() ([]byte, error)
- func (ByteStream_write_Params) DecodeFromPtr(p capnp.Ptr) ByteStream_write_Params
- func (s ByteStream_write_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ByteStream_write_Params) HasData() bool
- func (s ByteStream_write_Params) IsValid() bool
- func (s ByteStream_write_Params) Message() *capnp.Message
- func (s ByteStream_write_Params) Segment() *capnp.Segment
- func (s ByteStream_write_Params) SetData(v []byte) error
- func (s ByteStream_write_Params) String() string
- func (s ByteStream_write_Params) ToPtr() capnp.Ptr
- type ByteStream_write_Params_Future
- type ByteStream_write_Params_List
- type Handle
- func (c Handle) AddRef() Handle
- func (Handle) DecodeFromPtr(p capnp.Ptr) Handle
- func (c Handle) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Handle) GetFlowLimiter() fc.FlowLimiter
- func (c Handle) IsSame(other Handle) bool
- func (c Handle) IsValid() bool
- func (c Handle) Ping(ctx context.Context, params func(Handle_ping_Params) error) (Handle_ping_Results_Future, capnp.ReleaseFunc)
- func (c Handle) Release()
- func (c Handle) Resolve(ctx context.Context) error
- func (c Handle) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Handle) String() string
- type Handle_List
- type Handle_Server
- type Handle_ping
- type Handle_ping_Params
- func (Handle_ping_Params) DecodeFromPtr(p capnp.Ptr) Handle_ping_Params
- func (s Handle_ping_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Handle_ping_Params) IsValid() bool
- func (s Handle_ping_Params) Message() *capnp.Message
- func (s Handle_ping_Params) Segment() *capnp.Segment
- func (s Handle_ping_Params) String() string
- func (s Handle_ping_Params) ToPtr() capnp.Ptr
- type Handle_ping_Params_Future
- type Handle_ping_Params_List
- type Handle_ping_Results
- func (Handle_ping_Results) DecodeFromPtr(p capnp.Ptr) Handle_ping_Results
- func (s Handle_ping_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Handle_ping_Results) IsValid() bool
- func (s Handle_ping_Results) Message() *capnp.Message
- func (s Handle_ping_Results) Segment() *capnp.Segment
- func (s Handle_ping_Results) String() string
- func (s Handle_ping_Results) ToPtr() capnp.Ptr
- type Handle_ping_Results_Future
- type Handle_ping_Results_List
- type KeyValue
- func (KeyValue) DecodeFromPtr(p capnp.Ptr) KeyValue
- func (s KeyValue) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s KeyValue) HasKey() bool
- func (s KeyValue) HasValue() bool
- func (s KeyValue) IsValid() bool
- func (s KeyValue) Key() (string, error)
- func (s KeyValue) KeyBytes() ([]byte, error)
- func (s KeyValue) Message() *capnp.Message
- func (s KeyValue) Segment() *capnp.Segment
- func (s KeyValue) SetKey(v string) error
- func (s KeyValue) SetValue(v string) error
- func (s KeyValue) String() string
- func (s KeyValue) ToPtr() capnp.Ptr
- func (s KeyValue) Value() (string, error)
- func (s KeyValue) ValueBytes() ([]byte, error)
- type KeyValue_Future
- type KeyValue_List
- type LocalizedText
- func (LocalizedText) DecodeFromPtr(p capnp.Ptr) LocalizedText
- func (s LocalizedText) DefaultText() (string, error)
- func (s LocalizedText) DefaultTextBytes() ([]byte, error)
- func (s LocalizedText) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s LocalizedText) HasDefaultText() bool
- func (s LocalizedText) HasLocalizations() bool
- func (s LocalizedText) IsValid() bool
- func (s LocalizedText) Localizations() (LocalizedText_Localization_List, error)
- func (s LocalizedText) Message() *capnp.Message
- func (s LocalizedText) NewLocalizations(n int32) (LocalizedText_Localization_List, error)
- func (s LocalizedText) Segment() *capnp.Segment
- func (s LocalizedText) SetDefaultText(v string) error
- func (s LocalizedText) SetLocalizations(v LocalizedText_Localization_List) error
- func (s LocalizedText) String() string
- func (s LocalizedText) ToPtr() capnp.Ptr
- type LocalizedText_Future
- type LocalizedText_List
- type LocalizedText_Localization
- func (LocalizedText_Localization) DecodeFromPtr(p capnp.Ptr) LocalizedText_Localization
- func (s LocalizedText_Localization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s LocalizedText_Localization) HasLocale() bool
- func (s LocalizedText_Localization) HasText() bool
- func (s LocalizedText_Localization) IsValid() bool
- func (s LocalizedText_Localization) Locale() (string, error)
- func (s LocalizedText_Localization) LocaleBytes() ([]byte, error)
- func (s LocalizedText_Localization) Message() *capnp.Message
- func (s LocalizedText_Localization) Segment() *capnp.Segment
- func (s LocalizedText_Localization) SetLocale(v string) error
- func (s LocalizedText_Localization) SetText(v string) error
- func (s LocalizedText_Localization) String() string
- func (s LocalizedText_Localization) Text() (string, error)
- func (s LocalizedText_Localization) TextBytes() ([]byte, error)
- func (s LocalizedText_Localization) ToPtr() capnp.Ptr
- type LocalizedText_Localization_Future
- type LocalizedText_Localization_List
- type StaticAsset
- func (c StaticAsset) AddRef() StaticAsset
- func (StaticAsset) DecodeFromPtr(p capnp.Ptr) StaticAsset
- func (c StaticAsset) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c StaticAsset) GetFlowLimiter() fc.FlowLimiter
- func (c StaticAsset) GetUrl(ctx context.Context, params func(StaticAsset_getUrl_Params) error) (StaticAsset_getUrl_Results_Future, capnp.ReleaseFunc)
- func (c StaticAsset) IsSame(other StaticAsset) bool
- func (c StaticAsset) IsValid() bool
- func (c StaticAsset) Release()
- func (c StaticAsset) Resolve(ctx context.Context) error
- func (c StaticAsset) SetFlowLimiter(lim fc.FlowLimiter)
- func (c StaticAsset) String() string
- type StaticAsset_List
- type StaticAsset_Protocol
- type StaticAsset_Protocol_List
- type StaticAsset_Server
- type StaticAsset_getUrl
- type StaticAsset_getUrl_Params
- func (StaticAsset_getUrl_Params) DecodeFromPtr(p capnp.Ptr) StaticAsset_getUrl_Params
- func (s StaticAsset_getUrl_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s StaticAsset_getUrl_Params) IsValid() bool
- func (s StaticAsset_getUrl_Params) Message() *capnp.Message
- func (s StaticAsset_getUrl_Params) Segment() *capnp.Segment
- func (s StaticAsset_getUrl_Params) String() string
- func (s StaticAsset_getUrl_Params) ToPtr() capnp.Ptr
- type StaticAsset_getUrl_Params_Future
- type StaticAsset_getUrl_Params_List
- type StaticAsset_getUrl_Results
- func (StaticAsset_getUrl_Results) DecodeFromPtr(p capnp.Ptr) StaticAsset_getUrl_Results
- func (s StaticAsset_getUrl_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s StaticAsset_getUrl_Results) HasHostPath() bool
- func (s StaticAsset_getUrl_Results) HostPath() (string, error)
- func (s StaticAsset_getUrl_Results) HostPathBytes() ([]byte, error)
- func (s StaticAsset_getUrl_Results) IsValid() bool
- func (s StaticAsset_getUrl_Results) Message() *capnp.Message
- func (s StaticAsset_getUrl_Results) Protocol() StaticAsset_Protocol
- func (s StaticAsset_getUrl_Results) Segment() *capnp.Segment
- func (s StaticAsset_getUrl_Results) SetHostPath(v string) error
- func (s StaticAsset_getUrl_Results) SetProtocol(v StaticAsset_Protocol)
- func (s StaticAsset_getUrl_Results) String() string
- func (s StaticAsset_getUrl_Results) ToPtr() capnp.Ptr
- type StaticAsset_getUrl_Results_Future
- type StaticAsset_getUrl_Results_List
Constants ¶
const Assignable_Getter_TypeID = 0x80f2f65360d64224
Assignable_Getter_TypeID is the unique identifier for the type Assignable_Getter.
const Assignable_Getter_get_Params_TypeID = 0xb19fdbd356844119
Assignable_Getter_get_Params_TypeID is the unique identifier for the type Assignable_Getter_get_Params.
const Assignable_Getter_get_Results_TypeID = 0x97ef2da226123492
Assignable_Getter_get_Results_TypeID is the unique identifier for the type Assignable_Getter_get_Results.
const Assignable_Getter_subscribe_Params_TypeID = 0xf02783ef982ecea9
Assignable_Getter_subscribe_Params_TypeID is the unique identifier for the type Assignable_Getter_subscribe_Params.
const Assignable_Getter_subscribe_Results_TypeID = 0x84e0f802c9af605b
Assignable_Getter_subscribe_Results_TypeID is the unique identifier for the type Assignable_Getter_subscribe_Results.
const Assignable_Setter_TypeID = 0xd5256a3f93589d2f
Assignable_Setter_TypeID is the unique identifier for the type Assignable_Setter.
const Assignable_Setter_set_Params_TypeID = 0x98d0372787b787d1
Assignable_Setter_set_Params_TypeID is the unique identifier for the type Assignable_Setter_set_Params.
const Assignable_Setter_set_Results_TypeID = 0xdbfbb635d3e6abab
Assignable_Setter_set_Results_TypeID is the unique identifier for the type Assignable_Setter_set_Results.
const Assignable_TypeID = 0xeaf255b498229199
Assignable_TypeID is the unique identifier for the type Assignable.
const Assignable_asGetter_Params_TypeID = 0xf907945b872b26cf
Assignable_asGetter_Params_TypeID is the unique identifier for the type Assignable_asGetter_Params.
const Assignable_asGetter_Results_TypeID = 0x8c3d547ef2930e96
Assignable_asGetter_Results_TypeID is the unique identifier for the type Assignable_asGetter_Results.
const Assignable_asSetter_Params_TypeID = 0xa01f603357f3b349
Assignable_asSetter_Params_TypeID is the unique identifier for the type Assignable_asSetter_Params.
const Assignable_asSetter_Results_TypeID = 0xc6cbc10181c4f397
Assignable_asSetter_Results_TypeID is the unique identifier for the type Assignable_asSetter_Results.
const Assignable_get_Params_TypeID = 0xbbfd27b5d2515662
Assignable_get_Params_TypeID is the unique identifier for the type Assignable_get_Params.
const Assignable_get_Results_TypeID = 0xb351b437cd426a4f
Assignable_get_Results_TypeID is the unique identifier for the type Assignable_get_Results.
const Blob_TypeID = 0xe53527a75d90198f
Blob_TypeID is the unique identifier for the type Blob.
const Blob_getSize_Params_TypeID = 0x8ee5f62e1fab915d
Blob_getSize_Params_TypeID is the unique identifier for the type Blob_getSize_Params.
const Blob_getSize_Results_TypeID = 0x8e48cb1497f3d6f4
Blob_getSize_Results_TypeID is the unique identifier for the type Blob_getSize_Results.
const Blob_getSlice_Params_TypeID = 0x8edb5f3937d96b8a
Blob_getSlice_Params_TypeID is the unique identifier for the type Blob_getSlice_Params.
const Blob_getSlice_Results_TypeID = 0xc65caf9a2d389078
Blob_getSlice_Results_TypeID is the unique identifier for the type Blob_getSlice_Results.
const Blob_writeTo_Params_TypeID = 0x9f0719e9a9dccc4b
Blob_writeTo_Params_TypeID is the unique identifier for the type Blob_writeTo_Params.
const Blob_writeTo_Results_TypeID = 0xdb3152bd3bc2aa40
Blob_writeTo_Results_TypeID is the unique identifier for the type Blob_writeTo_Results.
const ByteStream_TypeID = 0xcd57387729cfe35f
ByteStream_TypeID is the unique identifier for the type ByteStream.
const ByteStream_done_Params_TypeID = 0xbc1426493658b76e
ByteStream_done_Params_TypeID is the unique identifier for the type ByteStream_done_Params.
const ByteStream_done_Results_TypeID = 0xd0d8d935ee30b219
ByteStream_done_Results_TypeID is the unique identifier for the type ByteStream_done_Results.
const ByteStream_expectSize_Params_TypeID = 0x8c9a3c7674c761d3
ByteStream_expectSize_Params_TypeID is the unique identifier for the type ByteStream_expectSize_Params.
const ByteStream_expectSize_Results_TypeID = 0xf35749d82a51479b
ByteStream_expectSize_Results_TypeID is the unique identifier for the type ByteStream_expectSize_Results.
const ByteStream_write_Params_TypeID = 0x97ed122121126ff2
ByteStream_write_Params_TypeID is the unique identifier for the type ByteStream_write_Params.
const Handle_TypeID = 0x98f424ac606042e0
Handle_TypeID is the unique identifier for the type Handle.
const Handle_ping_Params_TypeID = 0x862b50d52c0258b0
Handle_ping_Params_TypeID is the unique identifier for the type Handle_ping_Params.
const Handle_ping_Results_TypeID = 0xc97765649d6cabe9
Handle_ping_Results_TypeID is the unique identifier for the type Handle_ping_Results.
const KeyValue_TypeID = 0x94a081e4abb13424
KeyValue_TypeID is the unique identifier for the type KeyValue.
const LocalizedText_Localization_TypeID = 0xa4f5ae06dd1b7791
LocalizedText_Localization_TypeID is the unique identifier for the type LocalizedText_Localization.
const LocalizedText_TypeID = 0x8b5db772377be249
LocalizedText_TypeID is the unique identifier for the type LocalizedText.
const StaticAsset_Protocol_TypeID = 0x9714437546d80c39
StaticAsset_Protocol_TypeID is the unique identifier for the type StaticAsset_Protocol.
const StaticAsset_TypeID = 0xfabb5e621fa9a23f
StaticAsset_TypeID is the unique identifier for the type StaticAsset.
const StaticAsset_getUrl_Params_TypeID = 0xa75ecf12570b2966
StaticAsset_getUrl_Params_TypeID is the unique identifier for the type StaticAsset_getUrl_Params.
const StaticAsset_getUrl_Results_TypeID = 0xa5c3aa75d6b648e2
StaticAsset_getUrl_Results_TypeID is the unique identifier for the type StaticAsset_getUrl_Results.
Variables ¶
This section is empty.
Functions ¶
func Assignable_Getter_Methods ¶
func Assignable_Getter_Methods(methods []server.Method, s Assignable_Getter_Server) []server.Method
Assignable_Getter_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Assignable_Getter_NewServer ¶
func Assignable_Getter_NewServer(s Assignable_Getter_Server) *server.Server
Assignable_Getter_NewServer creates a new Server from an implementation of Assignable_Getter_Server.
func Assignable_Methods ¶
func Assignable_Methods(methods []server.Method, s Assignable_Server) []server.Method
Assignable_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Assignable_NewServer ¶
func Assignable_NewServer(s Assignable_Server) *server.Server
Assignable_NewServer creates a new Server from an implementation of Assignable_Server.
func Assignable_Setter_Methods ¶
func Assignable_Setter_Methods(methods []server.Method, s Assignable_Setter_Server) []server.Method
Assignable_Setter_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Assignable_Setter_NewServer ¶
func Assignable_Setter_NewServer(s Assignable_Setter_Server) *server.Server
Assignable_Setter_NewServer creates a new Server from an implementation of Assignable_Setter_Server.
func Blob_Methods ¶
func Blob_Methods(methods []server.Method, s Blob_Server) []server.Method
Blob_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Blob_NewServer ¶
func Blob_NewServer(s Blob_Server) *server.Server
Blob_NewServer creates a new Server from an implementation of Blob_Server.
func ByteStream_Methods ¶
func ByteStream_Methods(methods []server.Method, s ByteStream_Server) []server.Method
ByteStream_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func ByteStream_NewServer ¶
func ByteStream_NewServer(s ByteStream_Server) *server.Server
ByteStream_NewServer creates a new Server from an implementation of ByteStream_Server.
func Handle_Methods ¶
func Handle_Methods(methods []server.Method, s Handle_Server) []server.Method
Handle_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Handle_NewServer ¶
func Handle_NewServer(s Handle_Server) *server.Server
Handle_NewServer creates a new Server from an implementation of Handle_Server.
func StaticAsset_Methods ¶
func StaticAsset_Methods(methods []server.Method, s StaticAsset_Server) []server.Method
StaticAsset_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func StaticAsset_NewServer ¶
func StaticAsset_NewServer(s StaticAsset_Server) *server.Server
StaticAsset_NewServer creates a new Server from an implementation of StaticAsset_Server.
Types ¶
type Assignable ¶
func Assignable_ServerToClient ¶
func Assignable_ServerToClient(s Assignable_Server) Assignable
Assignable_ServerToClient creates a new Client from an implementation of Assignable_Server. The caller is responsible for calling Release on the returned Client.
func (Assignable) AddRef ¶
func (c Assignable) AddRef() Assignable
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 (Assignable) AsGetter ¶
func (c Assignable) AsGetter(ctx context.Context, params func(Assignable_asGetter_Params) error) (Assignable_asGetter_Results_Future, capnp.ReleaseFunc)
func (Assignable) AsSetter ¶
func (c Assignable) AsSetter(ctx context.Context, params func(Assignable_asSetter_Params) error) (Assignable_asSetter_Results_Future, capnp.ReleaseFunc)
func (Assignable) DecodeFromPtr ¶
func (Assignable) DecodeFromPtr(p capnp.Ptr) Assignable
func (Assignable) EncodeAsPtr ¶
func (c Assignable) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable) Get ¶
func (c Assignable) Get(ctx context.Context, params func(Assignable_get_Params) error) (Assignable_get_Results_Future, capnp.ReleaseFunc)
func (Assignable) GetFlowLimiter ¶
func (c Assignable) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Assignable) IsSame ¶
func (c Assignable) IsSame(other Assignable) 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 (Assignable) IsValid ¶
func (c Assignable) 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 (Assignable) Release ¶
func (c Assignable) 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 (Assignable) Resolve ¶
func (c Assignable) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Assignable) SetFlowLimiter ¶
func (c Assignable) 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 (Assignable) String ¶
func (c Assignable) 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.
type Assignable_Getter ¶
func Assignable_Getter_ServerToClient ¶
func Assignable_Getter_ServerToClient(s Assignable_Getter_Server) Assignable_Getter
Assignable_Getter_ServerToClient creates a new Client from an implementation of Assignable_Getter_Server. The caller is responsible for calling Release on the returned Client.
func (Assignable_Getter) AddRef ¶
func (c Assignable_Getter) AddRef() Assignable_Getter
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 (Assignable_Getter) DecodeFromPtr ¶
func (Assignable_Getter) DecodeFromPtr(p capnp.Ptr) Assignable_Getter
func (Assignable_Getter) EncodeAsPtr ¶
func (c Assignable_Getter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Getter) Get ¶
func (c Assignable_Getter) Get(ctx context.Context, params func(Assignable_Getter_get_Params) error) (Assignable_Getter_get_Results_Future, capnp.ReleaseFunc)
func (Assignable_Getter) GetFlowLimiter ¶
func (c Assignable_Getter) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Assignable_Getter) IsSame ¶
func (c Assignable_Getter) IsSame(other Assignable_Getter) 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 (Assignable_Getter) IsValid ¶
func (c Assignable_Getter) 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 (Assignable_Getter) Release ¶
func (c Assignable_Getter) 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 (Assignable_Getter) Resolve ¶
func (c Assignable_Getter) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Assignable_Getter) SetFlowLimiter ¶
func (c Assignable_Getter) 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 (Assignable_Getter) String ¶
func (c Assignable_Getter) 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 (Assignable_Getter) Subscribe ¶
func (c Assignable_Getter) Subscribe(ctx context.Context, params func(Assignable_Getter_subscribe_Params) error) (Assignable_Getter_subscribe_Results_Future, capnp.ReleaseFunc)
type Assignable_Getter_List ¶
type Assignable_Getter_List = capnp.CapList[Assignable_Getter]
Assignable_Getter_List is a list of Assignable_Getter.
func NewAssignable_Getter_List ¶
func NewAssignable_Getter_List(s *capnp.Segment, sz int32) (Assignable_Getter_List, error)
NewAssignable_Getter creates a new list of Assignable_Getter.
type Assignable_Getter_Server ¶
type Assignable_Getter_Server interface { Get(context.Context, Assignable_Getter_get) error Subscribe(context.Context, Assignable_Getter_subscribe) error }
type Assignable_Getter_get ¶
Assignable_Getter_get holds the state for a server call to Assignable_Getter.get. See server.Call for documentation.
func (Assignable_Getter_get) AllocResults ¶
func (c Assignable_Getter_get) AllocResults() (Assignable_Getter_get_Results, error)
AllocResults allocates the results struct.
func (Assignable_Getter_get) Args ¶
func (c Assignable_Getter_get) Args() Assignable_Getter_get_Params
Args returns the call's arguments.
type Assignable_Getter_get_Params ¶
func NewAssignable_Getter_get_Params ¶
func NewAssignable_Getter_get_Params(s *capnp.Segment) (Assignable_Getter_get_Params, error)
func NewRootAssignable_Getter_get_Params ¶
func NewRootAssignable_Getter_get_Params(s *capnp.Segment) (Assignable_Getter_get_Params, error)
func ReadRootAssignable_Getter_get_Params ¶
func ReadRootAssignable_Getter_get_Params(msg *capnp.Message) (Assignable_Getter_get_Params, error)
func (Assignable_Getter_get_Params) DecodeFromPtr ¶
func (Assignable_Getter_get_Params) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_get_Params
func (Assignable_Getter_get_Params) EncodeAsPtr ¶
func (s Assignable_Getter_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Getter_get_Params) IsValid ¶
func (s Assignable_Getter_get_Params) IsValid() bool
func (Assignable_Getter_get_Params) Message ¶
func (s Assignable_Getter_get_Params) Message() *capnp.Message
func (Assignable_Getter_get_Params) Segment ¶
func (s Assignable_Getter_get_Params) Segment() *capnp.Segment
func (Assignable_Getter_get_Params) String ¶
func (s Assignable_Getter_get_Params) String() string
func (Assignable_Getter_get_Params) ToPtr ¶
func (s Assignable_Getter_get_Params) ToPtr() capnp.Ptr
type Assignable_Getter_get_Params_Future ¶
Assignable_Getter_get_Params_Future is a wrapper for a Assignable_Getter_get_Params promised by a client call.
func (Assignable_Getter_get_Params_Future) Struct ¶
func (f Assignable_Getter_get_Params_Future) Struct() (Assignable_Getter_get_Params, error)
type Assignable_Getter_get_Params_List ¶
type Assignable_Getter_get_Params_List = capnp.StructList[Assignable_Getter_get_Params]
Assignable_Getter_get_Params_List is a list of Assignable_Getter_get_Params.
func NewAssignable_Getter_get_Params_List ¶
func NewAssignable_Getter_get_Params_List(s *capnp.Segment, sz int32) (Assignable_Getter_get_Params_List, error)
NewAssignable_Getter_get_Params creates a new list of Assignable_Getter_get_Params.
type Assignable_Getter_get_Results ¶
func NewAssignable_Getter_get_Results ¶
func NewAssignable_Getter_get_Results(s *capnp.Segment) (Assignable_Getter_get_Results, error)
func NewRootAssignable_Getter_get_Results ¶
func NewRootAssignable_Getter_get_Results(s *capnp.Segment) (Assignable_Getter_get_Results, error)
func ReadRootAssignable_Getter_get_Results ¶
func ReadRootAssignable_Getter_get_Results(msg *capnp.Message) (Assignable_Getter_get_Results, error)
func (Assignable_Getter_get_Results) DecodeFromPtr ¶
func (Assignable_Getter_get_Results) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_get_Results
func (Assignable_Getter_get_Results) EncodeAsPtr ¶
func (s Assignable_Getter_get_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Getter_get_Results) HasValue ¶
func (s Assignable_Getter_get_Results) HasValue() bool
func (Assignable_Getter_get_Results) IsValid ¶
func (s Assignable_Getter_get_Results) IsValid() bool
func (Assignable_Getter_get_Results) Message ¶
func (s Assignable_Getter_get_Results) Message() *capnp.Message
func (Assignable_Getter_get_Results) Segment ¶
func (s Assignable_Getter_get_Results) Segment() *capnp.Segment
func (Assignable_Getter_get_Results) SetValue ¶
func (s Assignable_Getter_get_Results) SetValue(v capnp.Ptr) error
func (Assignable_Getter_get_Results) String ¶
func (s Assignable_Getter_get_Results) String() string
func (Assignable_Getter_get_Results) ToPtr ¶
func (s Assignable_Getter_get_Results) ToPtr() capnp.Ptr
type Assignable_Getter_get_Results_Future ¶
Assignable_Getter_get_Results_Future is a wrapper for a Assignable_Getter_get_Results promised by a client call.
func (Assignable_Getter_get_Results_Future) Struct ¶
func (f Assignable_Getter_get_Results_Future) Struct() (Assignable_Getter_get_Results, error)
func (Assignable_Getter_get_Results_Future) Value ¶
func (p Assignable_Getter_get_Results_Future) Value() *capnp.Future
type Assignable_Getter_get_Results_List ¶
type Assignable_Getter_get_Results_List = capnp.StructList[Assignable_Getter_get_Results]
Assignable_Getter_get_Results_List is a list of Assignable_Getter_get_Results.
func NewAssignable_Getter_get_Results_List ¶
func NewAssignable_Getter_get_Results_List(s *capnp.Segment, sz int32) (Assignable_Getter_get_Results_List, error)
NewAssignable_Getter_get_Results creates a new list of Assignable_Getter_get_Results.
type Assignable_Getter_subscribe ¶
Assignable_Getter_subscribe holds the state for a server call to Assignable_Getter.subscribe. See server.Call for documentation.
func (Assignable_Getter_subscribe) AllocResults ¶
func (c Assignable_Getter_subscribe) AllocResults() (Assignable_Getter_subscribe_Results, error)
AllocResults allocates the results struct.
func (Assignable_Getter_subscribe) Args ¶
func (c Assignable_Getter_subscribe) Args() Assignable_Getter_subscribe_Params
Args returns the call's arguments.
type Assignable_Getter_subscribe_Params ¶
func NewAssignable_Getter_subscribe_Params ¶
func NewAssignable_Getter_subscribe_Params(s *capnp.Segment) (Assignable_Getter_subscribe_Params, error)
func NewRootAssignable_Getter_subscribe_Params ¶
func NewRootAssignable_Getter_subscribe_Params(s *capnp.Segment) (Assignable_Getter_subscribe_Params, error)
func ReadRootAssignable_Getter_subscribe_Params ¶
func ReadRootAssignable_Getter_subscribe_Params(msg *capnp.Message) (Assignable_Getter_subscribe_Params, error)
func (Assignable_Getter_subscribe_Params) DecodeFromPtr ¶
func (Assignable_Getter_subscribe_Params) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_subscribe_Params
func (Assignable_Getter_subscribe_Params) EncodeAsPtr ¶
func (s Assignable_Getter_subscribe_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Getter_subscribe_Params) HasSetter ¶
func (s Assignable_Getter_subscribe_Params) HasSetter() bool
func (Assignable_Getter_subscribe_Params) IsValid ¶
func (s Assignable_Getter_subscribe_Params) IsValid() bool
func (Assignable_Getter_subscribe_Params) Message ¶
func (s Assignable_Getter_subscribe_Params) Message() *capnp.Message
func (Assignable_Getter_subscribe_Params) Segment ¶
func (s Assignable_Getter_subscribe_Params) Segment() *capnp.Segment
func (Assignable_Getter_subscribe_Params) SetSetter ¶
func (s Assignable_Getter_subscribe_Params) SetSetter(v Assignable_Setter) error
func (Assignable_Getter_subscribe_Params) Setter ¶
func (s Assignable_Getter_subscribe_Params) Setter() Assignable_Setter
func (Assignable_Getter_subscribe_Params) String ¶
func (s Assignable_Getter_subscribe_Params) String() string
func (Assignable_Getter_subscribe_Params) ToPtr ¶
func (s Assignable_Getter_subscribe_Params) ToPtr() capnp.Ptr
type Assignable_Getter_subscribe_Params_Future ¶
Assignable_Getter_subscribe_Params_Future is a wrapper for a Assignable_Getter_subscribe_Params promised by a client call.
func (Assignable_Getter_subscribe_Params_Future) Setter ¶
func (p Assignable_Getter_subscribe_Params_Future) Setter() Assignable_Setter
func (Assignable_Getter_subscribe_Params_Future) Struct ¶
func (f Assignable_Getter_subscribe_Params_Future) Struct() (Assignable_Getter_subscribe_Params, error)
type Assignable_Getter_subscribe_Params_List ¶
type Assignable_Getter_subscribe_Params_List = capnp.StructList[Assignable_Getter_subscribe_Params]
Assignable_Getter_subscribe_Params_List is a list of Assignable_Getter_subscribe_Params.
func NewAssignable_Getter_subscribe_Params_List ¶
func NewAssignable_Getter_subscribe_Params_List(s *capnp.Segment, sz int32) (Assignable_Getter_subscribe_Params_List, error)
NewAssignable_Getter_subscribe_Params creates a new list of Assignable_Getter_subscribe_Params.
type Assignable_Getter_subscribe_Results ¶
func NewAssignable_Getter_subscribe_Results ¶
func NewAssignable_Getter_subscribe_Results(s *capnp.Segment) (Assignable_Getter_subscribe_Results, error)
func NewRootAssignable_Getter_subscribe_Results ¶
func NewRootAssignable_Getter_subscribe_Results(s *capnp.Segment) (Assignable_Getter_subscribe_Results, error)
func ReadRootAssignable_Getter_subscribe_Results ¶
func ReadRootAssignable_Getter_subscribe_Results(msg *capnp.Message) (Assignable_Getter_subscribe_Results, error)
func (Assignable_Getter_subscribe_Results) DecodeFromPtr ¶
func (Assignable_Getter_subscribe_Results) DecodeFromPtr(p capnp.Ptr) Assignable_Getter_subscribe_Results
func (Assignable_Getter_subscribe_Results) EncodeAsPtr ¶
func (s Assignable_Getter_subscribe_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Getter_subscribe_Results) Handle ¶
func (s Assignable_Getter_subscribe_Results) Handle() Handle
func (Assignable_Getter_subscribe_Results) HasHandle ¶
func (s Assignable_Getter_subscribe_Results) HasHandle() bool
func (Assignable_Getter_subscribe_Results) IsValid ¶
func (s Assignable_Getter_subscribe_Results) IsValid() bool
func (Assignable_Getter_subscribe_Results) Message ¶
func (s Assignable_Getter_subscribe_Results) Message() *capnp.Message
func (Assignable_Getter_subscribe_Results) Segment ¶
func (s Assignable_Getter_subscribe_Results) Segment() *capnp.Segment
func (Assignable_Getter_subscribe_Results) SetHandle ¶
func (s Assignable_Getter_subscribe_Results) SetHandle(v Handle) error
func (Assignable_Getter_subscribe_Results) String ¶
func (s Assignable_Getter_subscribe_Results) String() string
func (Assignable_Getter_subscribe_Results) ToPtr ¶
func (s Assignable_Getter_subscribe_Results) ToPtr() capnp.Ptr
type Assignable_Getter_subscribe_Results_Future ¶
Assignable_Getter_subscribe_Results_Future is a wrapper for a Assignable_Getter_subscribe_Results promised by a client call.
func (Assignable_Getter_subscribe_Results_Future) Handle ¶
func (p Assignable_Getter_subscribe_Results_Future) Handle() Handle
func (Assignable_Getter_subscribe_Results_Future) Struct ¶
func (f Assignable_Getter_subscribe_Results_Future) Struct() (Assignable_Getter_subscribe_Results, error)
type Assignable_Getter_subscribe_Results_List ¶
type Assignable_Getter_subscribe_Results_List = capnp.StructList[Assignable_Getter_subscribe_Results]
Assignable_Getter_subscribe_Results_List is a list of Assignable_Getter_subscribe_Results.
func NewAssignable_Getter_subscribe_Results_List ¶
func NewAssignable_Getter_subscribe_Results_List(s *capnp.Segment, sz int32) (Assignable_Getter_subscribe_Results_List, error)
NewAssignable_Getter_subscribe_Results creates a new list of Assignable_Getter_subscribe_Results.
type Assignable_List ¶
type Assignable_List = capnp.CapList[Assignable]
Assignable_List is a list of Assignable.
func NewAssignable_List ¶
func NewAssignable_List(s *capnp.Segment, sz int32) (Assignable_List, error)
NewAssignable creates a new list of Assignable.
type Assignable_Server ¶
type Assignable_Server interface { Get(context.Context, Assignable_get) error AsGetter(context.Context, Assignable_asGetter) error AsSetter(context.Context, Assignable_asSetter) error }
type Assignable_Setter ¶
func Assignable_Setter_ServerToClient ¶
func Assignable_Setter_ServerToClient(s Assignable_Setter_Server) Assignable_Setter
Assignable_Setter_ServerToClient creates a new Client from an implementation of Assignable_Setter_Server. The caller is responsible for calling Release on the returned Client.
func (Assignable_Setter) AddRef ¶
func (c Assignable_Setter) AddRef() Assignable_Setter
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 (Assignable_Setter) DecodeFromPtr ¶
func (Assignable_Setter) DecodeFromPtr(p capnp.Ptr) Assignable_Setter
func (Assignable_Setter) EncodeAsPtr ¶
func (c Assignable_Setter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Setter) GetFlowLimiter ¶
func (c Assignable_Setter) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Assignable_Setter) IsSame ¶
func (c Assignable_Setter) IsSame(other Assignable_Setter) 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 (Assignable_Setter) IsValid ¶
func (c Assignable_Setter) 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 (Assignable_Setter) Release ¶
func (c Assignable_Setter) 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 (Assignable_Setter) Resolve ¶
func (c Assignable_Setter) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Assignable_Setter) Set ¶
func (c Assignable_Setter) Set(ctx context.Context, params func(Assignable_Setter_set_Params) error) (Assignable_Setter_set_Results_Future, capnp.ReleaseFunc)
func (Assignable_Setter) SetFlowLimiter ¶
func (c Assignable_Setter) 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 (Assignable_Setter) String ¶
func (c Assignable_Setter) 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.
type Assignable_Setter_List ¶
type Assignable_Setter_List = capnp.CapList[Assignable_Setter]
Assignable_Setter_List is a list of Assignable_Setter.
func NewAssignable_Setter_List ¶
func NewAssignable_Setter_List(s *capnp.Segment, sz int32) (Assignable_Setter_List, error)
NewAssignable_Setter creates a new list of Assignable_Setter.
type Assignable_Setter_Server ¶
type Assignable_Setter_Server interface {
Set(context.Context, Assignable_Setter_set) error
}
type Assignable_Setter_set ¶
Assignable_Setter_set holds the state for a server call to Assignable_Setter.set. See server.Call for documentation.
func (Assignable_Setter_set) AllocResults ¶
func (c Assignable_Setter_set) AllocResults() (Assignable_Setter_set_Results, error)
AllocResults allocates the results struct.
func (Assignable_Setter_set) Args ¶
func (c Assignable_Setter_set) Args() Assignable_Setter_set_Params
Args returns the call's arguments.
type Assignable_Setter_set_Params ¶
func NewAssignable_Setter_set_Params ¶
func NewAssignable_Setter_set_Params(s *capnp.Segment) (Assignable_Setter_set_Params, error)
func NewRootAssignable_Setter_set_Params ¶
func NewRootAssignable_Setter_set_Params(s *capnp.Segment) (Assignable_Setter_set_Params, error)
func ReadRootAssignable_Setter_set_Params ¶
func ReadRootAssignable_Setter_set_Params(msg *capnp.Message) (Assignable_Setter_set_Params, error)
func (Assignable_Setter_set_Params) DecodeFromPtr ¶
func (Assignable_Setter_set_Params) DecodeFromPtr(p capnp.Ptr) Assignable_Setter_set_Params
func (Assignable_Setter_set_Params) EncodeAsPtr ¶
func (s Assignable_Setter_set_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Setter_set_Params) HasValue ¶
func (s Assignable_Setter_set_Params) HasValue() bool
func (Assignable_Setter_set_Params) IsValid ¶
func (s Assignable_Setter_set_Params) IsValid() bool
func (Assignable_Setter_set_Params) Message ¶
func (s Assignable_Setter_set_Params) Message() *capnp.Message
func (Assignable_Setter_set_Params) Segment ¶
func (s Assignable_Setter_set_Params) Segment() *capnp.Segment
func (Assignable_Setter_set_Params) SetValue ¶
func (s Assignable_Setter_set_Params) SetValue(v capnp.Ptr) error
func (Assignable_Setter_set_Params) String ¶
func (s Assignable_Setter_set_Params) String() string
func (Assignable_Setter_set_Params) ToPtr ¶
func (s Assignable_Setter_set_Params) ToPtr() capnp.Ptr
type Assignable_Setter_set_Params_Future ¶
Assignable_Setter_set_Params_Future is a wrapper for a Assignable_Setter_set_Params promised by a client call.
func (Assignable_Setter_set_Params_Future) Struct ¶
func (f Assignable_Setter_set_Params_Future) Struct() (Assignable_Setter_set_Params, error)
func (Assignable_Setter_set_Params_Future) Value ¶
func (p Assignable_Setter_set_Params_Future) Value() *capnp.Future
type Assignable_Setter_set_Params_List ¶
type Assignable_Setter_set_Params_List = capnp.StructList[Assignable_Setter_set_Params]
Assignable_Setter_set_Params_List is a list of Assignable_Setter_set_Params.
func NewAssignable_Setter_set_Params_List ¶
func NewAssignable_Setter_set_Params_List(s *capnp.Segment, sz int32) (Assignable_Setter_set_Params_List, error)
NewAssignable_Setter_set_Params creates a new list of Assignable_Setter_set_Params.
type Assignable_Setter_set_Results ¶
func NewAssignable_Setter_set_Results ¶
func NewAssignable_Setter_set_Results(s *capnp.Segment) (Assignable_Setter_set_Results, error)
func NewRootAssignable_Setter_set_Results ¶
func NewRootAssignable_Setter_set_Results(s *capnp.Segment) (Assignable_Setter_set_Results, error)
func ReadRootAssignable_Setter_set_Results ¶
func ReadRootAssignable_Setter_set_Results(msg *capnp.Message) (Assignable_Setter_set_Results, error)
func (Assignable_Setter_set_Results) DecodeFromPtr ¶
func (Assignable_Setter_set_Results) DecodeFromPtr(p capnp.Ptr) Assignable_Setter_set_Results
func (Assignable_Setter_set_Results) EncodeAsPtr ¶
func (s Assignable_Setter_set_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_Setter_set_Results) IsValid ¶
func (s Assignable_Setter_set_Results) IsValid() bool
func (Assignable_Setter_set_Results) Message ¶
func (s Assignable_Setter_set_Results) Message() *capnp.Message
func (Assignable_Setter_set_Results) Segment ¶
func (s Assignable_Setter_set_Results) Segment() *capnp.Segment
func (Assignable_Setter_set_Results) String ¶
func (s Assignable_Setter_set_Results) String() string
func (Assignable_Setter_set_Results) ToPtr ¶
func (s Assignable_Setter_set_Results) ToPtr() capnp.Ptr
type Assignable_Setter_set_Results_Future ¶
Assignable_Setter_set_Results_Future is a wrapper for a Assignable_Setter_set_Results promised by a client call.
func (Assignable_Setter_set_Results_Future) Struct ¶
func (f Assignable_Setter_set_Results_Future) Struct() (Assignable_Setter_set_Results, error)
type Assignable_Setter_set_Results_List ¶
type Assignable_Setter_set_Results_List = capnp.StructList[Assignable_Setter_set_Results]
Assignable_Setter_set_Results_List is a list of Assignable_Setter_set_Results.
func NewAssignable_Setter_set_Results_List ¶
func NewAssignable_Setter_set_Results_List(s *capnp.Segment, sz int32) (Assignable_Setter_set_Results_List, error)
NewAssignable_Setter_set_Results creates a new list of Assignable_Setter_set_Results.
type Assignable_asGetter ¶
Assignable_asGetter holds the state for a server call to Assignable.asGetter. See server.Call for documentation.
func (Assignable_asGetter) AllocResults ¶
func (c Assignable_asGetter) AllocResults() (Assignable_asGetter_Results, error)
AllocResults allocates the results struct.
func (Assignable_asGetter) Args ¶
func (c Assignable_asGetter) Args() Assignable_asGetter_Params
Args returns the call's arguments.
type Assignable_asGetter_Params ¶
func NewAssignable_asGetter_Params ¶
func NewAssignable_asGetter_Params(s *capnp.Segment) (Assignable_asGetter_Params, error)
func NewRootAssignable_asGetter_Params ¶
func NewRootAssignable_asGetter_Params(s *capnp.Segment) (Assignable_asGetter_Params, error)
func ReadRootAssignable_asGetter_Params ¶
func ReadRootAssignable_asGetter_Params(msg *capnp.Message) (Assignable_asGetter_Params, error)
func (Assignable_asGetter_Params) DecodeFromPtr ¶
func (Assignable_asGetter_Params) DecodeFromPtr(p capnp.Ptr) Assignable_asGetter_Params
func (Assignable_asGetter_Params) EncodeAsPtr ¶
func (s Assignable_asGetter_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_asGetter_Params) IsValid ¶
func (s Assignable_asGetter_Params) IsValid() bool
func (Assignable_asGetter_Params) Message ¶
func (s Assignable_asGetter_Params) Message() *capnp.Message
func (Assignable_asGetter_Params) Segment ¶
func (s Assignable_asGetter_Params) Segment() *capnp.Segment
func (Assignable_asGetter_Params) String ¶
func (s Assignable_asGetter_Params) String() string
func (Assignable_asGetter_Params) ToPtr ¶
func (s Assignable_asGetter_Params) ToPtr() capnp.Ptr
type Assignable_asGetter_Params_Future ¶
Assignable_asGetter_Params_Future is a wrapper for a Assignable_asGetter_Params promised by a client call.
func (Assignable_asGetter_Params_Future) Struct ¶
func (f Assignable_asGetter_Params_Future) Struct() (Assignable_asGetter_Params, error)
type Assignable_asGetter_Params_List ¶
type Assignable_asGetter_Params_List = capnp.StructList[Assignable_asGetter_Params]
Assignable_asGetter_Params_List is a list of Assignable_asGetter_Params.
func NewAssignable_asGetter_Params_List ¶
func NewAssignable_asGetter_Params_List(s *capnp.Segment, sz int32) (Assignable_asGetter_Params_List, error)
NewAssignable_asGetter_Params creates a new list of Assignable_asGetter_Params.
type Assignable_asGetter_Results ¶
func NewAssignable_asGetter_Results ¶
func NewAssignable_asGetter_Results(s *capnp.Segment) (Assignable_asGetter_Results, error)
func NewRootAssignable_asGetter_Results ¶
func NewRootAssignable_asGetter_Results(s *capnp.Segment) (Assignable_asGetter_Results, error)
func ReadRootAssignable_asGetter_Results ¶
func ReadRootAssignable_asGetter_Results(msg *capnp.Message) (Assignable_asGetter_Results, error)
func (Assignable_asGetter_Results) DecodeFromPtr ¶
func (Assignable_asGetter_Results) DecodeFromPtr(p capnp.Ptr) Assignable_asGetter_Results
func (Assignable_asGetter_Results) EncodeAsPtr ¶
func (s Assignable_asGetter_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_asGetter_Results) Getter ¶
func (s Assignable_asGetter_Results) Getter() Assignable_Getter
func (Assignable_asGetter_Results) HasGetter ¶
func (s Assignable_asGetter_Results) HasGetter() bool
func (Assignable_asGetter_Results) IsValid ¶
func (s Assignable_asGetter_Results) IsValid() bool
func (Assignable_asGetter_Results) Message ¶
func (s Assignable_asGetter_Results) Message() *capnp.Message
func (Assignable_asGetter_Results) Segment ¶
func (s Assignable_asGetter_Results) Segment() *capnp.Segment
func (Assignable_asGetter_Results) SetGetter ¶
func (s Assignable_asGetter_Results) SetGetter(v Assignable_Getter) error
func (Assignable_asGetter_Results) String ¶
func (s Assignable_asGetter_Results) String() string
func (Assignable_asGetter_Results) ToPtr ¶
func (s Assignable_asGetter_Results) ToPtr() capnp.Ptr
type Assignable_asGetter_Results_Future ¶
Assignable_asGetter_Results_Future is a wrapper for a Assignable_asGetter_Results promised by a client call.
func (Assignable_asGetter_Results_Future) Getter ¶
func (p Assignable_asGetter_Results_Future) Getter() Assignable_Getter
func (Assignable_asGetter_Results_Future) Struct ¶
func (f Assignable_asGetter_Results_Future) Struct() (Assignable_asGetter_Results, error)
type Assignable_asGetter_Results_List ¶
type Assignable_asGetter_Results_List = capnp.StructList[Assignable_asGetter_Results]
Assignable_asGetter_Results_List is a list of Assignable_asGetter_Results.
func NewAssignable_asGetter_Results_List ¶
func NewAssignable_asGetter_Results_List(s *capnp.Segment, sz int32) (Assignable_asGetter_Results_List, error)
NewAssignable_asGetter_Results creates a new list of Assignable_asGetter_Results.
type Assignable_asSetter ¶
Assignable_asSetter holds the state for a server call to Assignable.asSetter. See server.Call for documentation.
func (Assignable_asSetter) AllocResults ¶
func (c Assignable_asSetter) AllocResults() (Assignable_asSetter_Results, error)
AllocResults allocates the results struct.
func (Assignable_asSetter) Args ¶
func (c Assignable_asSetter) Args() Assignable_asSetter_Params
Args returns the call's arguments.
type Assignable_asSetter_Params ¶
func NewAssignable_asSetter_Params ¶
func NewAssignable_asSetter_Params(s *capnp.Segment) (Assignable_asSetter_Params, error)
func NewRootAssignable_asSetter_Params ¶
func NewRootAssignable_asSetter_Params(s *capnp.Segment) (Assignable_asSetter_Params, error)
func ReadRootAssignable_asSetter_Params ¶
func ReadRootAssignable_asSetter_Params(msg *capnp.Message) (Assignable_asSetter_Params, error)
func (Assignable_asSetter_Params) DecodeFromPtr ¶
func (Assignable_asSetter_Params) DecodeFromPtr(p capnp.Ptr) Assignable_asSetter_Params
func (Assignable_asSetter_Params) EncodeAsPtr ¶
func (s Assignable_asSetter_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_asSetter_Params) IsValid ¶
func (s Assignable_asSetter_Params) IsValid() bool
func (Assignable_asSetter_Params) Message ¶
func (s Assignable_asSetter_Params) Message() *capnp.Message
func (Assignable_asSetter_Params) Segment ¶
func (s Assignable_asSetter_Params) Segment() *capnp.Segment
func (Assignable_asSetter_Params) String ¶
func (s Assignable_asSetter_Params) String() string
func (Assignable_asSetter_Params) ToPtr ¶
func (s Assignable_asSetter_Params) ToPtr() capnp.Ptr
type Assignable_asSetter_Params_Future ¶
Assignable_asSetter_Params_Future is a wrapper for a Assignable_asSetter_Params promised by a client call.
func (Assignable_asSetter_Params_Future) Struct ¶
func (f Assignable_asSetter_Params_Future) Struct() (Assignable_asSetter_Params, error)
type Assignable_asSetter_Params_List ¶
type Assignable_asSetter_Params_List = capnp.StructList[Assignable_asSetter_Params]
Assignable_asSetter_Params_List is a list of Assignable_asSetter_Params.
func NewAssignable_asSetter_Params_List ¶
func NewAssignable_asSetter_Params_List(s *capnp.Segment, sz int32) (Assignable_asSetter_Params_List, error)
NewAssignable_asSetter_Params creates a new list of Assignable_asSetter_Params.
type Assignable_asSetter_Results ¶
func NewAssignable_asSetter_Results ¶
func NewAssignable_asSetter_Results(s *capnp.Segment) (Assignable_asSetter_Results, error)
func NewRootAssignable_asSetter_Results ¶
func NewRootAssignable_asSetter_Results(s *capnp.Segment) (Assignable_asSetter_Results, error)
func ReadRootAssignable_asSetter_Results ¶
func ReadRootAssignable_asSetter_Results(msg *capnp.Message) (Assignable_asSetter_Results, error)
func (Assignable_asSetter_Results) DecodeFromPtr ¶
func (Assignable_asSetter_Results) DecodeFromPtr(p capnp.Ptr) Assignable_asSetter_Results
func (Assignable_asSetter_Results) EncodeAsPtr ¶
func (s Assignable_asSetter_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_asSetter_Results) HasSetter ¶
func (s Assignable_asSetter_Results) HasSetter() bool
func (Assignable_asSetter_Results) IsValid ¶
func (s Assignable_asSetter_Results) IsValid() bool
func (Assignable_asSetter_Results) Message ¶
func (s Assignable_asSetter_Results) Message() *capnp.Message
func (Assignable_asSetter_Results) Segment ¶
func (s Assignable_asSetter_Results) Segment() *capnp.Segment
func (Assignable_asSetter_Results) SetSetter ¶
func (s Assignable_asSetter_Results) SetSetter(v Assignable_Setter) error
func (Assignable_asSetter_Results) Setter ¶
func (s Assignable_asSetter_Results) Setter() Assignable_Setter
func (Assignable_asSetter_Results) String ¶
func (s Assignable_asSetter_Results) String() string
func (Assignable_asSetter_Results) ToPtr ¶
func (s Assignable_asSetter_Results) ToPtr() capnp.Ptr
type Assignable_asSetter_Results_Future ¶
Assignable_asSetter_Results_Future is a wrapper for a Assignable_asSetter_Results promised by a client call.
func (Assignable_asSetter_Results_Future) Setter ¶
func (p Assignable_asSetter_Results_Future) Setter() Assignable_Setter
func (Assignable_asSetter_Results_Future) Struct ¶
func (f Assignable_asSetter_Results_Future) Struct() (Assignable_asSetter_Results, error)
type Assignable_asSetter_Results_List ¶
type Assignable_asSetter_Results_List = capnp.StructList[Assignable_asSetter_Results]
Assignable_asSetter_Results_List is a list of Assignable_asSetter_Results.
func NewAssignable_asSetter_Results_List ¶
func NewAssignable_asSetter_Results_List(s *capnp.Segment, sz int32) (Assignable_asSetter_Results_List, error)
NewAssignable_asSetter_Results creates a new list of Assignable_asSetter_Results.
type Assignable_get ¶
Assignable_get holds the state for a server call to Assignable.get. See server.Call for documentation.
func (Assignable_get) AllocResults ¶
func (c Assignable_get) AllocResults() (Assignable_get_Results, error)
AllocResults allocates the results struct.
func (Assignable_get) Args ¶
func (c Assignable_get) Args() Assignable_get_Params
Args returns the call's arguments.
type Assignable_get_Params ¶
func NewAssignable_get_Params ¶
func NewAssignable_get_Params(s *capnp.Segment) (Assignable_get_Params, error)
func NewRootAssignable_get_Params ¶
func NewRootAssignable_get_Params(s *capnp.Segment) (Assignable_get_Params, error)
func ReadRootAssignable_get_Params ¶
func ReadRootAssignable_get_Params(msg *capnp.Message) (Assignable_get_Params, error)
func (Assignable_get_Params) DecodeFromPtr ¶
func (Assignable_get_Params) DecodeFromPtr(p capnp.Ptr) Assignable_get_Params
func (Assignable_get_Params) EncodeAsPtr ¶
func (s Assignable_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_get_Params) IsValid ¶
func (s Assignable_get_Params) IsValid() bool
func (Assignable_get_Params) Message ¶
func (s Assignable_get_Params) Message() *capnp.Message
func (Assignable_get_Params) Segment ¶
func (s Assignable_get_Params) Segment() *capnp.Segment
func (Assignable_get_Params) String ¶
func (s Assignable_get_Params) String() string
func (Assignable_get_Params) ToPtr ¶
func (s Assignable_get_Params) ToPtr() capnp.Ptr
type Assignable_get_Params_Future ¶
Assignable_get_Params_Future is a wrapper for a Assignable_get_Params promised by a client call.
func (Assignable_get_Params_Future) Struct ¶
func (f Assignable_get_Params_Future) Struct() (Assignable_get_Params, error)
type Assignable_get_Params_List ¶
type Assignable_get_Params_List = capnp.StructList[Assignable_get_Params]
Assignable_get_Params_List is a list of Assignable_get_Params.
func NewAssignable_get_Params_List ¶
func NewAssignable_get_Params_List(s *capnp.Segment, sz int32) (Assignable_get_Params_List, error)
NewAssignable_get_Params creates a new list of Assignable_get_Params.
type Assignable_get_Results ¶
func NewAssignable_get_Results ¶
func NewAssignable_get_Results(s *capnp.Segment) (Assignable_get_Results, error)
func NewRootAssignable_get_Results ¶
func NewRootAssignable_get_Results(s *capnp.Segment) (Assignable_get_Results, error)
func ReadRootAssignable_get_Results ¶
func ReadRootAssignable_get_Results(msg *capnp.Message) (Assignable_get_Results, error)
func (Assignable_get_Results) DecodeFromPtr ¶
func (Assignable_get_Results) DecodeFromPtr(p capnp.Ptr) Assignable_get_Results
func (Assignable_get_Results) EncodeAsPtr ¶
func (s Assignable_get_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Assignable_get_Results) HasSetter ¶
func (s Assignable_get_Results) HasSetter() bool
func (Assignable_get_Results) HasValue ¶
func (s Assignable_get_Results) HasValue() bool
func (Assignable_get_Results) IsValid ¶
func (s Assignable_get_Results) IsValid() bool
func (Assignable_get_Results) Message ¶
func (s Assignable_get_Results) Message() *capnp.Message
func (Assignable_get_Results) Segment ¶
func (s Assignable_get_Results) Segment() *capnp.Segment
func (Assignable_get_Results) SetSetter ¶
func (s Assignable_get_Results) SetSetter(v Assignable_Setter) error
func (Assignable_get_Results) SetValue ¶
func (s Assignable_get_Results) SetValue(v capnp.Ptr) error
func (Assignable_get_Results) Setter ¶
func (s Assignable_get_Results) Setter() Assignable_Setter
func (Assignable_get_Results) String ¶
func (s Assignable_get_Results) String() string
func (Assignable_get_Results) ToPtr ¶
func (s Assignable_get_Results) ToPtr() capnp.Ptr
type Assignable_get_Results_Future ¶
Assignable_get_Results_Future is a wrapper for a Assignable_get_Results promised by a client call.
func (Assignable_get_Results_Future) Setter ¶
func (p Assignable_get_Results_Future) Setter() Assignable_Setter
func (Assignable_get_Results_Future) Struct ¶
func (f Assignable_get_Results_Future) Struct() (Assignable_get_Results, error)
func (Assignable_get_Results_Future) Value ¶
func (p Assignable_get_Results_Future) Value() *capnp.Future
type Assignable_get_Results_List ¶
type Assignable_get_Results_List = capnp.StructList[Assignable_get_Results]
Assignable_get_Results_List is a list of Assignable_get_Results.
func NewAssignable_get_Results_List ¶
func NewAssignable_get_Results_List(s *capnp.Segment, sz int32) (Assignable_get_Results_List, error)
NewAssignable_get_Results creates a new list of Assignable_get_Results.
type Blob ¶
func Blob_ServerToClient ¶
func Blob_ServerToClient(s Blob_Server) Blob
Blob_ServerToClient creates a new Client from an implementation of Blob_Server. The caller is responsible for calling Release on the returned Client.
func (Blob) 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 (Blob) GetFlowLimiter ¶
func (c Blob) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Blob) GetSize ¶
func (c Blob) GetSize(ctx context.Context, params func(Blob_getSize_Params) error) (Blob_getSize_Results_Future, capnp.ReleaseFunc)
func (Blob) GetSlice ¶
func (c Blob) GetSlice(ctx context.Context, params func(Blob_getSlice_Params) error) (Blob_getSlice_Results_Future, capnp.ReleaseFunc)
func (Blob) 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 (Blob) 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 (Blob) Release ¶
func (c Blob) 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 (Blob) SetFlowLimiter ¶
func (c Blob) 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 (Blob) 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 (Blob) WriteTo ¶
func (c Blob) WriteTo(ctx context.Context, params func(Blob_writeTo_Params) error) (Blob_writeTo_Results_Future, capnp.ReleaseFunc)
type Blob_Server ¶
type Blob_Server interface { GetSize(context.Context, Blob_getSize) error WriteTo(context.Context, Blob_writeTo) error GetSlice(context.Context, Blob_getSlice) error }
type Blob_getSize ¶
Blob_getSize holds the state for a server call to Blob.getSize. See server.Call for documentation.
func (Blob_getSize) AllocResults ¶
func (c Blob_getSize) AllocResults() (Blob_getSize_Results, error)
AllocResults allocates the results struct.
func (Blob_getSize) Args ¶
func (c Blob_getSize) Args() Blob_getSize_Params
Args returns the call's arguments.
type Blob_getSize_Params ¶
func NewBlob_getSize_Params ¶
func NewBlob_getSize_Params(s *capnp.Segment) (Blob_getSize_Params, error)
func NewRootBlob_getSize_Params ¶
func NewRootBlob_getSize_Params(s *capnp.Segment) (Blob_getSize_Params, error)
func ReadRootBlob_getSize_Params ¶
func ReadRootBlob_getSize_Params(msg *capnp.Message) (Blob_getSize_Params, error)
func (Blob_getSize_Params) DecodeFromPtr ¶
func (Blob_getSize_Params) DecodeFromPtr(p capnp.Ptr) Blob_getSize_Params
func (Blob_getSize_Params) EncodeAsPtr ¶
func (s Blob_getSize_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Blob_getSize_Params) IsValid ¶
func (s Blob_getSize_Params) IsValid() bool
func (Blob_getSize_Params) Message ¶
func (s Blob_getSize_Params) Message() *capnp.Message
func (Blob_getSize_Params) Segment ¶
func (s Blob_getSize_Params) Segment() *capnp.Segment
func (Blob_getSize_Params) String ¶
func (s Blob_getSize_Params) String() string
func (Blob_getSize_Params) ToPtr ¶
func (s Blob_getSize_Params) ToPtr() capnp.Ptr
type Blob_getSize_Params_Future ¶
Blob_getSize_Params_Future is a wrapper for a Blob_getSize_Params promised by a client call.
func (Blob_getSize_Params_Future) Struct ¶
func (f Blob_getSize_Params_Future) Struct() (Blob_getSize_Params, error)
type Blob_getSize_Params_List ¶
type Blob_getSize_Params_List = capnp.StructList[Blob_getSize_Params]
Blob_getSize_Params_List is a list of Blob_getSize_Params.
func NewBlob_getSize_Params_List ¶
func NewBlob_getSize_Params_List(s *capnp.Segment, sz int32) (Blob_getSize_Params_List, error)
NewBlob_getSize_Params creates a new list of Blob_getSize_Params.
type Blob_getSize_Results ¶
func NewBlob_getSize_Results ¶
func NewBlob_getSize_Results(s *capnp.Segment) (Blob_getSize_Results, error)
func NewRootBlob_getSize_Results ¶
func NewRootBlob_getSize_Results(s *capnp.Segment) (Blob_getSize_Results, error)
func ReadRootBlob_getSize_Results ¶
func ReadRootBlob_getSize_Results(msg *capnp.Message) (Blob_getSize_Results, error)
func (Blob_getSize_Results) DecodeFromPtr ¶
func (Blob_getSize_Results) DecodeFromPtr(p capnp.Ptr) Blob_getSize_Results
func (Blob_getSize_Results) EncodeAsPtr ¶
func (s Blob_getSize_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Blob_getSize_Results) IsValid ¶
func (s Blob_getSize_Results) IsValid() bool
func (Blob_getSize_Results) Message ¶
func (s Blob_getSize_Results) Message() *capnp.Message
func (Blob_getSize_Results) Segment ¶
func (s Blob_getSize_Results) Segment() *capnp.Segment
func (Blob_getSize_Results) SetSize ¶
func (s Blob_getSize_Results) SetSize(v uint64)
func (Blob_getSize_Results) Size ¶
func (s Blob_getSize_Results) Size() uint64
func (Blob_getSize_Results) String ¶
func (s Blob_getSize_Results) String() string
func (Blob_getSize_Results) ToPtr ¶
func (s Blob_getSize_Results) ToPtr() capnp.Ptr
type Blob_getSize_Results_Future ¶
Blob_getSize_Results_Future is a wrapper for a Blob_getSize_Results promised by a client call.
func (Blob_getSize_Results_Future) Struct ¶
func (f Blob_getSize_Results_Future) Struct() (Blob_getSize_Results, error)
type Blob_getSize_Results_List ¶
type Blob_getSize_Results_List = capnp.StructList[Blob_getSize_Results]
Blob_getSize_Results_List is a list of Blob_getSize_Results.
func NewBlob_getSize_Results_List ¶
func NewBlob_getSize_Results_List(s *capnp.Segment, sz int32) (Blob_getSize_Results_List, error)
NewBlob_getSize_Results creates a new list of Blob_getSize_Results.
type Blob_getSlice ¶
Blob_getSlice holds the state for a server call to Blob.getSlice. See server.Call for documentation.
func (Blob_getSlice) AllocResults ¶
func (c Blob_getSlice) AllocResults() (Blob_getSlice_Results, error)
AllocResults allocates the results struct.
func (Blob_getSlice) Args ¶
func (c Blob_getSlice) Args() Blob_getSlice_Params
Args returns the call's arguments.
type Blob_getSlice_Params ¶
func NewBlob_getSlice_Params ¶
func NewBlob_getSlice_Params(s *capnp.Segment) (Blob_getSlice_Params, error)
func NewRootBlob_getSlice_Params ¶
func NewRootBlob_getSlice_Params(s *capnp.Segment) (Blob_getSlice_Params, error)
func ReadRootBlob_getSlice_Params ¶
func ReadRootBlob_getSlice_Params(msg *capnp.Message) (Blob_getSlice_Params, error)
func (Blob_getSlice_Params) DecodeFromPtr ¶
func (Blob_getSlice_Params) DecodeFromPtr(p capnp.Ptr) Blob_getSlice_Params
func (Blob_getSlice_Params) EncodeAsPtr ¶
func (s Blob_getSlice_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Blob_getSlice_Params) IsValid ¶
func (s Blob_getSlice_Params) IsValid() bool
func (Blob_getSlice_Params) Message ¶
func (s Blob_getSlice_Params) Message() *capnp.Message
func (Blob_getSlice_Params) Offset ¶
func (s Blob_getSlice_Params) Offset() uint64
func (Blob_getSlice_Params) Segment ¶
func (s Blob_getSlice_Params) Segment() *capnp.Segment
func (Blob_getSlice_Params) SetOffset ¶
func (s Blob_getSlice_Params) SetOffset(v uint64)
func (Blob_getSlice_Params) SetSize ¶
func (s Blob_getSlice_Params) SetSize(v uint32)
func (Blob_getSlice_Params) Size ¶
func (s Blob_getSlice_Params) Size() uint32
func (Blob_getSlice_Params) String ¶
func (s Blob_getSlice_Params) String() string
func (Blob_getSlice_Params) ToPtr ¶
func (s Blob_getSlice_Params) ToPtr() capnp.Ptr
type Blob_getSlice_Params_Future ¶
Blob_getSlice_Params_Future is a wrapper for a Blob_getSlice_Params promised by a client call.
func (Blob_getSlice_Params_Future) Struct ¶
func (f Blob_getSlice_Params_Future) Struct() (Blob_getSlice_Params, error)
type Blob_getSlice_Params_List ¶
type Blob_getSlice_Params_List = capnp.StructList[Blob_getSlice_Params]
Blob_getSlice_Params_List is a list of Blob_getSlice_Params.
func NewBlob_getSlice_Params_List ¶
func NewBlob_getSlice_Params_List(s *capnp.Segment, sz int32) (Blob_getSlice_Params_List, error)
NewBlob_getSlice_Params creates a new list of Blob_getSlice_Params.
type Blob_getSlice_Results ¶
func NewBlob_getSlice_Results ¶
func NewBlob_getSlice_Results(s *capnp.Segment) (Blob_getSlice_Results, error)
func NewRootBlob_getSlice_Results ¶
func NewRootBlob_getSlice_Results(s *capnp.Segment) (Blob_getSlice_Results, error)
func ReadRootBlob_getSlice_Results ¶
func ReadRootBlob_getSlice_Results(msg *capnp.Message) (Blob_getSlice_Results, error)
func (Blob_getSlice_Results) Data ¶
func (s Blob_getSlice_Results) Data() ([]byte, error)
func (Blob_getSlice_Results) DecodeFromPtr ¶
func (Blob_getSlice_Results) DecodeFromPtr(p capnp.Ptr) Blob_getSlice_Results
func (Blob_getSlice_Results) EncodeAsPtr ¶
func (s Blob_getSlice_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Blob_getSlice_Results) HasData ¶
func (s Blob_getSlice_Results) HasData() bool
func (Blob_getSlice_Results) IsValid ¶
func (s Blob_getSlice_Results) IsValid() bool
func (Blob_getSlice_Results) Message ¶
func (s Blob_getSlice_Results) Message() *capnp.Message
func (Blob_getSlice_Results) Segment ¶
func (s Blob_getSlice_Results) Segment() *capnp.Segment
func (Blob_getSlice_Results) SetData ¶
func (s Blob_getSlice_Results) SetData(v []byte) error
func (Blob_getSlice_Results) String ¶
func (s Blob_getSlice_Results) String() string
func (Blob_getSlice_Results) ToPtr ¶
func (s Blob_getSlice_Results) ToPtr() capnp.Ptr
type Blob_getSlice_Results_Future ¶
Blob_getSlice_Results_Future is a wrapper for a Blob_getSlice_Results promised by a client call.
func (Blob_getSlice_Results_Future) Struct ¶
func (f Blob_getSlice_Results_Future) Struct() (Blob_getSlice_Results, error)
type Blob_getSlice_Results_List ¶
type Blob_getSlice_Results_List = capnp.StructList[Blob_getSlice_Results]
Blob_getSlice_Results_List is a list of Blob_getSlice_Results.
func NewBlob_getSlice_Results_List ¶
func NewBlob_getSlice_Results_List(s *capnp.Segment, sz int32) (Blob_getSlice_Results_List, error)
NewBlob_getSlice_Results creates a new list of Blob_getSlice_Results.
type Blob_writeTo ¶
Blob_writeTo holds the state for a server call to Blob.writeTo. See server.Call for documentation.
func (Blob_writeTo) AllocResults ¶
func (c Blob_writeTo) AllocResults() (Blob_writeTo_Results, error)
AllocResults allocates the results struct.
func (Blob_writeTo) Args ¶
func (c Blob_writeTo) Args() Blob_writeTo_Params
Args returns the call's arguments.
type Blob_writeTo_Params ¶
func NewBlob_writeTo_Params ¶
func NewBlob_writeTo_Params(s *capnp.Segment) (Blob_writeTo_Params, error)
func NewRootBlob_writeTo_Params ¶
func NewRootBlob_writeTo_Params(s *capnp.Segment) (Blob_writeTo_Params, error)
func ReadRootBlob_writeTo_Params ¶
func ReadRootBlob_writeTo_Params(msg *capnp.Message) (Blob_writeTo_Params, error)
func (Blob_writeTo_Params) DecodeFromPtr ¶
func (Blob_writeTo_Params) DecodeFromPtr(p capnp.Ptr) Blob_writeTo_Params
func (Blob_writeTo_Params) EncodeAsPtr ¶
func (s Blob_writeTo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Blob_writeTo_Params) HasStream ¶
func (s Blob_writeTo_Params) HasStream() bool
func (Blob_writeTo_Params) IsValid ¶
func (s Blob_writeTo_Params) IsValid() bool
func (Blob_writeTo_Params) Message ¶
func (s Blob_writeTo_Params) Message() *capnp.Message
func (Blob_writeTo_Params) Segment ¶
func (s Blob_writeTo_Params) Segment() *capnp.Segment
func (Blob_writeTo_Params) SetStartAtOffset ¶
func (s Blob_writeTo_Params) SetStartAtOffset(v uint64)
func (Blob_writeTo_Params) SetStream ¶
func (s Blob_writeTo_Params) SetStream(v ByteStream) error
func (Blob_writeTo_Params) StartAtOffset ¶
func (s Blob_writeTo_Params) StartAtOffset() uint64
func (Blob_writeTo_Params) Stream ¶
func (s Blob_writeTo_Params) Stream() ByteStream
func (Blob_writeTo_Params) String ¶
func (s Blob_writeTo_Params) String() string
func (Blob_writeTo_Params) ToPtr ¶
func (s Blob_writeTo_Params) ToPtr() capnp.Ptr
type Blob_writeTo_Params_Future ¶
Blob_writeTo_Params_Future is a wrapper for a Blob_writeTo_Params promised by a client call.
func (Blob_writeTo_Params_Future) Stream ¶
func (p Blob_writeTo_Params_Future) Stream() ByteStream
func (Blob_writeTo_Params_Future) Struct ¶
func (f Blob_writeTo_Params_Future) Struct() (Blob_writeTo_Params, error)
type Blob_writeTo_Params_List ¶
type Blob_writeTo_Params_List = capnp.StructList[Blob_writeTo_Params]
Blob_writeTo_Params_List is a list of Blob_writeTo_Params.
func NewBlob_writeTo_Params_List ¶
func NewBlob_writeTo_Params_List(s *capnp.Segment, sz int32) (Blob_writeTo_Params_List, error)
NewBlob_writeTo_Params creates a new list of Blob_writeTo_Params.
type Blob_writeTo_Results ¶
func NewBlob_writeTo_Results ¶
func NewBlob_writeTo_Results(s *capnp.Segment) (Blob_writeTo_Results, error)
func NewRootBlob_writeTo_Results ¶
func NewRootBlob_writeTo_Results(s *capnp.Segment) (Blob_writeTo_Results, error)
func ReadRootBlob_writeTo_Results ¶
func ReadRootBlob_writeTo_Results(msg *capnp.Message) (Blob_writeTo_Results, error)
func (Blob_writeTo_Results) DecodeFromPtr ¶
func (Blob_writeTo_Results) DecodeFromPtr(p capnp.Ptr) Blob_writeTo_Results
func (Blob_writeTo_Results) EncodeAsPtr ¶
func (s Blob_writeTo_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Blob_writeTo_Results) Handle ¶
func (s Blob_writeTo_Results) Handle() Handle
func (Blob_writeTo_Results) HasHandle ¶
func (s Blob_writeTo_Results) HasHandle() bool
func (Blob_writeTo_Results) IsValid ¶
func (s Blob_writeTo_Results) IsValid() bool
func (Blob_writeTo_Results) Message ¶
func (s Blob_writeTo_Results) Message() *capnp.Message
func (Blob_writeTo_Results) Segment ¶
func (s Blob_writeTo_Results) Segment() *capnp.Segment
func (Blob_writeTo_Results) SetHandle ¶
func (s Blob_writeTo_Results) SetHandle(v Handle) error
func (Blob_writeTo_Results) String ¶
func (s Blob_writeTo_Results) String() string
func (Blob_writeTo_Results) ToPtr ¶
func (s Blob_writeTo_Results) ToPtr() capnp.Ptr
type Blob_writeTo_Results_Future ¶
Blob_writeTo_Results_Future is a wrapper for a Blob_writeTo_Results promised by a client call.
func (Blob_writeTo_Results_Future) Handle ¶
func (p Blob_writeTo_Results_Future) Handle() Handle
func (Blob_writeTo_Results_Future) Struct ¶
func (f Blob_writeTo_Results_Future) Struct() (Blob_writeTo_Results, error)
type Blob_writeTo_Results_List ¶
type Blob_writeTo_Results_List = capnp.StructList[Blob_writeTo_Results]
Blob_writeTo_Results_List is a list of Blob_writeTo_Results.
func NewBlob_writeTo_Results_List ¶
func NewBlob_writeTo_Results_List(s *capnp.Segment, sz int32) (Blob_writeTo_Results_List, error)
NewBlob_writeTo_Results creates a new list of Blob_writeTo_Results.
type ByteStream ¶
func ByteStream_ServerToClient ¶
func ByteStream_ServerToClient(s ByteStream_Server) ByteStream
ByteStream_ServerToClient creates a new Client from an implementation of ByteStream_Server. The caller is responsible for calling Release on the returned Client.
func (ByteStream) AddRef ¶
func (c ByteStream) AddRef() ByteStream
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 (ByteStream) DecodeFromPtr ¶
func (ByteStream) DecodeFromPtr(p capnp.Ptr) ByteStream
func (ByteStream) Done ¶
func (c ByteStream) Done(ctx context.Context, params func(ByteStream_done_Params) error) (ByteStream_done_Results_Future, capnp.ReleaseFunc)
func (ByteStream) EncodeAsPtr ¶
func (c ByteStream) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ByteStream) ExpectSize ¶
func (c ByteStream) ExpectSize(ctx context.Context, params func(ByteStream_expectSize_Params) error) (ByteStream_expectSize_Results_Future, capnp.ReleaseFunc)
func (ByteStream) GetFlowLimiter ¶
func (c ByteStream) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (ByteStream) IsSame ¶
func (c ByteStream) IsSame(other ByteStream) 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 (ByteStream) IsValid ¶
func (c ByteStream) 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 (ByteStream) Release ¶
func (c ByteStream) 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 (ByteStream) Resolve ¶
func (c ByteStream) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (ByteStream) SetFlowLimiter ¶
func (c ByteStream) 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 (ByteStream) String ¶
func (c ByteStream) 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 (ByteStream) Write ¶
func (c ByteStream) Write(ctx context.Context, params func(ByteStream_write_Params) error) (stream.StreamResult_Future, capnp.ReleaseFunc)
type ByteStream_List ¶
type ByteStream_List = capnp.CapList[ByteStream]
ByteStream_List is a list of ByteStream.
func NewByteStream_List ¶
func NewByteStream_List(s *capnp.Segment, sz int32) (ByteStream_List, error)
NewByteStream creates a new list of ByteStream.
type ByteStream_Server ¶
type ByteStream_Server interface { Write(context.Context, ByteStream_write) error Done(context.Context, ByteStream_done) error ExpectSize(context.Context, ByteStream_expectSize) error }
type ByteStream_done ¶
ByteStream_done holds the state for a server call to ByteStream.done. See server.Call for documentation.
func (ByteStream_done) AllocResults ¶
func (c ByteStream_done) AllocResults() (ByteStream_done_Results, error)
AllocResults allocates the results struct.
func (ByteStream_done) Args ¶
func (c ByteStream_done) Args() ByteStream_done_Params
Args returns the call's arguments.
type ByteStream_done_Params ¶
func NewByteStream_done_Params ¶
func NewByteStream_done_Params(s *capnp.Segment) (ByteStream_done_Params, error)
func NewRootByteStream_done_Params ¶
func NewRootByteStream_done_Params(s *capnp.Segment) (ByteStream_done_Params, error)
func ReadRootByteStream_done_Params ¶
func ReadRootByteStream_done_Params(msg *capnp.Message) (ByteStream_done_Params, error)
func (ByteStream_done_Params) DecodeFromPtr ¶
func (ByteStream_done_Params) DecodeFromPtr(p capnp.Ptr) ByteStream_done_Params
func (ByteStream_done_Params) EncodeAsPtr ¶
func (s ByteStream_done_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ByteStream_done_Params) IsValid ¶
func (s ByteStream_done_Params) IsValid() bool
func (ByteStream_done_Params) Message ¶
func (s ByteStream_done_Params) Message() *capnp.Message
func (ByteStream_done_Params) Segment ¶
func (s ByteStream_done_Params) Segment() *capnp.Segment
func (ByteStream_done_Params) String ¶
func (s ByteStream_done_Params) String() string
func (ByteStream_done_Params) ToPtr ¶
func (s ByteStream_done_Params) ToPtr() capnp.Ptr
type ByteStream_done_Params_Future ¶
ByteStream_done_Params_Future is a wrapper for a ByteStream_done_Params promised by a client call.
func (ByteStream_done_Params_Future) Struct ¶
func (f ByteStream_done_Params_Future) Struct() (ByteStream_done_Params, error)
type ByteStream_done_Params_List ¶
type ByteStream_done_Params_List = capnp.StructList[ByteStream_done_Params]
ByteStream_done_Params_List is a list of ByteStream_done_Params.
func NewByteStream_done_Params_List ¶
func NewByteStream_done_Params_List(s *capnp.Segment, sz int32) (ByteStream_done_Params_List, error)
NewByteStream_done_Params creates a new list of ByteStream_done_Params.
type ByteStream_done_Results ¶
func NewByteStream_done_Results ¶
func NewByteStream_done_Results(s *capnp.Segment) (ByteStream_done_Results, error)
func NewRootByteStream_done_Results ¶
func NewRootByteStream_done_Results(s *capnp.Segment) (ByteStream_done_Results, error)
func ReadRootByteStream_done_Results ¶
func ReadRootByteStream_done_Results(msg *capnp.Message) (ByteStream_done_Results, error)
func (ByteStream_done_Results) DecodeFromPtr ¶
func (ByteStream_done_Results) DecodeFromPtr(p capnp.Ptr) ByteStream_done_Results
func (ByteStream_done_Results) EncodeAsPtr ¶
func (s ByteStream_done_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ByteStream_done_Results) IsValid ¶
func (s ByteStream_done_Results) IsValid() bool
func (ByteStream_done_Results) Message ¶
func (s ByteStream_done_Results) Message() *capnp.Message
func (ByteStream_done_Results) Segment ¶
func (s ByteStream_done_Results) Segment() *capnp.Segment
func (ByteStream_done_Results) String ¶
func (s ByteStream_done_Results) String() string
func (ByteStream_done_Results) ToPtr ¶
func (s ByteStream_done_Results) ToPtr() capnp.Ptr
type ByteStream_done_Results_Future ¶
ByteStream_done_Results_Future is a wrapper for a ByteStream_done_Results promised by a client call.
func (ByteStream_done_Results_Future) Struct ¶
func (f ByteStream_done_Results_Future) Struct() (ByteStream_done_Results, error)
type ByteStream_done_Results_List ¶
type ByteStream_done_Results_List = capnp.StructList[ByteStream_done_Results]
ByteStream_done_Results_List is a list of ByteStream_done_Results.
func NewByteStream_done_Results_List ¶
func NewByteStream_done_Results_List(s *capnp.Segment, sz int32) (ByteStream_done_Results_List, error)
NewByteStream_done_Results creates a new list of ByteStream_done_Results.
type ByteStream_expectSize ¶
ByteStream_expectSize holds the state for a server call to ByteStream.expectSize. See server.Call for documentation.
func (ByteStream_expectSize) AllocResults ¶
func (c ByteStream_expectSize) AllocResults() (ByteStream_expectSize_Results, error)
AllocResults allocates the results struct.
func (ByteStream_expectSize) Args ¶
func (c ByteStream_expectSize) Args() ByteStream_expectSize_Params
Args returns the call's arguments.
type ByteStream_expectSize_Params ¶
func NewByteStream_expectSize_Params ¶
func NewByteStream_expectSize_Params(s *capnp.Segment) (ByteStream_expectSize_Params, error)
func NewRootByteStream_expectSize_Params ¶
func NewRootByteStream_expectSize_Params(s *capnp.Segment) (ByteStream_expectSize_Params, error)
func ReadRootByteStream_expectSize_Params ¶
func ReadRootByteStream_expectSize_Params(msg *capnp.Message) (ByteStream_expectSize_Params, error)
func (ByteStream_expectSize_Params) DecodeFromPtr ¶
func (ByteStream_expectSize_Params) DecodeFromPtr(p capnp.Ptr) ByteStream_expectSize_Params
func (ByteStream_expectSize_Params) EncodeAsPtr ¶
func (s ByteStream_expectSize_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ByteStream_expectSize_Params) IsValid ¶
func (s ByteStream_expectSize_Params) IsValid() bool
func (ByteStream_expectSize_Params) Message ¶
func (s ByteStream_expectSize_Params) Message() *capnp.Message
func (ByteStream_expectSize_Params) Segment ¶
func (s ByteStream_expectSize_Params) Segment() *capnp.Segment
func (ByteStream_expectSize_Params) SetSize ¶
func (s ByteStream_expectSize_Params) SetSize(v uint64)
func (ByteStream_expectSize_Params) Size ¶
func (s ByteStream_expectSize_Params) Size() uint64
func (ByteStream_expectSize_Params) String ¶
func (s ByteStream_expectSize_Params) String() string
func (ByteStream_expectSize_Params) ToPtr ¶
func (s ByteStream_expectSize_Params) ToPtr() capnp.Ptr
type ByteStream_expectSize_Params_Future ¶
ByteStream_expectSize_Params_Future is a wrapper for a ByteStream_expectSize_Params promised by a client call.
func (ByteStream_expectSize_Params_Future) Struct ¶
func (f ByteStream_expectSize_Params_Future) Struct() (ByteStream_expectSize_Params, error)
type ByteStream_expectSize_Params_List ¶
type ByteStream_expectSize_Params_List = capnp.StructList[ByteStream_expectSize_Params]
ByteStream_expectSize_Params_List is a list of ByteStream_expectSize_Params.
func NewByteStream_expectSize_Params_List ¶
func NewByteStream_expectSize_Params_List(s *capnp.Segment, sz int32) (ByteStream_expectSize_Params_List, error)
NewByteStream_expectSize_Params creates a new list of ByteStream_expectSize_Params.
type ByteStream_expectSize_Results ¶
func NewByteStream_expectSize_Results ¶
func NewByteStream_expectSize_Results(s *capnp.Segment) (ByteStream_expectSize_Results, error)
func NewRootByteStream_expectSize_Results ¶
func NewRootByteStream_expectSize_Results(s *capnp.Segment) (ByteStream_expectSize_Results, error)
func ReadRootByteStream_expectSize_Results ¶
func ReadRootByteStream_expectSize_Results(msg *capnp.Message) (ByteStream_expectSize_Results, error)
func (ByteStream_expectSize_Results) DecodeFromPtr ¶
func (ByteStream_expectSize_Results) DecodeFromPtr(p capnp.Ptr) ByteStream_expectSize_Results
func (ByteStream_expectSize_Results) EncodeAsPtr ¶
func (s ByteStream_expectSize_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ByteStream_expectSize_Results) IsValid ¶
func (s ByteStream_expectSize_Results) IsValid() bool
func (ByteStream_expectSize_Results) Message ¶
func (s ByteStream_expectSize_Results) Message() *capnp.Message
func (ByteStream_expectSize_Results) Segment ¶
func (s ByteStream_expectSize_Results) Segment() *capnp.Segment
func (ByteStream_expectSize_Results) String ¶
func (s ByteStream_expectSize_Results) String() string
func (ByteStream_expectSize_Results) ToPtr ¶
func (s ByteStream_expectSize_Results) ToPtr() capnp.Ptr
type ByteStream_expectSize_Results_Future ¶
ByteStream_expectSize_Results_Future is a wrapper for a ByteStream_expectSize_Results promised by a client call.
func (ByteStream_expectSize_Results_Future) Struct ¶
func (f ByteStream_expectSize_Results_Future) Struct() (ByteStream_expectSize_Results, error)
type ByteStream_expectSize_Results_List ¶
type ByteStream_expectSize_Results_List = capnp.StructList[ByteStream_expectSize_Results]
ByteStream_expectSize_Results_List is a list of ByteStream_expectSize_Results.
func NewByteStream_expectSize_Results_List ¶
func NewByteStream_expectSize_Results_List(s *capnp.Segment, sz int32) (ByteStream_expectSize_Results_List, error)
NewByteStream_expectSize_Results creates a new list of ByteStream_expectSize_Results.
type ByteStream_write ¶
ByteStream_write holds the state for a server call to ByteStream.write. See server.Call for documentation.
func (ByteStream_write) AllocResults ¶
func (c ByteStream_write) AllocResults() (stream.StreamResult, error)
AllocResults allocates the results struct.
func (ByteStream_write) Args ¶
func (c ByteStream_write) Args() ByteStream_write_Params
Args returns the call's arguments.
type ByteStream_write_Params ¶
func NewByteStream_write_Params ¶
func NewByteStream_write_Params(s *capnp.Segment) (ByteStream_write_Params, error)
func NewRootByteStream_write_Params ¶
func NewRootByteStream_write_Params(s *capnp.Segment) (ByteStream_write_Params, error)
func ReadRootByteStream_write_Params ¶
func ReadRootByteStream_write_Params(msg *capnp.Message) (ByteStream_write_Params, error)
func (ByteStream_write_Params) Data ¶
func (s ByteStream_write_Params) Data() ([]byte, error)
func (ByteStream_write_Params) DecodeFromPtr ¶
func (ByteStream_write_Params) DecodeFromPtr(p capnp.Ptr) ByteStream_write_Params
func (ByteStream_write_Params) EncodeAsPtr ¶
func (s ByteStream_write_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ByteStream_write_Params) HasData ¶
func (s ByteStream_write_Params) HasData() bool
func (ByteStream_write_Params) IsValid ¶
func (s ByteStream_write_Params) IsValid() bool
func (ByteStream_write_Params) Message ¶
func (s ByteStream_write_Params) Message() *capnp.Message
func (ByteStream_write_Params) Segment ¶
func (s ByteStream_write_Params) Segment() *capnp.Segment
func (ByteStream_write_Params) SetData ¶
func (s ByteStream_write_Params) SetData(v []byte) error
func (ByteStream_write_Params) String ¶
func (s ByteStream_write_Params) String() string
func (ByteStream_write_Params) ToPtr ¶
func (s ByteStream_write_Params) ToPtr() capnp.Ptr
type ByteStream_write_Params_Future ¶
ByteStream_write_Params_Future is a wrapper for a ByteStream_write_Params promised by a client call.
func (ByteStream_write_Params_Future) Struct ¶
func (f ByteStream_write_Params_Future) Struct() (ByteStream_write_Params, error)
type ByteStream_write_Params_List ¶
type ByteStream_write_Params_List = capnp.StructList[ByteStream_write_Params]
ByteStream_write_Params_List is a list of ByteStream_write_Params.
func NewByteStream_write_Params_List ¶
func NewByteStream_write_Params_List(s *capnp.Segment, sz int32) (ByteStream_write_Params_List, error)
NewByteStream_write_Params creates a new list of ByteStream_write_Params.
type Handle ¶
func Handle_ServerToClient ¶
func Handle_ServerToClient(s Handle_Server) Handle
Handle_ServerToClient creates a new Client from an implementation of Handle_Server. The caller is responsible for calling Release on the returned Client.
func (Handle) 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 (Handle) GetFlowLimiter ¶
func (c Handle) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Handle) 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 (Handle) 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 (Handle) Ping ¶
func (c Handle) Ping(ctx context.Context, params func(Handle_ping_Params) error) (Handle_ping_Results_Future, capnp.ReleaseFunc)
func (Handle) Release ¶
func (c Handle) 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 (Handle) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Handle) SetFlowLimiter ¶
func (c Handle) 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.
type Handle_List ¶
Handle_List is a list of Handle.
func NewHandle_List ¶
func NewHandle_List(s *capnp.Segment, sz int32) (Handle_List, error)
NewHandle creates a new list of Handle.
type Handle_Server ¶
type Handle_Server interface {
Ping(context.Context, Handle_ping) error
}
type Handle_ping ¶
Handle_ping holds the state for a server call to Handle.ping. See server.Call for documentation.
func (Handle_ping) AllocResults ¶
func (c Handle_ping) AllocResults() (Handle_ping_Results, error)
AllocResults allocates the results struct.
func (Handle_ping) Args ¶
func (c Handle_ping) Args() Handle_ping_Params
Args returns the call's arguments.
type Handle_ping_Params ¶
func NewHandle_ping_Params ¶
func NewHandle_ping_Params(s *capnp.Segment) (Handle_ping_Params, error)
func NewRootHandle_ping_Params ¶
func NewRootHandle_ping_Params(s *capnp.Segment) (Handle_ping_Params, error)
func ReadRootHandle_ping_Params ¶
func ReadRootHandle_ping_Params(msg *capnp.Message) (Handle_ping_Params, error)
func (Handle_ping_Params) DecodeFromPtr ¶
func (Handle_ping_Params) DecodeFromPtr(p capnp.Ptr) Handle_ping_Params
func (Handle_ping_Params) EncodeAsPtr ¶
func (s Handle_ping_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Handle_ping_Params) IsValid ¶
func (s Handle_ping_Params) IsValid() bool
func (Handle_ping_Params) Message ¶
func (s Handle_ping_Params) Message() *capnp.Message
func (Handle_ping_Params) Segment ¶
func (s Handle_ping_Params) Segment() *capnp.Segment
func (Handle_ping_Params) String ¶
func (s Handle_ping_Params) String() string
func (Handle_ping_Params) ToPtr ¶
func (s Handle_ping_Params) ToPtr() capnp.Ptr
type Handle_ping_Params_Future ¶
Handle_ping_Params_Future is a wrapper for a Handle_ping_Params promised by a client call.
func (Handle_ping_Params_Future) Struct ¶
func (f Handle_ping_Params_Future) Struct() (Handle_ping_Params, error)
type Handle_ping_Params_List ¶
type Handle_ping_Params_List = capnp.StructList[Handle_ping_Params]
Handle_ping_Params_List is a list of Handle_ping_Params.
func NewHandle_ping_Params_List ¶
func NewHandle_ping_Params_List(s *capnp.Segment, sz int32) (Handle_ping_Params_List, error)
NewHandle_ping_Params creates a new list of Handle_ping_Params.
type Handle_ping_Results ¶
func NewHandle_ping_Results ¶
func NewHandle_ping_Results(s *capnp.Segment) (Handle_ping_Results, error)
func NewRootHandle_ping_Results ¶
func NewRootHandle_ping_Results(s *capnp.Segment) (Handle_ping_Results, error)
func ReadRootHandle_ping_Results ¶
func ReadRootHandle_ping_Results(msg *capnp.Message) (Handle_ping_Results, error)
func (Handle_ping_Results) DecodeFromPtr ¶
func (Handle_ping_Results) DecodeFromPtr(p capnp.Ptr) Handle_ping_Results
func (Handle_ping_Results) EncodeAsPtr ¶
func (s Handle_ping_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Handle_ping_Results) IsValid ¶
func (s Handle_ping_Results) IsValid() bool
func (Handle_ping_Results) Message ¶
func (s Handle_ping_Results) Message() *capnp.Message
func (Handle_ping_Results) Segment ¶
func (s Handle_ping_Results) Segment() *capnp.Segment
func (Handle_ping_Results) String ¶
func (s Handle_ping_Results) String() string
func (Handle_ping_Results) ToPtr ¶
func (s Handle_ping_Results) ToPtr() capnp.Ptr
type Handle_ping_Results_Future ¶
Handle_ping_Results_Future is a wrapper for a Handle_ping_Results promised by a client call.
func (Handle_ping_Results_Future) Struct ¶
func (f Handle_ping_Results_Future) Struct() (Handle_ping_Results, error)
type Handle_ping_Results_List ¶
type Handle_ping_Results_List = capnp.StructList[Handle_ping_Results]
Handle_ping_Results_List is a list of Handle_ping_Results.
func NewHandle_ping_Results_List ¶
func NewHandle_ping_Results_List(s *capnp.Segment, sz int32) (Handle_ping_Results_List, error)
NewHandle_ping_Results creates a new list of Handle_ping_Results.
type KeyValue ¶
func (KeyValue) ValueBytes ¶
type KeyValue_Future ¶
KeyValue_Future is a wrapper for a KeyValue promised by a client call.
func (KeyValue_Future) Struct ¶
func (f KeyValue_Future) Struct() (KeyValue, error)
type KeyValue_List ¶
type KeyValue_List = capnp.StructList[KeyValue]
KeyValue_List is a list of KeyValue.
func NewKeyValue_List ¶
func NewKeyValue_List(s *capnp.Segment, sz int32) (KeyValue_List, error)
NewKeyValue creates a new list of KeyValue.
type LocalizedText ¶
func NewLocalizedText ¶
func NewLocalizedText(s *capnp.Segment) (LocalizedText, error)
func NewRootLocalizedText ¶
func NewRootLocalizedText(s *capnp.Segment) (LocalizedText, error)
func ReadRootLocalizedText ¶
func ReadRootLocalizedText(msg *capnp.Message) (LocalizedText, error)
func (LocalizedText) DecodeFromPtr ¶
func (LocalizedText) DecodeFromPtr(p capnp.Ptr) LocalizedText
func (LocalizedText) DefaultText ¶
func (s LocalizedText) DefaultText() (string, error)
func (LocalizedText) DefaultTextBytes ¶
func (s LocalizedText) DefaultTextBytes() ([]byte, error)
func (LocalizedText) EncodeAsPtr ¶
func (s LocalizedText) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (LocalizedText) HasDefaultText ¶
func (s LocalizedText) HasDefaultText() bool
func (LocalizedText) HasLocalizations ¶
func (s LocalizedText) HasLocalizations() bool
func (LocalizedText) IsValid ¶
func (s LocalizedText) IsValid() bool
func (LocalizedText) Localizations ¶
func (s LocalizedText) Localizations() (LocalizedText_Localization_List, error)
func (LocalizedText) Message ¶
func (s LocalizedText) Message() *capnp.Message
func (LocalizedText) NewLocalizations ¶
func (s LocalizedText) NewLocalizations(n int32) (LocalizedText_Localization_List, error)
NewLocalizations sets the localizations field to a newly allocated LocalizedText_Localization_List, preferring placement in s's segment.
func (LocalizedText) Segment ¶
func (s LocalizedText) Segment() *capnp.Segment
func (LocalizedText) SetDefaultText ¶
func (s LocalizedText) SetDefaultText(v string) error
func (LocalizedText) SetLocalizations ¶
func (s LocalizedText) SetLocalizations(v LocalizedText_Localization_List) error
func (LocalizedText) String ¶
func (s LocalizedText) String() string
func (LocalizedText) ToPtr ¶
func (s LocalizedText) ToPtr() capnp.Ptr
type LocalizedText_Future ¶
LocalizedText_Future is a wrapper for a LocalizedText promised by a client call.
func (LocalizedText_Future) Struct ¶
func (f LocalizedText_Future) Struct() (LocalizedText, error)
type LocalizedText_List ¶
type LocalizedText_List = capnp.StructList[LocalizedText]
LocalizedText_List is a list of LocalizedText.
func NewLocalizedText_List ¶
func NewLocalizedText_List(s *capnp.Segment, sz int32) (LocalizedText_List, error)
NewLocalizedText creates a new list of LocalizedText.
type LocalizedText_Localization ¶
func NewLocalizedText_Localization ¶
func NewLocalizedText_Localization(s *capnp.Segment) (LocalizedText_Localization, error)
func NewRootLocalizedText_Localization ¶
func NewRootLocalizedText_Localization(s *capnp.Segment) (LocalizedText_Localization, error)
func ReadRootLocalizedText_Localization ¶
func ReadRootLocalizedText_Localization(msg *capnp.Message) (LocalizedText_Localization, error)
func (LocalizedText_Localization) DecodeFromPtr ¶
func (LocalizedText_Localization) DecodeFromPtr(p capnp.Ptr) LocalizedText_Localization
func (LocalizedText_Localization) EncodeAsPtr ¶
func (s LocalizedText_Localization) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (LocalizedText_Localization) HasLocale ¶
func (s LocalizedText_Localization) HasLocale() bool
func (LocalizedText_Localization) HasText ¶
func (s LocalizedText_Localization) HasText() bool
func (LocalizedText_Localization) IsValid ¶
func (s LocalizedText_Localization) IsValid() bool
func (LocalizedText_Localization) Locale ¶
func (s LocalizedText_Localization) Locale() (string, error)
func (LocalizedText_Localization) LocaleBytes ¶
func (s LocalizedText_Localization) LocaleBytes() ([]byte, error)
func (LocalizedText_Localization) Message ¶
func (s LocalizedText_Localization) Message() *capnp.Message
func (LocalizedText_Localization) Segment ¶
func (s LocalizedText_Localization) Segment() *capnp.Segment
func (LocalizedText_Localization) SetLocale ¶
func (s LocalizedText_Localization) SetLocale(v string) error
func (LocalizedText_Localization) SetText ¶
func (s LocalizedText_Localization) SetText(v string) error
func (LocalizedText_Localization) String ¶
func (s LocalizedText_Localization) String() string
func (LocalizedText_Localization) Text ¶
func (s LocalizedText_Localization) Text() (string, error)
func (LocalizedText_Localization) TextBytes ¶
func (s LocalizedText_Localization) TextBytes() ([]byte, error)
func (LocalizedText_Localization) ToPtr ¶
func (s LocalizedText_Localization) ToPtr() capnp.Ptr
type LocalizedText_Localization_Future ¶
LocalizedText_Localization_Future is a wrapper for a LocalizedText_Localization promised by a client call.
func (LocalizedText_Localization_Future) Struct ¶
func (f LocalizedText_Localization_Future) Struct() (LocalizedText_Localization, error)
type LocalizedText_Localization_List ¶
type LocalizedText_Localization_List = capnp.StructList[LocalizedText_Localization]
LocalizedText_Localization_List is a list of LocalizedText_Localization.
func NewLocalizedText_Localization_List ¶
func NewLocalizedText_Localization_List(s *capnp.Segment, sz int32) (LocalizedText_Localization_List, error)
NewLocalizedText_Localization creates a new list of LocalizedText_Localization.
type StaticAsset ¶
func StaticAsset_ServerToClient ¶
func StaticAsset_ServerToClient(s StaticAsset_Server) StaticAsset
StaticAsset_ServerToClient creates a new Client from an implementation of StaticAsset_Server. The caller is responsible for calling Release on the returned Client.
func (StaticAsset) AddRef ¶
func (c StaticAsset) AddRef() StaticAsset
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 (StaticAsset) DecodeFromPtr ¶
func (StaticAsset) DecodeFromPtr(p capnp.Ptr) StaticAsset
func (StaticAsset) EncodeAsPtr ¶
func (c StaticAsset) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (StaticAsset) GetFlowLimiter ¶
func (c StaticAsset) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (StaticAsset) GetUrl ¶
func (c StaticAsset) GetUrl(ctx context.Context, params func(StaticAsset_getUrl_Params) error) (StaticAsset_getUrl_Results_Future, capnp.ReleaseFunc)
func (StaticAsset) IsSame ¶
func (c StaticAsset) IsSame(other StaticAsset) 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 (StaticAsset) IsValid ¶
func (c StaticAsset) 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 (StaticAsset) Release ¶
func (c StaticAsset) 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 (StaticAsset) Resolve ¶
func (c StaticAsset) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (StaticAsset) SetFlowLimiter ¶
func (c StaticAsset) 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 (StaticAsset) String ¶
func (c StaticAsset) 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.
type StaticAsset_List ¶
type StaticAsset_List = capnp.CapList[StaticAsset]
StaticAsset_List is a list of StaticAsset.
func NewStaticAsset_List ¶
func NewStaticAsset_List(s *capnp.Segment, sz int32) (StaticAsset_List, error)
NewStaticAsset creates a new list of StaticAsset.
type StaticAsset_Protocol ¶
type StaticAsset_Protocol uint16
const ( StaticAsset_Protocol_https StaticAsset_Protocol = 0 StaticAsset_Protocol_http StaticAsset_Protocol = 1 )
Values of StaticAsset_Protocol.
func StaticAsset_ProtocolFromString ¶
func StaticAsset_ProtocolFromString(c string) StaticAsset_Protocol
StaticAsset_ProtocolFromString returns the enum value with a name, or the zero value if there's no such value.
func (StaticAsset_Protocol) String ¶
func (c StaticAsset_Protocol) String() string
String returns the enum's constant name.
type StaticAsset_Protocol_List ¶
type StaticAsset_Protocol_List = capnp.EnumList[StaticAsset_Protocol]
func NewStaticAsset_Protocol_List ¶
func NewStaticAsset_Protocol_List(s *capnp.Segment, sz int32) (StaticAsset_Protocol_List, error)
type StaticAsset_Server ¶
type StaticAsset_Server interface {
GetUrl(context.Context, StaticAsset_getUrl) error
}
type StaticAsset_getUrl ¶
StaticAsset_getUrl holds the state for a server call to StaticAsset.getUrl. See server.Call for documentation.
func (StaticAsset_getUrl) AllocResults ¶
func (c StaticAsset_getUrl) AllocResults() (StaticAsset_getUrl_Results, error)
AllocResults allocates the results struct.
func (StaticAsset_getUrl) Args ¶
func (c StaticAsset_getUrl) Args() StaticAsset_getUrl_Params
Args returns the call's arguments.
type StaticAsset_getUrl_Params ¶
func NewRootStaticAsset_getUrl_Params ¶
func NewRootStaticAsset_getUrl_Params(s *capnp.Segment) (StaticAsset_getUrl_Params, error)
func NewStaticAsset_getUrl_Params ¶
func NewStaticAsset_getUrl_Params(s *capnp.Segment) (StaticAsset_getUrl_Params, error)
func ReadRootStaticAsset_getUrl_Params ¶
func ReadRootStaticAsset_getUrl_Params(msg *capnp.Message) (StaticAsset_getUrl_Params, error)
func (StaticAsset_getUrl_Params) DecodeFromPtr ¶
func (StaticAsset_getUrl_Params) DecodeFromPtr(p capnp.Ptr) StaticAsset_getUrl_Params
func (StaticAsset_getUrl_Params) EncodeAsPtr ¶
func (s StaticAsset_getUrl_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (StaticAsset_getUrl_Params) IsValid ¶
func (s StaticAsset_getUrl_Params) IsValid() bool
func (StaticAsset_getUrl_Params) Message ¶
func (s StaticAsset_getUrl_Params) Message() *capnp.Message
func (StaticAsset_getUrl_Params) Segment ¶
func (s StaticAsset_getUrl_Params) Segment() *capnp.Segment
func (StaticAsset_getUrl_Params) String ¶
func (s StaticAsset_getUrl_Params) String() string
func (StaticAsset_getUrl_Params) ToPtr ¶
func (s StaticAsset_getUrl_Params) ToPtr() capnp.Ptr
type StaticAsset_getUrl_Params_Future ¶
StaticAsset_getUrl_Params_Future is a wrapper for a StaticAsset_getUrl_Params promised by a client call.
func (StaticAsset_getUrl_Params_Future) Struct ¶
func (f StaticAsset_getUrl_Params_Future) Struct() (StaticAsset_getUrl_Params, error)
type StaticAsset_getUrl_Params_List ¶
type StaticAsset_getUrl_Params_List = capnp.StructList[StaticAsset_getUrl_Params]
StaticAsset_getUrl_Params_List is a list of StaticAsset_getUrl_Params.
func NewStaticAsset_getUrl_Params_List ¶
func NewStaticAsset_getUrl_Params_List(s *capnp.Segment, sz int32) (StaticAsset_getUrl_Params_List, error)
NewStaticAsset_getUrl_Params creates a new list of StaticAsset_getUrl_Params.
type StaticAsset_getUrl_Results ¶
func NewRootStaticAsset_getUrl_Results ¶
func NewRootStaticAsset_getUrl_Results(s *capnp.Segment) (StaticAsset_getUrl_Results, error)
func NewStaticAsset_getUrl_Results ¶
func NewStaticAsset_getUrl_Results(s *capnp.Segment) (StaticAsset_getUrl_Results, error)
func ReadRootStaticAsset_getUrl_Results ¶
func ReadRootStaticAsset_getUrl_Results(msg *capnp.Message) (StaticAsset_getUrl_Results, error)
func (StaticAsset_getUrl_Results) DecodeFromPtr ¶
func (StaticAsset_getUrl_Results) DecodeFromPtr(p capnp.Ptr) StaticAsset_getUrl_Results
func (StaticAsset_getUrl_Results) EncodeAsPtr ¶
func (s StaticAsset_getUrl_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (StaticAsset_getUrl_Results) HasHostPath ¶
func (s StaticAsset_getUrl_Results) HasHostPath() bool
func (StaticAsset_getUrl_Results) HostPath ¶
func (s StaticAsset_getUrl_Results) HostPath() (string, error)
func (StaticAsset_getUrl_Results) HostPathBytes ¶
func (s StaticAsset_getUrl_Results) HostPathBytes() ([]byte, error)
func (StaticAsset_getUrl_Results) IsValid ¶
func (s StaticAsset_getUrl_Results) IsValid() bool
func (StaticAsset_getUrl_Results) Message ¶
func (s StaticAsset_getUrl_Results) Message() *capnp.Message
func (StaticAsset_getUrl_Results) Protocol ¶
func (s StaticAsset_getUrl_Results) Protocol() StaticAsset_Protocol
func (StaticAsset_getUrl_Results) Segment ¶
func (s StaticAsset_getUrl_Results) Segment() *capnp.Segment
func (StaticAsset_getUrl_Results) SetHostPath ¶
func (s StaticAsset_getUrl_Results) SetHostPath(v string) error
func (StaticAsset_getUrl_Results) SetProtocol ¶
func (s StaticAsset_getUrl_Results) SetProtocol(v StaticAsset_Protocol)
func (StaticAsset_getUrl_Results) String ¶
func (s StaticAsset_getUrl_Results) String() string
func (StaticAsset_getUrl_Results) ToPtr ¶
func (s StaticAsset_getUrl_Results) ToPtr() capnp.Ptr
type StaticAsset_getUrl_Results_Future ¶
StaticAsset_getUrl_Results_Future is a wrapper for a StaticAsset_getUrl_Results promised by a client call.
func (StaticAsset_getUrl_Results_Future) Struct ¶
func (f StaticAsset_getUrl_Results_Future) Struct() (StaticAsset_getUrl_Results, error)
type StaticAsset_getUrl_Results_List ¶
type StaticAsset_getUrl_Results_List = capnp.StructList[StaticAsset_getUrl_Results]
StaticAsset_getUrl_Results_List is a list of StaticAsset_getUrl_Results.
func NewStaticAsset_getUrl_Results_List ¶
func NewStaticAsset_getUrl_Results_List(s *capnp.Segment, sz int32) (StaticAsset_getUrl_Results_List, error)
NewStaticAsset_getUrl_Results creates a new list of StaticAsset_getUrl_Results.