util

package
Version: v0.0.0-...-d169734 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Assignable_Getter_TypeID = 0x80f2f65360d64224

Assignable_Getter_TypeID is the unique identifier for the type Assignable_Getter.

View Source
const Assignable_Getter_get_Params_TypeID = 0xb19fdbd356844119

Assignable_Getter_get_Params_TypeID is the unique identifier for the type Assignable_Getter_get_Params.

View Source
const Assignable_Getter_get_Results_TypeID = 0x97ef2da226123492

Assignable_Getter_get_Results_TypeID is the unique identifier for the type Assignable_Getter_get_Results.

View Source
const Assignable_Getter_subscribe_Params_TypeID = 0xf02783ef982ecea9

Assignable_Getter_subscribe_Params_TypeID is the unique identifier for the type Assignable_Getter_subscribe_Params.

View Source
const Assignable_Getter_subscribe_Results_TypeID = 0x84e0f802c9af605b

Assignable_Getter_subscribe_Results_TypeID is the unique identifier for the type Assignable_Getter_subscribe_Results.

View Source
const Assignable_Setter_TypeID = 0xd5256a3f93589d2f

Assignable_Setter_TypeID is the unique identifier for the type Assignable_Setter.

View Source
const Assignable_Setter_set_Params_TypeID = 0x98d0372787b787d1

Assignable_Setter_set_Params_TypeID is the unique identifier for the type Assignable_Setter_set_Params.

View Source
const Assignable_Setter_set_Results_TypeID = 0xdbfbb635d3e6abab

Assignable_Setter_set_Results_TypeID is the unique identifier for the type Assignable_Setter_set_Results.

View Source
const Assignable_TypeID = 0xeaf255b498229199

Assignable_TypeID is the unique identifier for the type Assignable.

View Source
const Assignable_asGetter_Params_TypeID = 0xf907945b872b26cf

Assignable_asGetter_Params_TypeID is the unique identifier for the type Assignable_asGetter_Params.

View Source
const Assignable_asGetter_Results_TypeID = 0x8c3d547ef2930e96

Assignable_asGetter_Results_TypeID is the unique identifier for the type Assignable_asGetter_Results.

View Source
const Assignable_asSetter_Params_TypeID = 0xa01f603357f3b349

Assignable_asSetter_Params_TypeID is the unique identifier for the type Assignable_asSetter_Params.

View Source
const Assignable_asSetter_Results_TypeID = 0xc6cbc10181c4f397

Assignable_asSetter_Results_TypeID is the unique identifier for the type Assignable_asSetter_Results.

View Source
const Assignable_get_Params_TypeID = 0xbbfd27b5d2515662

Assignable_get_Params_TypeID is the unique identifier for the type Assignable_get_Params.

View Source
const Assignable_get_Results_TypeID = 0xb351b437cd426a4f

Assignable_get_Results_TypeID is the unique identifier for the type Assignable_get_Results.

View Source
const Blob_TypeID = 0xe53527a75d90198f

Blob_TypeID is the unique identifier for the type Blob.

View Source
const Blob_getSize_Params_TypeID = 0x8ee5f62e1fab915d

Blob_getSize_Params_TypeID is the unique identifier for the type Blob_getSize_Params.

View Source
const Blob_getSize_Results_TypeID = 0x8e48cb1497f3d6f4

Blob_getSize_Results_TypeID is the unique identifier for the type Blob_getSize_Results.

View Source
const Blob_getSlice_Params_TypeID = 0x8edb5f3937d96b8a

Blob_getSlice_Params_TypeID is the unique identifier for the type Blob_getSlice_Params.

View Source
const Blob_getSlice_Results_TypeID = 0xc65caf9a2d389078

Blob_getSlice_Results_TypeID is the unique identifier for the type Blob_getSlice_Results.

View Source
const Blob_writeTo_Params_TypeID = 0x9f0719e9a9dccc4b

Blob_writeTo_Params_TypeID is the unique identifier for the type Blob_writeTo_Params.

View Source
const Blob_writeTo_Results_TypeID = 0xdb3152bd3bc2aa40

Blob_writeTo_Results_TypeID is the unique identifier for the type Blob_writeTo_Results.

View Source
const ByteStream_TypeID = 0xcd57387729cfe35f

ByteStream_TypeID is the unique identifier for the type ByteStream.

View Source
const ByteStream_done_Params_TypeID = 0xbc1426493658b76e

ByteStream_done_Params_TypeID is the unique identifier for the type ByteStream_done_Params.

