Documentation ¶
Index ¶
- Constants
- func Callback_Methods(methods []server.Method, s Callback_Server) []server.Method
- func Callback_NewServer(s Callback_Server, policy *server.Policy) *server.Server
- func CapHolder_Methods(methods []server.Method, s CapHolder_Server) []server.Method
- func CapHolder_NewServer(s CapHolder_Server, policy *server.Policy) *server.Server
- func Identifiable_Methods(methods []server.Method, s Identifiable_Server) []server.Method
- func Identifiable_NewServer(s Identifiable_Server, policy *server.Policy) *server.Server
- func Stopable_Methods(methods []server.Method, s Stopable_Server) []server.Method
- func Stopable_NewServer(s Stopable_Server, policy *server.Policy) *server.Server
- type Callback
- type Callback_Server
- type Callback_call
- type Callback_call_Params
- type Callback_call_Params_Future
- type Callback_call_Params_List
- type Callback_call_Results
- type Callback_call_Results_Future
- type Callback_call_Results_List
- type CapHolder
- func (c CapHolder) AddRef() CapHolder
- func (c CapHolder) Cap(ctx context.Context, params func(CapHolder_cap_Params) error) (CapHolder_cap_Results_Future, capnp.ReleaseFunc)
- func (c CapHolder) Release()
- func (c CapHolder) ReleaseCap(ctx context.Context, params func(CapHolder_releaseCap_Params) error) (CapHolder_releaseCap_Results_Future, capnp.ReleaseFunc)
- type CapHolder_Server
- type CapHolder_cap
- type CapHolder_cap_Params
- type CapHolder_cap_Params_Future
- type CapHolder_cap_Params_List
- type CapHolder_cap_Results
- type CapHolder_cap_Results_Future
- type CapHolder_cap_Results_List
- type CapHolder_releaseCap
- type CapHolder_releaseCap_Params
- type CapHolder_releaseCap_Params_Future
- type CapHolder_releaseCap_Params_List
- type CapHolder_releaseCap_Results
- type CapHolder_releaseCap_Results_Future
- type CapHolder_releaseCap_Results_List
- type Date
- type Date_Future
- type Date_List
- type IdInformation
- func (s IdInformation) Description() (string, error)
- func (s IdInformation) DescriptionBytes() ([]byte, error)
- func (s IdInformation) HasDescription() bool
- func (s IdInformation) HasId() bool
- func (s IdInformation) HasName() bool
- func (s IdInformation) Id() (string, error)
- func (s IdInformation) IdBytes() ([]byte, error)
- func (s IdInformation) Name() (string, error)
- func (s IdInformation) NameBytes() ([]byte, error)
- func (s IdInformation) SetDescription(v string) error
- func (s IdInformation) SetId(v string) error
- func (s IdInformation) SetName(v string) error
- func (s IdInformation) String() string
- type IdInformation_Future
- type IdInformation_List
- type Identifiable
- type Identifiable_Server
- type Identifiable_info
- type Identifiable_info_Params
- type Identifiable_info_Params_Future
- type Identifiable_info_Params_List
- type LL
- type LL_Future
- type LL_List
- type ListEntry
- type ListEntry_Future
- type ListEntry_List
- type Pair
- type Pair_Future
- type Pair_List
- type Stopable
- type Stopable_Server
- type Stopable_stop
- type Stopable_stop_Params
- type Stopable_stop_Params_Future
- type Stopable_stop_Params_List
- type Stopable_stop_Results
- type Stopable_stop_Results_Future
- type Stopable_stop_Results_List
- type StructuredText
- type StructuredText_Future
- type StructuredText_List
- type StructuredText_structure
- type StructuredText_structure_Future
- type StructuredText_structure_Which
- type ZmqPipelineAddresses
- func (s ZmqPipelineAddresses) HasInput() bool
- func (s ZmqPipelineAddresses) HasOutput() bool
- func (s ZmqPipelineAddresses) Input() (string, error)
- func (s ZmqPipelineAddresses) InputBytes() ([]byte, error)
- func (s ZmqPipelineAddresses) Output() (string, error)
- func (s ZmqPipelineAddresses) OutputBytes() ([]byte, error)
- func (s ZmqPipelineAddresses) SetInput(v string) error
- func (s ZmqPipelineAddresses) SetOutput(v string) error
- func (s ZmqPipelineAddresses) String() string
- type ZmqPipelineAddresses_Future
- type ZmqPipelineAddresses_List
Constants ¶
const Callback_TypeID = 0x902904cd51bff117
Callback_TypeID is the unique identifier for the type Callback.
const Callback_call_Params_TypeID = 0x83b4353989cbcb47
Callback_call_Params_TypeID is the unique identifier for the type Callback_call_Params.
const Callback_call_Results_TypeID = 0xb16b6184cf8b8acf
Callback_call_Results_TypeID is the unique identifier for the type Callback_call_Results.
const CapHolder_TypeID = 0xcac9c6537df1a097
CapHolder_TypeID is the unique identifier for the type CapHolder.
const CapHolder_cap_Params_TypeID = 0xda52b34d937fa814
CapHolder_cap_Params_TypeID is the unique identifier for the type CapHolder_cap_Params.
const CapHolder_cap_Results_TypeID = 0xdc9b0f483595691f
CapHolder_cap_Results_TypeID is the unique identifier for the type CapHolder_cap_Results.
const CapHolder_releaseCap_Params_TypeID = 0x82449708d4fd120d
CapHolder_releaseCap_Params_TypeID is the unique identifier for the type CapHolder_releaseCap_Params.
const CapHolder_releaseCap_Results_TypeID = 0xc1374ccca01e2b53
CapHolder_releaseCap_Results_TypeID is the unique identifier for the type CapHolder_releaseCap_Results.
const Date_TypeID = 0x97e6feac0322118d
Date_TypeID is the unique identifier for the type Date.
const IdInformation_TypeID = 0xd4cb7ecbfe03dad3
IdInformation_TypeID is the unique identifier for the type IdInformation.
const Identifiable_TypeID = 0xb2afd1cb599c48d5
Identifiable_TypeID is the unique identifier for the type Identifiable.
const Identifiable_info_Params_TypeID = 0x9d8aa1cf1e49deb1
Identifiable_info_Params_TypeID is the unique identifier for the type Identifiable_info_Params.
const LL_TypeID = 0xd67792aa3fc241be
LL_TypeID is the unique identifier for the type LL.
const ListEntry_TypeID = 0xc201bf46dd40051e
ListEntry_TypeID is the unique identifier for the type ListEntry.
const Pair_TypeID = 0xb9d4864725174733
Pair_TypeID is the unique identifier for the type Pair.
const Stopable_TypeID = 0xce7e4202f09e314a
Stopable_TypeID is the unique identifier for the type Stopable.
const Stopable_stop_Params_TypeID = 0x98a27c9476315729
Stopable_stop_Params_TypeID is the unique identifier for the type Stopable_stop_Params.
const Stopable_stop_Results_TypeID = 0xd3a3b24aaa056a5c
Stopable_stop_Results_TypeID is the unique identifier for the type Stopable_stop_Results.
const StructuredText_TypeID = 0xed6c098b67cad454
StructuredText_TypeID is the unique identifier for the type StructuredText.
const ZmqPipelineAddresses_TypeID = 0xfe04fe97ba25a27e
ZmqPipelineAddresses_TypeID is the unique identifier for the type ZmqPipelineAddresses.
Variables ¶
This section is empty.
Functions ¶
func Callback_Methods ¶
func Callback_Methods(methods []server.Method, s Callback_Server) []server.Method
Callback_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Callback_NewServer ¶
func Callback_NewServer(s Callback_Server, policy *server.Policy) *server.Server
Callback_NewServer creates a new Server from an implementation of Callback_Server.
func CapHolder_Methods ¶
func CapHolder_Methods(methods []server.Method, s CapHolder_Server) []server.Method
CapHolder_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func CapHolder_NewServer ¶
func CapHolder_NewServer(s CapHolder_Server, policy *server.Policy) *server.Server
CapHolder_NewServer creates a new Server from an implementation of CapHolder_Server.
func Identifiable_Methods ¶
func Identifiable_Methods(methods []server.Method, s Identifiable_Server) []server.Method
Identifiable_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Identifiable_NewServer ¶
func Identifiable_NewServer(s Identifiable_Server, policy *server.Policy) *server.Server
Identifiable_NewServer creates a new Server from an implementation of Identifiable_Server.
func Stopable_Methods ¶
func Stopable_Methods(methods []server.Method, s Stopable_Server) []server.Method
Stopable_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Stopable_NewServer ¶
func Stopable_NewServer(s Stopable_Server, policy *server.Policy) *server.Server
Stopable_NewServer creates a new Server from an implementation of Stopable_Server.
Types ¶
type Callback ¶
func Callback_ServerToClient ¶
func Callback_ServerToClient(s Callback_Server, policy *server.Policy) Callback
Callback_ServerToClient creates a new Client from an implementation of Callback_Server. The caller is responsible for calling Release on the returned Client.
func (Callback) Call ¶
func (c Callback) Call(ctx context.Context, params func(Callback_call_Params) error) (Callback_call_Results_Future, capnp.ReleaseFunc)
type Callback_Server ¶
type Callback_Server interface {
Call(context.Context, Callback_call) error
}
A Callback_Server is a Callback with a local implementation.
type Callback_call ¶
Callback_call holds the state for a server call to Callback.call. See server.Call for documentation.
func (Callback_call) AllocResults ¶
func (c Callback_call) AllocResults() (Callback_call_Results, error)
AllocResults allocates the results struct.
func (Callback_call) Args ¶
func (c Callback_call) Args() Callback_call_Params
Args returns the call's arguments.
type Callback_call_Params ¶
func NewCallback_call_Params ¶
func NewCallback_call_Params(s *capnp.Segment) (Callback_call_Params, error)
func NewRootCallback_call_Params ¶
func NewRootCallback_call_Params(s *capnp.Segment) (Callback_call_Params, error)
func ReadRootCallback_call_Params ¶
func ReadRootCallback_call_Params(msg *capnp.Message) (Callback_call_Params, error)
func (Callback_call_Params) String ¶
func (s Callback_call_Params) String() string
type Callback_call_Params_Future ¶
Callback_call_Params_Future is a wrapper for a Callback_call_Params promised by a client call.
func (Callback_call_Params_Future) Struct ¶
func (p Callback_call_Params_Future) Struct() (Callback_call_Params, error)
type Callback_call_Params_List ¶
Callback_call_Params_List is a list of Callback_call_Params.
func NewCallback_call_Params_List ¶
func NewCallback_call_Params_List(s *capnp.Segment, sz int32) (Callback_call_Params_List, error)
NewCallback_call_Params creates a new list of Callback_call_Params.
func (Callback_call_Params_List) At ¶
func (s Callback_call_Params_List) At(i int) Callback_call_Params
func (Callback_call_Params_List) Set ¶
func (s Callback_call_Params_List) Set(i int, v Callback_call_Params) error
func (Callback_call_Params_List) String ¶
func (s Callback_call_Params_List) String() string
type Callback_call_Results ¶
func NewCallback_call_Results ¶
func NewCallback_call_Results(s *capnp.Segment) (Callback_call_Results, error)
func NewRootCallback_call_Results ¶
func NewRootCallback_call_Results(s *capnp.Segment) (Callback_call_Results, error)
func ReadRootCallback_call_Results ¶
func ReadRootCallback_call_Results(msg *capnp.Message) (Callback_call_Results, error)
func (Callback_call_Results) String ¶
func (s Callback_call_Results) String() string
type Callback_call_Results_Future ¶
Callback_call_Results_Future is a wrapper for a Callback_call_Results promised by a client call.
func (Callback_call_Results_Future) Struct ¶
func (p Callback_call_Results_Future) Struct() (Callback_call_Results, error)
type Callback_call_Results_List ¶
Callback_call_Results_List is a list of Callback_call_Results.
func NewCallback_call_Results_List ¶
func NewCallback_call_Results_List(s *capnp.Segment, sz int32) (Callback_call_Results_List, error)
NewCallback_call_Results creates a new list of Callback_call_Results.
func (Callback_call_Results_List) At ¶
func (s Callback_call_Results_List) At(i int) Callback_call_Results
func (Callback_call_Results_List) Set ¶
func (s Callback_call_Results_List) Set(i int, v Callback_call_Results) error
func (Callback_call_Results_List) String ¶
func (s Callback_call_Results_List) String() string
type CapHolder ¶
func CapHolder_ServerToClient ¶
func CapHolder_ServerToClient(s CapHolder_Server, policy *server.Policy) CapHolder
CapHolder_ServerToClient creates a new Client from an implementation of CapHolder_Server. The caller is responsible for calling Release on the returned Client.
func (CapHolder) Cap ¶
func (c CapHolder) Cap(ctx context.Context, params func(CapHolder_cap_Params) error) (CapHolder_cap_Results_Future, capnp.ReleaseFunc)
func (CapHolder) ReleaseCap ¶
func (c CapHolder) ReleaseCap(ctx context.Context, params func(CapHolder_releaseCap_Params) error) (CapHolder_releaseCap_Results_Future, capnp.ReleaseFunc)
type CapHolder_Server ¶
type CapHolder_Server interface { Cap(context.Context, CapHolder_cap) error ReleaseCap(context.Context, CapHolder_releaseCap) error }
A CapHolder_Server is a CapHolder with a local implementation.
type CapHolder_cap ¶
CapHolder_cap holds the state for a server call to CapHolder.cap. See server.Call for documentation.
func (CapHolder_cap) AllocResults ¶
func (c CapHolder_cap) AllocResults() (CapHolder_cap_Results, error)
AllocResults allocates the results struct.
func (CapHolder_cap) Args ¶
func (c CapHolder_cap) Args() CapHolder_cap_Params
Args returns the call's arguments.
type CapHolder_cap_Params ¶
func NewCapHolder_cap_Params ¶
func NewCapHolder_cap_Params(s *capnp.Segment) (CapHolder_cap_Params, error)
func NewRootCapHolder_cap_Params ¶
func NewRootCapHolder_cap_Params(s *capnp.Segment) (CapHolder_cap_Params, error)
func ReadRootCapHolder_cap_Params ¶
func ReadRootCapHolder_cap_Params(msg *capnp.Message) (CapHolder_cap_Params, error)
func (CapHolder_cap_Params) String ¶
func (s CapHolder_cap_Params) String() string
type CapHolder_cap_Params_Future ¶
CapHolder_cap_Params_Future is a wrapper for a CapHolder_cap_Params promised by a client call.
func (CapHolder_cap_Params_Future) Struct ¶
func (p CapHolder_cap_Params_Future) Struct() (CapHolder_cap_Params, error)
type CapHolder_cap_Params_List ¶
CapHolder_cap_Params_List is a list of CapHolder_cap_Params.
func NewCapHolder_cap_Params_List ¶
func NewCapHolder_cap_Params_List(s *capnp.Segment, sz int32) (CapHolder_cap_Params_List, error)
NewCapHolder_cap_Params creates a new list of CapHolder_cap_Params.
func (CapHolder_cap_Params_List) At ¶
func (s CapHolder_cap_Params_List) At(i int) CapHolder_cap_Params
func (CapHolder_cap_Params_List) Set ¶
func (s CapHolder_cap_Params_List) Set(i int, v CapHolder_cap_Params) error
func (CapHolder_cap_Params_List) String ¶
func (s CapHolder_cap_Params_List) String() string
type CapHolder_cap_Results ¶
func NewCapHolder_cap_Results ¶
func NewCapHolder_cap_Results(s *capnp.Segment) (CapHolder_cap_Results, error)
func NewRootCapHolder_cap_Results ¶
func NewRootCapHolder_cap_Results(s *capnp.Segment) (CapHolder_cap_Results, error)
func ReadRootCapHolder_cap_Results ¶
func ReadRootCapHolder_cap_Results(msg *capnp.Message) (CapHolder_cap_Results, error)
func (CapHolder_cap_Results) HasObject ¶
func (s CapHolder_cap_Results) HasObject() bool
func (CapHolder_cap_Results) SetObject ¶
func (s CapHolder_cap_Results) SetObject(v capnp.Ptr) error
func (CapHolder_cap_Results) String ¶
func (s CapHolder_cap_Results) String() string
type CapHolder_cap_Results_Future ¶
CapHolder_cap_Results_Future is a wrapper for a CapHolder_cap_Results promised by a client call.
func (CapHolder_cap_Results_Future) Object ¶
func (p CapHolder_cap_Results_Future) Object() *capnp.Future
func (CapHolder_cap_Results_Future) Struct ¶
func (p CapHolder_cap_Results_Future) Struct() (CapHolder_cap_Results, error)
type CapHolder_cap_Results_List ¶
CapHolder_cap_Results_List is a list of CapHolder_cap_Results.
func NewCapHolder_cap_Results_List ¶
func NewCapHolder_cap_Results_List(s *capnp.Segment, sz int32) (CapHolder_cap_Results_List, error)
NewCapHolder_cap_Results creates a new list of CapHolder_cap_Results.
func (CapHolder_cap_Results_List) At ¶
func (s CapHolder_cap_Results_List) At(i int) CapHolder_cap_Results
func (CapHolder_cap_Results_List) Set ¶
func (s CapHolder_cap_Results_List) Set(i int, v CapHolder_cap_Results) error
func (CapHolder_cap_Results_List) String ¶
func (s CapHolder_cap_Results_List) String() string
type CapHolder_releaseCap ¶
CapHolder_releaseCap holds the state for a server call to CapHolder.releaseCap. See server.Call for documentation.
func (CapHolder_releaseCap) AllocResults ¶
func (c CapHolder_releaseCap) AllocResults() (CapHolder_releaseCap_Results, error)
AllocResults allocates the results struct.
func (CapHolder_releaseCap) Args ¶
func (c CapHolder_releaseCap) Args() CapHolder_releaseCap_Params
Args returns the call's arguments.
type CapHolder_releaseCap_Params ¶
func NewCapHolder_releaseCap_Params ¶
func NewCapHolder_releaseCap_Params(s *capnp.Segment) (CapHolder_releaseCap_Params, error)
func NewRootCapHolder_releaseCap_Params ¶
func NewRootCapHolder_releaseCap_Params(s *capnp.Segment) (CapHolder_releaseCap_Params, error)
func ReadRootCapHolder_releaseCap_Params ¶
func ReadRootCapHolder_releaseCap_Params(msg *capnp.Message) (CapHolder_releaseCap_Params, error)
func (CapHolder_releaseCap_Params) String ¶
func (s CapHolder_releaseCap_Params) String() string
type CapHolder_releaseCap_Params_Future ¶
CapHolder_releaseCap_Params_Future is a wrapper for a CapHolder_releaseCap_Params promised by a client call.
func (CapHolder_releaseCap_Params_Future) Struct ¶
func (p CapHolder_releaseCap_Params_Future) Struct() (CapHolder_releaseCap_Params, error)
type CapHolder_releaseCap_Params_List ¶
CapHolder_releaseCap_Params_List is a list of CapHolder_releaseCap_Params.
func NewCapHolder_releaseCap_Params_List ¶
func NewCapHolder_releaseCap_Params_List(s *capnp.Segment, sz int32) (CapHolder_releaseCap_Params_List, error)
NewCapHolder_releaseCap_Params creates a new list of CapHolder_releaseCap_Params.
func (CapHolder_releaseCap_Params_List) At ¶
func (s CapHolder_releaseCap_Params_List) At(i int) CapHolder_releaseCap_Params
func (CapHolder_releaseCap_Params_List) Set ¶
func (s CapHolder_releaseCap_Params_List) Set(i int, v CapHolder_releaseCap_Params) error
func (CapHolder_releaseCap_Params_List) String ¶
func (s CapHolder_releaseCap_Params_List) String() string
type CapHolder_releaseCap_Results ¶
func NewCapHolder_releaseCap_Results ¶
func NewCapHolder_releaseCap_Results(s *capnp.Segment) (CapHolder_releaseCap_Results, error)
func NewRootCapHolder_releaseCap_Results ¶
func NewRootCapHolder_releaseCap_Results(s *capnp.Segment) (CapHolder_releaseCap_Results, error)
func ReadRootCapHolder_releaseCap_Results ¶
func ReadRootCapHolder_releaseCap_Results(msg *capnp.Message) (CapHolder_releaseCap_Results, error)
func (CapHolder_releaseCap_Results) String ¶
func (s CapHolder_releaseCap_Results) String() string
type CapHolder_releaseCap_Results_Future ¶
CapHolder_releaseCap_Results_Future is a wrapper for a CapHolder_releaseCap_Results promised by a client call.
func (CapHolder_releaseCap_Results_Future) Struct ¶
func (p CapHolder_releaseCap_Results_Future) Struct() (CapHolder_releaseCap_Results, error)
type CapHolder_releaseCap_Results_List ¶
CapHolder_releaseCap_Results_List is a list of CapHolder_releaseCap_Results.
func NewCapHolder_releaseCap_Results_List ¶
func NewCapHolder_releaseCap_Results_List(s *capnp.Segment, sz int32) (CapHolder_releaseCap_Results_List, error)
NewCapHolder_releaseCap_Results creates a new list of CapHolder_releaseCap_Results.
func (CapHolder_releaseCap_Results_List) At ¶
func (s CapHolder_releaseCap_Results_List) At(i int) CapHolder_releaseCap_Results
func (CapHolder_releaseCap_Results_List) Set ¶
func (s CapHolder_releaseCap_Results_List) Set(i int, v CapHolder_releaseCap_Results) error
func (CapHolder_releaseCap_Results_List) String ¶
func (s CapHolder_releaseCap_Results_List) String() string
type Date_Future ¶
Date_Future is a wrapper for a Date promised by a client call.
func (Date_Future) Struct ¶
func (p Date_Future) Struct() (Date, error)
type Date_List ¶
Date_List is a list of Date.
func NewDate_List ¶
NewDate creates a new list of Date.
type IdInformation ¶
func NewIdInformation ¶
func NewIdInformation(s *capnp.Segment) (IdInformation, error)
func NewRootIdInformation ¶
func NewRootIdInformation(s *capnp.Segment) (IdInformation, error)
func ReadRootIdInformation ¶
func ReadRootIdInformation(msg *capnp.Message) (IdInformation, error)
func (IdInformation) Description ¶
func (s IdInformation) Description() (string, error)
func (IdInformation) DescriptionBytes ¶
func (s IdInformation) DescriptionBytes() ([]byte, error)
func (IdInformation) HasDescription ¶
func (s IdInformation) HasDescription() bool
func (IdInformation) HasId ¶
func (s IdInformation) HasId() bool
func (IdInformation) HasName ¶
func (s IdInformation) HasName() bool
func (IdInformation) Id ¶
func (s IdInformation) Id() (string, error)
func (IdInformation) IdBytes ¶
func (s IdInformation) IdBytes() ([]byte, error)
func (IdInformation) Name ¶
func (s IdInformation) Name() (string, error)
func (IdInformation) NameBytes ¶
func (s IdInformation) NameBytes() ([]byte, error)
func (IdInformation) SetDescription ¶
func (s IdInformation) SetDescription(v string) error
func (IdInformation) SetId ¶
func (s IdInformation) SetId(v string) error
func (IdInformation) SetName ¶
func (s IdInformation) SetName(v string) error
func (IdInformation) String ¶
func (s IdInformation) String() string
type IdInformation_Future ¶
IdInformation_Future is a wrapper for a IdInformation promised by a client call.
func (IdInformation_Future) Struct ¶
func (p IdInformation_Future) Struct() (IdInformation, error)
type IdInformation_List ¶
IdInformation_List is a list of IdInformation.
func NewIdInformation_List ¶
func NewIdInformation_List(s *capnp.Segment, sz int32) (IdInformation_List, error)
NewIdInformation creates a new list of IdInformation.
func (IdInformation_List) At ¶
func (s IdInformation_List) At(i int) IdInformation
func (IdInformation_List) Set ¶
func (s IdInformation_List) Set(i int, v IdInformation) error
func (IdInformation_List) String ¶
func (s IdInformation_List) String() string
type Identifiable ¶
func Identifiable_ServerToClient ¶
func Identifiable_ServerToClient(s Identifiable_Server, policy *server.Policy) Identifiable
Identifiable_ServerToClient creates a new Client from an implementation of Identifiable_Server. The caller is responsible for calling Release on the returned Client.
func (Identifiable) AddRef ¶
func (c Identifiable) AddRef() Identifiable
func (Identifiable) Info ¶
func (c Identifiable) Info(ctx context.Context, params func(Identifiable_info_Params) error) (IdInformation_Future, capnp.ReleaseFunc)
func (Identifiable) Release ¶
func (c Identifiable) Release()
type Identifiable_Server ¶
type Identifiable_Server interface {
Info(context.Context, Identifiable_info) error
}
A Identifiable_Server is a Identifiable with a local implementation.
type Identifiable_info ¶
Identifiable_info holds the state for a server call to Identifiable.info. See server.Call for documentation.
func (Identifiable_info) AllocResults ¶
func (c Identifiable_info) AllocResults() (IdInformation, error)
AllocResults allocates the results struct.
func (Identifiable_info) Args ¶
func (c Identifiable_info) Args() Identifiable_info_Params
Args returns the call's arguments.
type Identifiable_info_Params ¶
func NewIdentifiable_info_Params ¶
func NewIdentifiable_info_Params(s *capnp.Segment) (Identifiable_info_Params, error)
func NewRootIdentifiable_info_Params ¶
func NewRootIdentifiable_info_Params(s *capnp.Segment) (Identifiable_info_Params, error)
func ReadRootIdentifiable_info_Params ¶
func ReadRootIdentifiable_info_Params(msg *capnp.Message) (Identifiable_info_Params, error)
func (Identifiable_info_Params) String ¶
func (s Identifiable_info_Params) String() string
type Identifiable_info_Params_Future ¶
Identifiable_info_Params_Future is a wrapper for a Identifiable_info_Params promised by a client call.
func (Identifiable_info_Params_Future) Struct ¶
func (p Identifiable_info_Params_Future) Struct() (Identifiable_info_Params, error)
type Identifiable_info_Params_List ¶
Identifiable_info_Params_List is a list of Identifiable_info_Params.
func NewIdentifiable_info_Params_List ¶
func NewIdentifiable_info_Params_List(s *capnp.Segment, sz int32) (Identifiable_info_Params_List, error)
NewIdentifiable_info_Params creates a new list of Identifiable_info_Params.
func (Identifiable_info_Params_List) At ¶
func (s Identifiable_info_Params_List) At(i int) Identifiable_info_Params
func (Identifiable_info_Params_List) Set ¶
func (s Identifiable_info_Params_List) Set(i int, v Identifiable_info_Params) error
func (Identifiable_info_Params_List) String ¶
func (s Identifiable_info_Params_List) String() string
type ListEntry_Future ¶
ListEntry_Future is a wrapper for a ListEntry promised by a client call.
func (ListEntry_Future) Entry ¶
func (p ListEntry_Future) Entry() *capnp.Future
func (ListEntry_Future) Struct ¶
func (p ListEntry_Future) Struct() (ListEntry, error)
type ListEntry_List ¶
ListEntry_List is a list of ListEntry.
func NewListEntry_List ¶
func NewListEntry_List(s *capnp.Segment, sz int32) (ListEntry_List, error)
NewListEntry creates a new list of ListEntry.
func (ListEntry_List) At ¶
func (s ListEntry_List) At(i int) ListEntry
func (ListEntry_List) String ¶
func (s ListEntry_List) String() string
type Pair_Future ¶
Pair_Future is a wrapper for a Pair promised by a client call.
func (Pair_Future) Fst ¶
func (p Pair_Future) Fst() *capnp.Future
func (Pair_Future) Snd ¶
func (p Pair_Future) Snd() *capnp.Future
func (Pair_Future) Struct ¶
func (p Pair_Future) Struct() (Pair, error)
type Pair_List ¶
Pair_List is a list of Pair.
func NewPair_List ¶
NewPair creates a new list of Pair.
type Stopable ¶
func Stopable_ServerToClient ¶
func Stopable_ServerToClient(s Stopable_Server, policy *server.Policy) Stopable
Stopable_ServerToClient creates a new Client from an implementation of Stopable_Server. The caller is responsible for calling Release on the returned Client.
func (Stopable) Stop ¶
func (c Stopable) Stop(ctx context.Context, params func(Stopable_stop_Params) error) (Stopable_stop_Results_Future, capnp.ReleaseFunc)
type Stopable_Server ¶
type Stopable_Server interface {
Stop(context.Context, Stopable_stop) error
}
A Stopable_Server is a Stopable with a local implementation.
type Stopable_stop ¶
Stopable_stop holds the state for a server call to Stopable.stop. See server.Call for documentation.
func (Stopable_stop) AllocResults ¶
func (c Stopable_stop) AllocResults() (Stopable_stop_Results, error)
AllocResults allocates the results struct.
func (Stopable_stop) Args ¶
func (c Stopable_stop) Args() Stopable_stop_Params
Args returns the call's arguments.
type Stopable_stop_Params ¶
func NewRootStopable_stop_Params ¶
func NewRootStopable_stop_Params(s *capnp.Segment) (Stopable_stop_Params, error)
func NewStopable_stop_Params ¶
func NewStopable_stop_Params(s *capnp.Segment) (Stopable_stop_Params, error)
func ReadRootStopable_stop_Params ¶
func ReadRootStopable_stop_Params(msg *capnp.Message) (Stopable_stop_Params, error)
func (Stopable_stop_Params) String ¶
func (s Stopable_stop_Params) String() string
type Stopable_stop_Params_Future ¶
Stopable_stop_Params_Future is a wrapper for a Stopable_stop_Params promised by a client call.
func (Stopable_stop_Params_Future) Struct ¶
func (p Stopable_stop_Params_Future) Struct() (Stopable_stop_Params, error)
type Stopable_stop_Params_List ¶
Stopable_stop_Params_List is a list of Stopable_stop_Params.
func NewStopable_stop_Params_List ¶
func NewStopable_stop_Params_List(s *capnp.Segment, sz int32) (Stopable_stop_Params_List, error)
NewStopable_stop_Params creates a new list of Stopable_stop_Params.
func (Stopable_stop_Params_List) At ¶
func (s Stopable_stop_Params_List) At(i int) Stopable_stop_Params
func (Stopable_stop_Params_List) Set ¶
func (s Stopable_stop_Params_List) Set(i int, v Stopable_stop_Params) error
func (Stopable_stop_Params_List) String ¶
func (s Stopable_stop_Params_List) String() string
type Stopable_stop_Results ¶
func NewRootStopable_stop_Results ¶
func NewRootStopable_stop_Results(s *capnp.Segment) (Stopable_stop_Results, error)
func NewStopable_stop_Results ¶
func NewStopable_stop_Results(s *capnp.Segment) (Stopable_stop_Results, error)
func ReadRootStopable_stop_Results ¶
func ReadRootStopable_stop_Results(msg *capnp.Message) (Stopable_stop_Results, error)
func (Stopable_stop_Results) String ¶
func (s Stopable_stop_Results) String() string
type Stopable_stop_Results_Future ¶
Stopable_stop_Results_Future is a wrapper for a Stopable_stop_Results promised by a client call.
func (Stopable_stop_Results_Future) Struct ¶
func (p Stopable_stop_Results_Future) Struct() (Stopable_stop_Results, error)
type Stopable_stop_Results_List ¶
Stopable_stop_Results_List is a list of Stopable_stop_Results.
func NewStopable_stop_Results_List ¶
func NewStopable_stop_Results_List(s *capnp.Segment, sz int32) (Stopable_stop_Results_List, error)
NewStopable_stop_Results creates a new list of Stopable_stop_Results.
func (Stopable_stop_Results_List) At ¶
func (s Stopable_stop_Results_List) At(i int) Stopable_stop_Results
func (Stopable_stop_Results_List) Set ¶
func (s Stopable_stop_Results_List) Set(i int, v Stopable_stop_Results) error
func (Stopable_stop_Results_List) String ¶
func (s Stopable_stop_Results_List) String() string
type StructuredText ¶
func NewRootStructuredText ¶
func NewRootStructuredText(s *capnp.Segment) (StructuredText, error)
func NewStructuredText ¶
func NewStructuredText(s *capnp.Segment) (StructuredText, error)
func ReadRootStructuredText ¶
func ReadRootStructuredText(msg *capnp.Message) (StructuredText, error)
func (StructuredText) HasValue ¶
func (s StructuredText) HasValue() bool
func (StructuredText) SetValue ¶
func (s StructuredText) SetValue(v string) error
func (StructuredText) String ¶
func (s StructuredText) String() string
func (StructuredText) Structure ¶
func (s StructuredText) Structure() StructuredText_structure
func (StructuredText) Value ¶
func (s StructuredText) Value() (string, error)
func (StructuredText) ValueBytes ¶
func (s StructuredText) ValueBytes() ([]byte, error)
type StructuredText_Future ¶
StructuredText_Future is a wrapper for a StructuredText promised by a client call.
func (StructuredText_Future) Struct ¶
func (p StructuredText_Future) Struct() (StructuredText, error)
func (StructuredText_Future) Structure ¶
func (p StructuredText_Future) Structure() StructuredText_structure_Future
type StructuredText_List ¶
StructuredText_List is a list of StructuredText.
func NewStructuredText_List ¶
func NewStructuredText_List(s *capnp.Segment, sz int32) (StructuredText_List, error)
NewStructuredText creates a new list of StructuredText.
func (StructuredText_List) At ¶
func (s StructuredText_List) At(i int) StructuredText
func (StructuredText_List) Set ¶
func (s StructuredText_List) Set(i int, v StructuredText) error
func (StructuredText_List) String ¶
func (s StructuredText_List) String() string
type StructuredText_structure ¶
type StructuredText_structure StructuredText
func (StructuredText_structure) SetJson ¶
func (s StructuredText_structure) SetJson()
func (StructuredText_structure) SetNone ¶
func (s StructuredText_structure) SetNone()
func (StructuredText_structure) SetXml ¶
func (s StructuredText_structure) SetXml()
func (StructuredText_structure) Which ¶
func (s StructuredText_structure) Which() StructuredText_structure_Which
type StructuredText_structure_Future ¶
StructuredText_structure_Future is a wrapper for a StructuredText_structure promised by a client call.
func (StructuredText_structure_Future) Struct ¶
func (p StructuredText_structure_Future) Struct() (StructuredText_structure, error)
type StructuredText_structure_Which ¶
type StructuredText_structure_Which uint16
const ( StructuredText_structure_Which_none StructuredText_structure_Which = 0 StructuredText_structure_Which_json StructuredText_structure_Which = 1 StructuredText_structure_Which_xml StructuredText_structure_Which = 2 )
func (StructuredText_structure_Which) String ¶
func (w StructuredText_structure_Which) String() string
type ZmqPipelineAddresses ¶
func NewRootZmqPipelineAddresses ¶
func NewRootZmqPipelineAddresses(s *capnp.Segment) (ZmqPipelineAddresses, error)
func NewZmqPipelineAddresses ¶
func NewZmqPipelineAddresses(s *capnp.Segment) (ZmqPipelineAddresses, error)
func ReadRootZmqPipelineAddresses ¶
func ReadRootZmqPipelineAddresses(msg *capnp.Message) (ZmqPipelineAddresses, error)
func (ZmqPipelineAddresses) HasInput ¶
func (s ZmqPipelineAddresses) HasInput() bool
func (ZmqPipelineAddresses) HasOutput ¶
func (s ZmqPipelineAddresses) HasOutput() bool
func (ZmqPipelineAddresses) Input ¶
func (s ZmqPipelineAddresses) Input() (string, error)
func (ZmqPipelineAddresses) InputBytes ¶
func (s ZmqPipelineAddresses) InputBytes() ([]byte, error)
func (ZmqPipelineAddresses) Output ¶
func (s ZmqPipelineAddresses) Output() (string, error)
func (ZmqPipelineAddresses) OutputBytes ¶
func (s ZmqPipelineAddresses) OutputBytes() ([]byte, error)
func (ZmqPipelineAddresses) SetInput ¶
func (s ZmqPipelineAddresses) SetInput(v string) error
func (ZmqPipelineAddresses) SetOutput ¶
func (s ZmqPipelineAddresses) SetOutput(v string) error
func (ZmqPipelineAddresses) String ¶
func (s ZmqPipelineAddresses) String() string
type ZmqPipelineAddresses_Future ¶
ZmqPipelineAddresses_Future is a wrapper for a ZmqPipelineAddresses promised by a client call.
func (ZmqPipelineAddresses_Future) Struct ¶
func (p ZmqPipelineAddresses_Future) Struct() (ZmqPipelineAddresses, error)
type ZmqPipelineAddresses_List ¶
ZmqPipelineAddresses_List is a list of ZmqPipelineAddresses.
func NewZmqPipelineAddresses_List ¶
func NewZmqPipelineAddresses_List(s *capnp.Segment, sz int32) (ZmqPipelineAddresses_List, error)
NewZmqPipelineAddresses creates a new list of ZmqPipelineAddresses.
func (ZmqPipelineAddresses_List) At ¶
func (s ZmqPipelineAddresses_List) At(i int) ZmqPipelineAddresses
func (ZmqPipelineAddresses_List) Set ¶
func (s ZmqPipelineAddresses_List) Set(i int, v ZmqPipelineAddresses) error
func (ZmqPipelineAddresses_List) String ¶
func (s ZmqPipelineAddresses_List) String() string