common

package
v0.0.0-...-1f04649 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Callback_TypeID = 0x902904cd51bff117

Callback_TypeID is the unique identifier for the type Callback.

View Source
const Callback_call_Params_TypeID = 0x83b4353989cbcb47

Callback_call_Params_TypeID is the unique identifier for the type Callback_call_Params.

View Source
const Callback_call_Results_TypeID = 0xb16b6184cf8b8acf

Callback_call_Results_TypeID is the unique identifier for the type Callback_call_Results.

View Source
const CapHolder_TypeID = 0xcac9c6537df1a097

CapHolder_TypeID is the unique identifier for the type CapHolder.

View Source
const CapHolder_cap_Params_TypeID = 0xda52b34d937fa814

CapHolder_cap_Params_TypeID is the unique identifier for the type CapHolder_cap_Params.

View Source
const CapHolder_cap_Results_TypeID = 0xdc9b0f483595691f

CapHolder_cap_Results_TypeID is the unique identifier for the type CapHolder_cap_Results.

View Source
const CapHolder_releaseCap_Params_TypeID = 0x82449708d4fd120d

CapHolder_releaseCap_Params_TypeID is the unique identifier for the type CapHolder_releaseCap_Params.

View Source
const CapHolder_releaseCap_Results_TypeID = 0xc1374ccca01e2b53

CapHolder_releaseCap_Results_TypeID is the unique identifier for the type CapHolder_releaseCap_Results.

View Source
const Date_TypeID = 0x97e6feac0322118d

Date_TypeID is the unique identifier for the type Date.

View Source
const IdInformation_TypeID = 0xd4cb7ecbfe03dad3

IdInformation_TypeID is the unique identifier for the type IdInformation.

View Source
const Identifiable_TypeID = 0xb2afd1cb599c48d5

Identifiable_TypeID is the unique identifier for the type Identifiable.

View Source
const Identifiable_info_Params_TypeID = 0x9d8aa1cf1e49deb1

Identifiable_info_Params_TypeID is the unique identifier for the type Identifiable_info_Params.

View Source
const LL_TypeID = 0xd67792aa3fc241be

LL_TypeID is the unique identifier for the type LL.

View Source
const ListEntry_TypeID = 0xc201bf46dd40051e

ListEntry_TypeID is the unique identifier for the type ListEntry.

View Source
const Pair_TypeID = 0xb9d4864725174733

Pair_TypeID is the unique identifier for the type Pair.

View Source
const Stopable_TypeID = 0xce7e4202f09e314a

Stopable_TypeID is the unique identifier for the type Stopable.

View Source
const Stopable_stop_Params_TypeID = 0x98a27c9476315729

Stopable_stop_Params_TypeID is the unique identifier for the type Stopable_stop_Params.

View Source
const Stopable_stop_Results_TypeID = 0xd3a3b24aaa056a5c

Stopable_stop_Results_TypeID is the unique identifier for the type Stopable_stop_Results.

View Source
const StructuredText_TypeID = 0xed6c098b67cad454

StructuredText_TypeID is the unique identifier for the type StructuredText.

View Source
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

type Callback struct{ Client *capnp.Client }

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

func (c Callback) AddRef() Callback

func (Callback) Release

func (c Callback) Release()

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