View Source
const ByteStream_done_Results_TypeID = 0xd0d8d935ee30b219

ByteStream_done_Results_TypeID is the unique identifier for the type ByteStream_done_Results.

View Source
const ByteStream_expectSize_Params_TypeID = 0x8c9a3c7674c761d3

ByteStream_expectSize_Params_TypeID is the unique identifier for the type ByteStream_expectSize_Params.

View Source
const ByteStream_expectSize_Results_TypeID = 0xf35749d82a51479b

ByteStream_expectSize_Results_TypeID is the unique identifier for the type ByteStream_expectSize_Results.

View Source
const ByteStream_write_Params_TypeID = 0x97ed122121126ff2

ByteStream_write_Params_TypeID is the unique identifier for the type ByteStream_write_Params.

View Source
const ByteStream_write_Results_TypeID = 0xecde2a9c6f3f84c9

ByteStream_write_Results_TypeID is the unique identifier for the type ByteStream_write_Results.

View Source
const Handle_TypeID = 0x98f424ac606042e0

Handle_TypeID is the unique identifier for the type Handle.

View Source
const Handle_ping_Params_TypeID = 0x862b50d52c0258b0

Handle_ping_Params_TypeID is the unique identifier for the type Handle_ping_Params.

View Source
const Handle_ping_Results_TypeID = 0xc97765649d6cabe9

Handle_ping_Results_TypeID is the unique identifier for the type Handle_ping_Results.

View Source
const KeyValue_TypeID = 0x94a081e4abb13424

KeyValue_TypeID is the unique identifier for the type KeyValue.

View Source
const LocalizedText_Localization_TypeID = 0xa4f5ae06dd1b7791

LocalizedText_Localization_TypeID is the unique identifier for the type LocalizedText_Localization.

View Source
const LocalizedText_TypeID = 0x8b5db772377be249

LocalizedText_TypeID is the unique identifier for the type LocalizedText.

View Source
const StaticAsset_Protocol_TypeID = 0x9714437546d80c39

StaticAsset_Protocol_TypeID is the unique identifier for the type StaticAsset_Protocol.

View Source
const StaticAsset_TypeID = 0xfabb5e621fa9a23f

StaticAsset_TypeID is the unique identifier for the type StaticAsset.

View Source
const StaticAsset_getUrl_Params_TypeID = 0xa75ecf12570b2966

StaticAsset_getUrl_Params_TypeID is the unique identifier for the type StaticAsset_getUrl_Params.

View Source
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, policy *server.Policy) *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, policy *server.Policy) *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, policy *server.Policy) *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, policy *server.Policy) *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, policy *server.Policy) *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, policy *server.Policy) *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, policy *server.Policy) *server.Server

StaticAsset_NewServer creates a new Server from an implementation of StaticAsset_Server.

Types

type Assignable

type Assignable struct{ Client *capnp.Client }

func Assignable_ServerToClient

func Assignable_ServerToClient(s Assignable_Server, policy *server.Policy) Assignable

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

type Assignable_Getter

type Assignable_Getter struct{ Client *capnp.Client }

func Assignable_Getter_ServerToClient

func Assignable_Getter_ServerToClient(s Assignable_Getter_Server, policy *server.Policy) 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.

type Assignable_Getter_Server

type Assignable_Getter_Server interface {
	Get(context.Context, Assignable_Getter_get) error

	Subscribe(context.Context, Assignable_Getter_subscribe) error
}

A Assignable_Getter_Server is a Assignable_Getter with a local implementation.

type Assignable_Getter_get

type Assignable_Getter_get struct {
	*server.Call
}

Assignable_Getter_get holds the state for a server call to Assignable_Getter.get. See server.Call for documentation.

func (Assignable_Getter_get) AllocResults

AllocResults allocates the results struct.

func (Assignable_Getter_get) Args

Args returns the call's arguments.

type Assignable_Getter_get_Params

type Assignable_Getter_get_Params struct{ capnp.Struct }

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

type Assignable_Getter_get_Params_Future

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

type Assignable_Getter_get_Params_List

type Assignable_Getter_get_Params_List struct{ capnp.List }

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.

func (Assignable_Getter_get_Params_List) At

func (Assignable_Getter_get_Params_List) Set

func (Assignable_Getter_get_Params_List) String

type Assignable_Getter_get_Results

type Assignable_Getter_get_Results struct{ capnp.Struct }

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

func (s Assignable_Getter_get_Results) HasValue() bool

func (Assignable_Getter_get_Results) SetValue

func (Assignable_Getter_get_Results) String

func (Assignable_Getter_get_Results) Value

type Assignable_Getter_get_Results_Future

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

type Assignable_Getter_get_Results_List

type Assignable_Getter_get_Results_List struct{ capnp.List }

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.

func (Assignable_Getter_get_Results_List) At

func (Assignable_Getter_get_Results_List) Set

func (Assignable_Getter_get_Results_List) String

type Assignable_Getter_subscribe

type Assignable_Getter_subscribe struct {
	*server.Call
}

Assignable_Getter_subscribe holds the state for a server call to Assignable_Getter.subscribe. See server.Call for documentation.

func (Assignable_Getter_subscribe) AllocResults

AllocResults allocates the results struct.

func (Assignable_Getter_subscribe) Args

Args returns the call's arguments.

type Assignable_Getter_subscribe_Params

type Assignable_Getter_subscribe_Params struct{ capnp.Struct }

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

func (Assignable_Getter_subscribe_Params) SetSetter

func (Assignable_Getter_subscribe_Params) Setter

func (Assignable_Getter_subscribe_Params) String

type Assignable_Getter_subscribe_Params_Future

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

type Assignable_Getter_subscribe_Params_List

type Assignable_Getter_subscribe_Params_List struct{ capnp.List }

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.

func (Assignable_Getter_subscribe_Params_List) At

func (Assignable_Getter_subscribe_Params_List) Set

func (Assignable_Getter_subscribe_Params_List) String

type Assignable_Getter_subscribe_Results

type Assignable_Getter_subscribe_Results struct{ capnp.Struct }

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

func (Assignable_Getter_subscribe_Results) HasHandle

func (Assignable_Getter_subscribe_Results) SetHandle

func (Assignable_Getter_subscribe_Results) String

type Assignable_Getter_subscribe_Results_Future

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

type Assignable_Getter_subscribe_Results_List

type Assignable_Getter_subscribe_Results_List struct{ capnp.List }

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.

func (Assignable_Getter_subscribe_Results_List) At

func (Assignable_Getter_subscribe_Results_List) Set

func (Assignable_Getter_subscribe_Results_List) String

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
}

A Assignable_Server is a Assignable with a local implementation.

type Assignable_Setter

type Assignable_Setter struct{ Client *capnp.Client }

func Assignable_Setter_ServerToClient

func Assignable_Setter_ServerToClient(s Assignable_Setter_Server, policy *server.Policy) 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.

type Assignable_Setter_Server

type Assignable_Setter_Server interface {
	Set(context.Context, Assignable_Setter_set) error
}

A Assignable_Setter_Server is a Assignable_Setter with a local implementation.

type Assignable_Setter_set

type Assignable_Setter_set struct {
	*server.Call
}

Assignable_Setter_set holds the state for a server call to Assignable_Setter.set. See server.Call for documentation.

func (Assignable_Setter_set) AllocResults

AllocResults allocates the results struct.

func (Assignable_Setter_set) Args

Args returns the call's arguments.

type Assignable_Setter_set_Params

type Assignable_Setter_set_Params struct{ capnp.Struct }

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

func (s Assignable_Setter_set_Params) HasValue() bool

func (Assignable_Setter_set_Params) SetValue

func (Assignable_Setter_set_Params) String

func (Assignable_Setter_set_Params) Value

type Assignable_Setter_set_Params_Future

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

type Assignable_Setter_set_Params_List

type Assignable_Setter_set_Params_List struct{ capnp.List }

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.

func (Assignable_Setter_set_Params_List) At

func (Assignable_Setter_set_Params_List) Set

func (Assignable_Setter_set_Params_List) String

type Assignable_Setter_set_Results

type Assignable_Setter_set_Results struct{ capnp.Struct }

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

type Assignable_Setter_set_Results_Future

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

type Assignable_Setter_set_Results_List

type Assignable_Setter_set_Results_List struct{ capnp.List }

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.

func (Assignable_Setter_set_Results_List) At

func (Assignable_Setter_set_Results_List) Set

func (Assignable_Setter_set_Results_List) String

type Assignable_asGetter

type Assignable_asGetter struct {
	*server.Call
}

Assignable_asGetter holds the state for a server call to Assignable.asGetter. See server.Call for documentation.

func (Assignable_asGetter) AllocResults

AllocResults allocates the results struct.

func (Assignable_asGetter) Args

Args returns the call's arguments.

type Assignable_asGetter_Params

type Assignable_asGetter_Params struct{ capnp.Struct }

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

type Assignable_asGetter_Params_Future