type Callback_call struct {
	*server.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

Args returns the call's arguments.

type Callback_call_Params

type Callback_call_Params struct{ capnp.Struct }

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

type Callback_call_Params_Future struct{ *capnp.Future }

Callback_call_Params_Future is a wrapper for a Callback_call_Params promised by a client call.

func (Callback_call_Params_Future) Struct

type Callback_call_Params_List

type Callback_call_Params_List struct{ capnp.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 (Callback_call_Params_List) Set

func (Callback_call_Params_List) String

func (s Callback_call_Params_List) String() string

type Callback_call_Results

type Callback_call_Results struct{ capnp.Struct }

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

type Callback_call_Results_Future struct{ *capnp.Future }

Callback_call_Results_Future is a wrapper for a Callback_call_Results promised by a client call.

func (Callback_call_Results_Future) Struct

type Callback_call_Results_List

type Callback_call_Results_List struct{ capnp.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 (Callback_call_Results_List) Set

func (Callback_call_Results_List) String

type CapHolder

type CapHolder struct{ Client *capnp.Client }

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

func (c CapHolder) AddRef() CapHolder

func (CapHolder) Release

func (c CapHolder) Release()

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

type CapHolder_cap struct {
	*server.Call
}

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

Args returns the call's arguments.

type CapHolder_cap_Params

type CapHolder_cap_Params struct{ capnp.Struct }

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

type CapHolder_cap_Params_Future struct{ *capnp.Future }

CapHolder_cap_Params_Future is a wrapper for a CapHolder_cap_Params promised by a client call.

func (CapHolder_cap_Params_Future) Struct

type CapHolder_cap_Params_List

type CapHolder_cap_Params_List struct{ capnp.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 (CapHolder_cap_Params_List) Set

func (CapHolder_cap_Params_List) String

func (s CapHolder_cap_Params_List) String() string

type CapHolder_cap_Results

type CapHolder_cap_Results struct{ capnp.Struct }

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

func (s CapHolder_cap_Results) Object() (capnp.Ptr, error)

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

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

type CapHolder_cap_Results_List

type CapHolder_cap_Results_List struct{ capnp.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 (CapHolder_cap_Results_List) Set

func (CapHolder_cap_Results_List) String

type CapHolder_releaseCap

type CapHolder_releaseCap struct {
	*server.Call
}

CapHolder_releaseCap holds the state for a server call to CapHolder.releaseCap. See server.Call for documentation.

func (CapHolder_releaseCap) AllocResults

AllocResults allocates the results struct.

func (CapHolder_releaseCap) Args

Args returns the call's arguments.

type CapHolder_releaseCap_Params

type CapHolder_releaseCap_Params struct{ capnp.Struct }

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

type CapHolder_releaseCap_Params_Future

type CapHolder_releaseCap_Params_Future struct{ *capnp.Future }

CapHolder_releaseCap_Params_Future is a wrapper for a CapHolder_releaseCap_Params promised by a client call.

func (CapHolder_releaseCap_Params_Future) Struct

type CapHolder_releaseCap_Params_List

type CapHolder_releaseCap_Params_List struct{ capnp.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 (CapHolder_releaseCap_Params_List) Set

func (CapHolder_releaseCap_Params_List) String

type CapHolder_releaseCap_Results

type CapHolder_releaseCap_Results struct{ capnp.Struct }

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

type CapHolder_releaseCap_Results_Future

type CapHolder_releaseCap_Results_Future struct{ *capnp.Future }

CapHolder_releaseCap_Results_Future is a wrapper for a CapHolder_releaseCap_Results promised by a client call.

func (CapHolder_releaseCap_Results_Future) Struct

type CapHolder_releaseCap_Results_List

type CapHolder_releaseCap_Results_List struct{ capnp.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 (CapHolder_releaseCap_Results_List) Set

func (CapHolder_releaseCap_Results_List) String

type Date

type Date struct{ capnp.Struct }

func NewDate

func NewDate(s *capnp.Segment) (Date, error)

func NewRootDate

func NewRootDate(s *capnp.Segment) (Date, error)

func ReadRootDate

func ReadRootDate(msg *capnp.Message) (Date, error)

func (Date) Day

func (s Date) Day() uint8

func (Date) Month

func (s Date) Month() uint8

func (Date) SetDay

func (s Date) SetDay(v uint8)

func (Date) SetMonth

func (s Date) SetMonth(v uint8)

func (Date) SetYear

func (s Date) SetYear(v int16)

func (Date) String

func (s Date) String() string

func (Date) Year

func (s Date) Year() int16

type Date_Future

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

type Date_List struct{ capnp.List }

Date_List is a list of Date.

func NewDate_List

func NewDate_List(s *capnp.Segment, sz int32) (Date_List, error)

NewDate creates a new list of Date.

func (Date_List) At

func (s Date_List) At(i int) Date

func (Date_List) Set

func (s Date_List) Set(i int, v Date) error

func (Date_List) String

func (s Date_List) String() string

type IdInformation

type IdInformation struct{ capnp.Struct }

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

type IdInformation_Future struct{ *capnp.Future }

IdInformation_Future is a wrapper for a IdInformation promised by a client call.

func (IdInformation_Future) Struct

type IdInformation_List

type IdInformation_List struct{ capnp.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 (IdInformation_List) Set

func (IdInformation_List) String

func (s IdInformation_List) String() string

type Identifiable

type Identifiable struct{ Client *capnp.Client }

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

type Identifiable_info struct {
	*server.Call
}

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

Args returns the call's arguments.

type Identifiable_info_Params

type Identifiable_info_Params struct{ capnp.Struct }

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

type Identifiable_info_Params_Future struct{ *capnp.Future }

Identifiable_info_Params_Future is a wrapper for a Identifiable_info_Params promised by a client call.

func (Identifiable_info_Params_Future) Struct

type Identifiable_info_Params_List

type Identifiable_info_Params_List struct{ capnp.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 (Identifiable_info_Params_List) Set

func (Identifiable_info_Params_List) String

type LL

type LL struct{ capnp.Struct }

func NewLL

func NewLL(s *capnp.Segment) (LL, error)

func NewRootLL

func NewRootLL(s *capnp.Segment) (LL, error)

func ReadRootLL

func ReadRootLL(msg *capnp.Message) (LL, error)

func (LL) HasHead

func (s LL) HasHead() bool

func (LL) HasTail

func (s LL) HasTail() bool

func (LL) Head

func (s LL) Head() (capnp.Ptr, error)

func (LL) SetHead

func (s LL) SetHead(v capnp.Ptr) error

func (LL) SetTail

func (s LL) SetTail(v capnp.Ptr) error

func (LL) String

func (s LL) String() string

func (LL) Tail

func (s LL) Tail() (capnp.Ptr, error)

type LL_Future

type LL_Future struct{ *capnp.Future }

LL_Future is a wrapper for a LL promised by a client call.

func (LL_Future) Head

func (p LL_Future) Head() *capnp.Future

func (LL_Future) Struct

func (p LL_Future) Struct() (LL, error)

func (LL_Future) Tail

func (p LL_Future) Tail() *capnp.Future

type LL_List

type LL_List struct{ capnp.List }

LL_List is a list of LL.

func NewLL_List

func NewLL_List(s *capnp.Segment, sz int32) (LL_List, error)

NewLL creates a new list of LL.

func (LL_List) At

func (s LL_List) At(i int) LL

func (LL_List) Set

func (s LL_List) Set(i int, v LL) error

func (LL_List) String

func (s LL_List) String() string

type ListEntry

type ListEntry struct{ capnp.Struct }

func NewListEntry

func NewListEntry(s *capnp.Segment) (ListEntry, error)

func NewRootListEntry

func NewRootListEntry(s *capnp.Segment) (ListEntry, error)

func ReadRootListEntry

func ReadRootListEntry(msg *capnp.Message) (ListEntry, error)

func (ListEntry) Entry

func (s ListEntry) Entry() (capnp.Ptr, error)

func (ListEntry) HasEntry

func (s ListEntry) HasEntry() bool

func (ListEntry) SetEntry

func (s ListEntry) SetEntry(v capnp.Ptr) error

func (ListEntry) String

func (s ListEntry) String() string

type ListEntry_Future

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

type ListEntry_List struct{ capnp.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) Set

func (s ListEntry_List) Set(i int, v ListEntry) error

func (ListEntry_List) String

func (s ListEntry_List) String() string

type Pair

type Pair struct{ capnp.Struct }

func NewPair

func NewPair(s *capnp.Segment) (Pair, error)

func NewRootPair

func NewRootPair(s *capnp.Segment) (Pair, error)

func ReadRootPair

func ReadRootPair(msg *capnp.Message) (Pair, error)

func (Pair) Fst

func (s Pair) Fst() (capnp.Ptr, error)

func (Pair) HasFst

func (s Pair) HasFst() bool

func (Pair) HasSnd

func (s Pair) HasSnd() bool

func (Pair) SetFst

func (s Pair) SetFst(v capnp.Ptr) error

func (Pair) SetSnd

func (s Pair) SetSnd(v capnp.Ptr) error

func (Pair) Snd

func (s Pair) Snd() (capnp.Ptr, error)

func (Pair) String

func (s Pair) String() string

type Pair_Future

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

type Pair_List struct{ capnp.List }

Pair_List is a list of Pair.

func NewPair_List

func NewPair_List(s *capnp.Segment, sz int32) (Pair_List, error)

NewPair creates a new list of Pair.

func (Pair_List) At

func (s Pair_List) At(i int) Pair

func (Pair_List) Set

func (s Pair_List) Set(i int, v Pair) error

func (Pair_List) String

func (s Pair_List) String() string

type Stopable

type Stopable struct{ Client *capnp.Client }

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

func (c Stopable) AddRef() Stopable

func (Stopable) Release

func (c Stopable) Release()

type Stopable_Server

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

A Stopable_Server is a Stopable with a local implementation.

type Stopable_stop

type Stopable_stop struct {
	*server.Call
}

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

func (Stopable_stop) AllocResults

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

AllocResults allocates the results struct.

func (Stopable_stop) Args

Args returns the call's arguments.

type Stopable_stop_Params

type Stopable_stop_Params struct{ capnp.Struct }

func NewRootStopable_stop_Params

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

func NewStopable_stop_Params

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

func ReadRootStopable_stop_Params

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

func (Stopable_stop_Params) String

func (s Stopable_stop_Params) String() string

type Stopable_stop_Params_Future

type Stopable_stop_Params_Future struct{ *capnp.Future }

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

func (Stopable_stop_Params_Future) Struct

type Stopable_stop_Params_List

type Stopable_stop_Params_List struct{ capnp.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 (Stopable_stop_Params_List) Set

func (Stopable_stop_Params_List) String

func (s Stopable_stop_Params_List) String() string

type Stopable_stop_Results

type Stopable_stop_Results struct{ capnp.Struct }

func NewRootStopable_stop_Results

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

func NewStopable_stop_Results

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

func ReadRootStopable_stop_Results

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

func (Stopable_stop_Results) String

func (s Stopable_stop_Results) String() string

type Stopable_stop_Results_Future

type Stopable_stop_Results_Future struct{ *capnp.Future }

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

func (Stopable_stop_Results_Future) Struct

type Stopable_stop_Results_List

type Stopable_stop_Results_List struct{ capnp.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 (Stopable_stop_Results_List) Set

func (Stopable_stop_Results_List) String

type StructuredText

type StructuredText struct{ capnp.Struct }

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 (StructuredText) Value

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

func (StructuredText) ValueBytes

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

type StructuredText_Future

type StructuredText_Future struct{ *capnp.Future }

StructuredText_Future is a wrapper for a StructuredText promised by a client call.

func (StructuredText_Future) Struct

func (StructuredText_Future) Structure

type StructuredText_List

type StructuredText_List struct{ capnp.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 (StructuredText_List) Set

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

type StructuredText_structure_Future

type StructuredText_structure_Future struct{ *capnp.Future }

StructuredText_structure_Future is a wrapper for a StructuredText_structure promised by a client call.

func (StructuredText_structure_Future) Struct

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

type ZmqPipelineAddresses

type ZmqPipelineAddresses struct{ capnp.Struct }

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

type ZmqPipelineAddresses_Future struct{ *capnp.Future }

ZmqPipelineAddresses_Future is a wrapper for a ZmqPipelineAddresses promised by a client call.

func (ZmqPipelineAddresses_Future) Struct

type ZmqPipelineAddresses_List

type ZmqPipelineAddresses_List struct{ capnp.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 (ZmqPipelineAddresses_List) Set

func (ZmqPipelineAddresses_List) String

func (s ZmqPipelineAddresses_List) String() string

Jump to

Keyboard shortcuts

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