type Assignable_asGetter_Params_Future struct{ *capnp.Future }

Assignable_asGetter_Params_Future is a wrapper for a Assignable_asGetter_Params promised by a client call.

func (Assignable_asGetter_Params_Future) Struct

type Assignable_asGetter_Params_List

type Assignable_asGetter_Params_List struct{ capnp.List }

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.

func (Assignable_asGetter_Params_List) At

func (Assignable_asGetter_Params_List) Set

func (Assignable_asGetter_Params_List) String

type Assignable_asGetter_Results

type Assignable_asGetter_Results struct{ capnp.Struct }

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

func (Assignable_asGetter_Results) HasGetter

func (s Assignable_asGetter_Results) HasGetter() bool

func (Assignable_asGetter_Results) SetGetter

func (Assignable_asGetter_Results) String

type Assignable_asGetter_Results_Future

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

type Assignable_asGetter_Results_List

type Assignable_asGetter_Results_List struct{ capnp.List }

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.

func (Assignable_asGetter_Results_List) At

func (Assignable_asGetter_Results_List) Set

func (Assignable_asGetter_Results_List) String

type Assignable_asSetter

type Assignable_asSetter struct {
	*server.Call
}

Assignable_asSetter holds the state for a server call to Assignable.asSetter. See server.Call for documentation.

func (Assignable_asSetter) AllocResults

AllocResults allocates the results struct.

func (Assignable_asSetter) Args

Args returns the call's arguments.

type Assignable_asSetter_Params

type Assignable_asSetter_Params struct{ capnp.Struct }

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

type Assignable_asSetter_Params_Future

type Assignable_asSetter_Params_Future struct{ *capnp.Future }

Assignable_asSetter_Params_Future is a wrapper for a Assignable_asSetter_Params promised by a client call.

func (Assignable_asSetter_Params_Future) Struct

type Assignable_asSetter_Params_List

type Assignable_asSetter_Params_List struct{ capnp.List }

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.

func (Assignable_asSetter_Params_List) At

func (Assignable_asSetter_Params_List) Set

func (Assignable_asSetter_Params_List) String

type Assignable_asSetter_Results

type Assignable_asSetter_Results struct{ capnp.Struct }

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

func (s Assignable_asSetter_Results) HasSetter() bool

func (Assignable_asSetter_Results) SetSetter

func (Assignable_asSetter_Results) Setter

func (Assignable_asSetter_Results) String

type Assignable_asSetter_Results_Future

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

type Assignable_asSetter_Results_List

type Assignable_asSetter_Results_List struct{ capnp.List }

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.

func (Assignable_asSetter_Results_List) At

func (Assignable_asSetter_Results_List) Set

func (Assignable_asSetter_Results_List) String

type Assignable_get

type Assignable_get struct {
	*server.Call
}

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

Args returns the call's arguments.

type Assignable_get_Params

type Assignable_get_Params struct{ capnp.Struct }

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

func (s Assignable_get_Params) String() string

type Assignable_get_Params_Future

type Assignable_get_Params_Future struct{ *capnp.Future }

Assignable_get_Params_Future is a wrapper for a Assignable_get_Params promised by a client call.

func (Assignable_get_Params_Future) Struct

type Assignable_get_Params_List

type Assignable_get_Params_List struct{ capnp.List }

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.

func (Assignable_get_Params_List) At

func (Assignable_get_Params_List) Set

func (Assignable_get_Params_List) String

type Assignable_get_Results

type Assignable_get_Results struct{ capnp.Struct }

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

func (s Assignable_get_Results) HasSetter() bool

func (Assignable_get_Results) HasValue

func (s Assignable_get_Results) HasValue() bool

func (Assignable_get_Results) SetSetter

func (Assignable_get_Results) SetValue

func (s Assignable_get_Results) SetValue(v capnp.Ptr) error

func (Assignable_get_Results) Setter

func (Assignable_get_Results) String

func (s Assignable_get_Results) String() string

func (Assignable_get_Results) Value

func (s Assignable_get_Results) Value() (capnp.Ptr, error)

type Assignable_get_Results_Future

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

func (Assignable_get_Results_Future) Value

type Assignable_get_Results_List

type Assignable_get_Results_List struct{ capnp.List }

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.

func (Assignable_get_Results_List) At

func (Assignable_get_Results_List) Set

func (Assignable_get_Results_List) String

type Blob

type Blob struct{ Client *capnp.Client }

func Blob_ServerToClient

func Blob_ServerToClient(s Blob_Server, policy *server.Policy) Blob

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

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
}

A Blob_Server is a Blob with a local implementation.

type Blob_getSize

type Blob_getSize struct {
	*server.Call
}

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

Args returns the call's arguments.

type Blob_getSize_Params

type Blob_getSize_Params struct{ capnp.Struct }

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

func (s Blob_getSize_Params) String() string

type Blob_getSize_Params_Future

type Blob_getSize_Params_Future struct{ *capnp.Future }

Blob_getSize_Params_Future is a wrapper for a Blob_getSize_Params promised by a client call.

func (Blob_getSize_Params_Future) Struct

type Blob_getSize_Params_List

type Blob_getSize_Params_List struct{ capnp.List }

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.

func (Blob_getSize_Params_List) At

func (Blob_getSize_Params_List) Set

func (Blob_getSize_Params_List) String

func (s Blob_getSize_Params_List) String() string

type Blob_getSize_Results

type Blob_getSize_Results struct{ capnp.Struct }

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

type Blob_getSize_Results_Future

type Blob_getSize_Results_Future struct{ *capnp.Future }

Blob_getSize_Results_Future is a wrapper for a Blob_getSize_Results promised by a client call.

func (Blob_getSize_Results_Future) Struct

type Blob_getSize_Results_List

type Blob_getSize_Results_List struct{ capnp.List }

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.

func (Blob_getSize_Results_List) At

func (Blob_getSize_Results_List) Set

func (Blob_getSize_Results_List) String

func (s Blob_getSize_Results_List) String() string

type Blob_getSlice

type Blob_getSlice struct {
	*server.Call
}

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

Args returns the call's arguments.

type Blob_getSlice_Params

type Blob_getSlice_Params struct{ capnp.Struct }

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

func (s Blob_getSlice_Params) Offset() uint64

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

type Blob_getSlice_Params_Future

type Blob_getSlice_Params_Future struct{ *capnp.Future }

Blob_getSlice_Params_Future is a wrapper for a Blob_getSlice_Params promised by a client call.

func (Blob_getSlice_Params_Future) Struct

type Blob_getSlice_Params_List

type Blob_getSlice_Params_List struct{ capnp.List }

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.

func (Blob_getSlice_Params_List) At

func (Blob_getSlice_Params_List) Set

func (Blob_getSlice_Params_List) String

func (s Blob_getSlice_Params_List) String() string

type Blob_getSlice_Results

type Blob_getSlice_Results struct{ capnp.Struct }

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

func (s Blob_getSlice_Results) HasData() bool

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

type Blob_getSlice_Results_Future

type Blob_getSlice_Results_Future struct{ *capnp.Future }

Blob_getSlice_Results_Future is a wrapper for a Blob_getSlice_Results promised by a client call.

func (Blob_getSlice_Results_Future) Struct

type Blob_getSlice_Results_List

type Blob_getSlice_Results_List struct{ capnp.List }

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.

func (Blob_getSlice_Results_List) At

func (Blob_getSlice_Results_List) Set

func (Blob_getSlice_Results_List) String

type Blob_writeTo

type Blob_writeTo struct {
	*server.Call
}

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

Args returns the call's arguments.

type Blob_writeTo_Params

type Blob_writeTo_Params struct{ capnp.Struct }

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

func (s Blob_writeTo_Params) HasStream() bool

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

type Blob_writeTo_Params_Future

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

type Blob_writeTo_Params_List

type Blob_writeTo_Params_List struct{ capnp.List }

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.

func (Blob_writeTo_Params_List) At

func (Blob_writeTo_Params_List) Set

func (Blob_writeTo_Params_List) String

func (s Blob_writeTo_Params_List) String() string

type Blob_writeTo_Results

type Blob_writeTo_Results struct{ capnp.Struct }

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

func (s Blob_writeTo_Results) Handle() Handle

func (Blob_writeTo_Results) HasHandle

func (s Blob_writeTo_Results) HasHandle() bool

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

type Blob_writeTo_Results_Future

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

type Blob_writeTo_Results_List

type Blob_writeTo_Results_List struct{ capnp.List }

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.

func (Blob_writeTo_Results_List) At

func (Blob_writeTo_Results_List) Set

func (Blob_writeTo_Results_List) String

func (s Blob_writeTo_Results_List) String() string

type ByteStream

type ByteStream struct{ Client *capnp.Client }

func ByteStream_ServerToClient

func ByteStream_ServerToClient(s ByteStream_Server, policy *server.Policy) ByteStream

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

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
}

A ByteStream_Server is a ByteStream with a local implementation.

type ByteStream_done

type ByteStream_done struct {
	*server.Call
}

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

Args returns the call's arguments.

type ByteStream_done_Params

type ByteStream_done_Params struct{ capnp.Struct }

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

func (s ByteStream_done_Params) String() string

type ByteStream_done_Params_Future

type ByteStream_done_Params_Future struct{ *capnp.Future }

ByteStream_done_Params_Future is a wrapper for a ByteStream_done_Params promised by a client call.

func (ByteStream_done_Params_Future) Struct

type ByteStream_done_Params_List

type ByteStream_done_Params_List struct{ capnp.List }

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.

func (ByteStream_done_Params_List) At

func (ByteStream_done_Params_List) Set

func (ByteStream_done_Params_List) String

type ByteStream_done_Results

type ByteStream_done_Results struct{ capnp.Struct }

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

func (s ByteStream_done_Results) String() string

type ByteStream_done_Results_Future

type ByteStream_done_Results_Future struct{ *capnp.Future }

ByteStream_done_Results_Future is a wrapper for a ByteStream_done_Results promised by a client call.

func (ByteStream_done_Results_Future) Struct

type ByteStream_done_Results_List

type ByteStream_done_Results_List struct{ capnp.List }

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.

func (ByteStream_done_Results_List) At

func (ByteStream_done_Results_List) Set

func (ByteStream_done_Results_List) String

type ByteStream_expectSize

type ByteStream_expectSize struct {
	*server.Call
}

ByteStream_expectSize holds the state for a server call to ByteStream.expectSize. See server.Call for documentation.

func (ByteStream_expectSize) AllocResults

AllocResults allocates the results struct.

func (ByteStream_expectSize) Args

Args returns the call's arguments.

type ByteStream_expectSize_Params

type ByteStream_expectSize_Params struct{ capnp.Struct }

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

func (s ByteStream_expectSize_Params) SetSize(v uint64)

func (ByteStream_expectSize_Params) Size

func (ByteStream_expectSize_Params) String

type ByteStream_expectSize_Params_Future

type ByteStream_expectSize_Params_Future struct{ *capnp.Future }

ByteStream_expectSize_Params_Future is a wrapper for a ByteStream_expectSize_Params promised by a client call.

func (ByteStream_expectSize_Params_Future) Struct

type ByteStream_expectSize_Params_List

type ByteStream_expectSize_Params_List struct{ capnp.List }

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.

func (ByteStream_expectSize_Params_List) At

func (ByteStream_expectSize_Params_List) Set

func (ByteStream_expectSize_Params_List) String

type ByteStream_expectSize_Results

type ByteStream_expectSize_Results struct{ capnp.Struct }

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

type ByteStream_expectSize_Results_Future

type ByteStream_expectSize_Results_Future struct{ *capnp.Future }

ByteStream_expectSize_Results_Future is a wrapper for a ByteStream_expectSize_Results promised by a client call.

func (ByteStream_expectSize_Results_Future) Struct

type ByteStream_expectSize_Results_List

type ByteStream_expectSize_Results_List struct{ capnp.List }

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.

func (ByteStream_expectSize_Results_List) At

func (ByteStream_expectSize_Results_List) Set

func (ByteStream_expectSize_Results_List) String

type ByteStream_write

type ByteStream_write struct {
	*server.Call
}

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() (ByteStream_write_Results, error)

AllocResults allocates the results struct.

func (ByteStream_write) Args

Args returns the call's arguments.

type ByteStream_write_Params

type ByteStream_write_Params struct{ capnp.Struct }

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

func (s ByteStream_write_Params) HasData() bool

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

type ByteStream_write_Params_Future

type ByteStream_write_Params_Future struct{ *capnp.Future }

ByteStream_write_Params_Future is a wrapper for a ByteStream_write_Params promised by a client call.

func (ByteStream_write_Params_Future) Struct

type ByteStream_write_Params_List

type ByteStream_write_Params_List struct{ capnp.List }

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.

func (ByteStream_write_Params_List) At

func (ByteStream_write_Params_List) Set

func (ByteStream_write_Params_List) String

type ByteStream_write_Results

type ByteStream_write_Results struct{ capnp.Struct }

func NewByteStream_write_Results

func NewByteStream_write_Results(s *capnp.Segment) (ByteStream_write_Results, error)

func NewRootByteStream_write_Results

func NewRootByteStream_write_Results(s *capnp.Segment) (ByteStream_write_Results, error)

func ReadRootByteStream_write_Results

func ReadRootByteStream_write_Results(msg *capnp.Message) (ByteStream_write_Results, error)

func (ByteStream_write_Results) String

func (s ByteStream_write_Results) String() string

type ByteStream_write_Results_Future

type ByteStream_write_Results_Future struct{ *capnp.Future }

ByteStream_write_Results_Future is a wrapper for a ByteStream_write_Results promised by a client call.

func (ByteStream_write_Results_Future) Struct

type ByteStream_write_Results_List

type ByteStream_write_Results_List struct{ capnp.List }

ByteStream_write_Results_List is a list of ByteStream_write_Results.

func NewByteStream_write_Results_List

func NewByteStream_write_Results_List(s *capnp.Segment, sz int32) (ByteStream_write_Results_List, error)

NewByteStream_write_Results creates a new list of ByteStream_write_Results.

func (ByteStream_write_Results_List) At

func (ByteStream_write_Results_List) Set

func (ByteStream_write_Results_List) String

type Handle

type Handle struct{ Client *capnp.Client }

func Handle_ServerToClient

func Handle_ServerToClient(s Handle_Server, policy *server.Policy) 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) Ping

type Handle_Server

type Handle_Server interface {
	Ping(context.Context, Handle_ping) error
}

A Handle_Server is a Handle with a local implementation.

type Handle_ping

type Handle_ping struct {
	*server.Call
}

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

Args returns the call's arguments.

type Handle_ping_Params

type Handle_ping_Params struct{ capnp.Struct }

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

func (s Handle_ping_Params) String() string

type Handle_ping_Params_Future

type Handle_ping_Params_Future struct{ *capnp.Future }

Handle_ping_Params_Future is a wrapper for a Handle_ping_Params promised by a client call.

func (Handle_ping_Params_Future) Struct

type Handle_ping_Params_List

type Handle_ping_Params_List struct{ capnp.List }

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.

func (Handle_ping_Params_List) At

func (Handle_ping_Params_List) Set

func (Handle_ping_Params_List) String

func (s Handle_ping_Params_List) String() string

type Handle_ping_Results

type Handle_ping_Results struct{ capnp.Struct }

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

func (s Handle_ping_Results) String() string

type Handle_ping_Results_Future

type Handle_ping_Results_Future struct{ *capnp.Future }

Handle_ping_Results_Future is a wrapper for a Handle_ping_Results promised by a client call.

func (Handle_ping_Results_Future) Struct

type Handle_ping_Results_List

type Handle_ping_Results_List struct{ capnp.List }

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.

func (Handle_ping_Results_List) At

func (Handle_ping_Results_List) Set

func (Handle_ping_Results_List) String

func (s Handle_ping_Results_List) String() string

type KeyValue

type KeyValue struct{ capnp.Struct }

func NewKeyValue

func NewKeyValue(s *capnp.Segment) (KeyValue, error)

func NewRootKeyValue

func NewRootKeyValue(s *capnp.Segment) (KeyValue, error)

func ReadRootKeyValue

func ReadRootKeyValue(msg *capnp.Message) (KeyValue, error)

func (KeyValue) HasKey

func (s KeyValue) HasKey() bool

func (KeyValue) HasValue

func (s KeyValue) HasValue() bool

func (KeyValue) Key

func (s KeyValue) Key() (string, error)

func (KeyValue) KeyBytes

func (s KeyValue) KeyBytes() ([]byte, error)

func (KeyValue) SetKey

func (s KeyValue) SetKey(v string) error

func (KeyValue) SetValue

func (s KeyValue) SetValue(v string) error

func (KeyValue) String

func (s KeyValue) String() string

func (KeyValue) Value

func (s KeyValue) Value() (string, error)

func (KeyValue) ValueBytes

func (s KeyValue) ValueBytes() ([]byte, error)

type KeyValue_Future

type KeyValue_Future struct{ *capnp.Future }

KeyValue_Future is a wrapper for a KeyValue promised by a client call.

func (KeyValue_Future) Struct

func (p KeyValue_Future) Struct() (KeyValue, error)

type KeyValue_List

type KeyValue_List struct{ capnp.List }

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.

func (KeyValue_List) At

func (s KeyValue_List) At(i int) KeyValue

func (KeyValue_List) Set

func (s KeyValue_List) Set(i int, v KeyValue) error

func (KeyValue_List) String

func (s KeyValue_List) String() string

type LocalizedText

type LocalizedText struct{ capnp.Struct }

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

func (s LocalizedText) DefaultText() (string, error)

func (LocalizedText) DefaultTextBytes

func (s LocalizedText) DefaultTextBytes() ([]byte, error)

func (LocalizedText) HasDefaultText

func (s LocalizedText) HasDefaultText() bool

func (LocalizedText) HasLocalizations

func (s LocalizedText) HasLocalizations() bool

func (LocalizedText) Localizations

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

type LocalizedText_Future

type LocalizedText_Future struct{ *capnp.Future }

LocalizedText_Future is a wrapper for a LocalizedText promised by a client call.

func (LocalizedText_Future) Struct

type LocalizedText_List

type LocalizedText_List struct{ capnp.List }

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.

func (LocalizedText_List) At

func (LocalizedText_List) Set

func (LocalizedText_List) String

func (s LocalizedText_List) String() string

type LocalizedText_Localization

type LocalizedText_Localization struct{ capnp.Struct }

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

func (s LocalizedText_Localization) HasLocale() bool

func (LocalizedText_Localization) HasText

func (s LocalizedText_Localization) HasText() 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) SetLocale

func (s LocalizedText_Localization) SetLocale(v string) error

func (LocalizedText_Localization) SetText

func (LocalizedText_Localization) String

func (LocalizedText_Localization) Text

func (LocalizedText_Localization) TextBytes

func (s LocalizedText_Localization) TextBytes() ([]byte, error)

type LocalizedText_Localization_Future

type LocalizedText_Localization_Future struct{ *capnp.Future }

LocalizedText_Localization_Future is a wrapper for a LocalizedText_Localization promised by a client call.

func (LocalizedText_Localization_Future) Struct

type LocalizedText_Localization_List

type LocalizedText_Localization_List struct{ capnp.List }

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.

func (LocalizedText_Localization_List) At

func (LocalizedText_Localization_List) Set

func (LocalizedText_Localization_List) String

type StaticAsset

type StaticAsset struct{ Client *capnp.Client }

func StaticAsset_ServerToClient

func StaticAsset_ServerToClient(s StaticAsset_Server, policy *server.Policy) StaticAsset

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

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 struct{ capnp.List }

func NewStaticAsset_Protocol_List

func NewStaticAsset_Protocol_List(s *capnp.Segment, sz int32) (StaticAsset_Protocol_List, error)

func (StaticAsset_Protocol_List) At

func (StaticAsset_Protocol_List) Set

type StaticAsset_Server

type StaticAsset_Server interface {
	GetUrl(context.Context, StaticAsset_getUrl) error
}

A StaticAsset_Server is a StaticAsset with a local implementation.

type StaticAsset_getUrl

type StaticAsset_getUrl struct {
	*server.Call
}

StaticAsset_getUrl holds the state for a server call to StaticAsset.getUrl. See server.Call for documentation.

func (StaticAsset_getUrl) AllocResults

AllocResults allocates the results struct.

func (StaticAsset_getUrl) Args

Args returns the call's arguments.

type StaticAsset_getUrl_Params

type StaticAsset_getUrl_Params struct{ capnp.Struct }

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

func (s StaticAsset_getUrl_Params) String() string

type StaticAsset_getUrl_Params_Future

type StaticAsset_getUrl_Params_Future struct{ *capnp.Future }

StaticAsset_getUrl_Params_Future is a wrapper for a StaticAsset_getUrl_Params promised by a client call.

func (StaticAsset_getUrl_Params_Future) Struct

type StaticAsset_getUrl_Params_List

type StaticAsset_getUrl_Params_List struct{ capnp.List }

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.

func (StaticAsset_getUrl_Params_List) At

func (StaticAsset_getUrl_Params_List) Set

func (StaticAsset_getUrl_Params_List) String

type StaticAsset_getUrl_Results

type StaticAsset_getUrl_Results struct{ capnp.Struct }

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

func (StaticAsset_getUrl_Results) SetHostPath

func (s StaticAsset_getUrl_Results) SetHostPath(v string) error

func (StaticAsset_getUrl_Results) SetProtocol

func (StaticAsset_getUrl_Results) String

type StaticAsset_getUrl_Results_Future

type StaticAsset_getUrl_Results_Future struct{ *capnp.Future }

StaticAsset_getUrl_Results_Future is a wrapper for a StaticAsset_getUrl_Results promised by a client call.

func (StaticAsset_getUrl_Results_Future) Struct

type StaticAsset_getUrl_Results_List

type StaticAsset_getUrl_Results_List struct{ capnp.List }

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.

func (StaticAsset_getUrl_Results_List) At

func (StaticAsset_getUrl_Results_List) Set

func (StaticAsset_getUrl_Results_List) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL