Documentation
¶
Index ¶
- Constants
- func RegisterSchema(reg *schemas.Registry)
- type CreateWorkerRequest
- func (CreateWorkerRequest) DecodeFromPtr(p capnp.Ptr) CreateWorkerRequest
- func (s CreateWorkerRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s CreateWorkerRequest) IsValid() bool
- func (s CreateWorkerRequest) Message() *capnp.Message
- func (s CreateWorkerRequest) Segment() *capnp.Segment
- func (s CreateWorkerRequest) String() string
- func (s CreateWorkerRequest) ToPtr() capnp.Ptr
- type CreateWorkerRequest_Future
- type CreateWorkerRequest_List
- type CreateWorkerResponse
- func (CreateWorkerResponse) DecodeFromPtr(p capnp.Ptr) CreateWorkerResponse
- func (s CreateWorkerResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s CreateWorkerResponse) Id() uint64
- func (s CreateWorkerResponse) IsValid() bool
- func (s CreateWorkerResponse) Message() *capnp.Message
- func (s CreateWorkerResponse) Segment() *capnp.Segment
- func (s CreateWorkerResponse) SetId(v uint64)
- func (s CreateWorkerResponse) String() string
- func (s CreateWorkerResponse) ToPtr() capnp.Ptr
- type CreateWorkerResponse_Future
- type CreateWorkerResponse_List
- type DestroyWorkerRequest
- func (DestroyWorkerRequest) DecodeFromPtr(p capnp.Ptr) DestroyWorkerRequest
- func (s DestroyWorkerRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s DestroyWorkerRequest) Id() uint64
- func (s DestroyWorkerRequest) IsValid() bool
- func (s DestroyWorkerRequest) Message() *capnp.Message
- func (s DestroyWorkerRequest) Segment() *capnp.Segment
- func (s DestroyWorkerRequest) SetId(v uint64)
- func (s DestroyWorkerRequest) String() string
- func (s DestroyWorkerRequest) ToPtr() capnp.Ptr
- type DestroyWorkerRequest_Future
- type DestroyWorkerRequest_List
- type DestroyWorkerResponse
- func (DestroyWorkerResponse) DecodeFromPtr(p capnp.Ptr) DestroyWorkerResponse
- func (s DestroyWorkerResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s DestroyWorkerResponse) IsValid() bool
- func (s DestroyWorkerResponse) Message() *capnp.Message
- func (s DestroyWorkerResponse) Segment() *capnp.Segment
- func (s DestroyWorkerResponse) String() string
- func (s DestroyWorkerResponse) ToPtr() capnp.Ptr
- type DestroyWorkerResponse_Future
- type DestroyWorkerResponse_List
- type DummyRequest
- func (DummyRequest) DecodeFromPtr(p capnp.Ptr) DummyRequest
- func (s DummyRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s DummyRequest) IsValid() bool
- func (s DummyRequest) Message() *capnp.Message
- func (s DummyRequest) Segment() *capnp.Segment
- func (s DummyRequest) String() string
- func (s DummyRequest) ToPtr() capnp.Ptr
- type DummyRequest_Future
- type DummyRequest_List
- type ExecuteRequest
- func (s ExecuteRequest) Args() (capnp.TextList, error)
- func (ExecuteRequest) DecodeFromPtr(p capnp.Ptr) ExecuteRequest
- func (s ExecuteRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ExecuteRequest) FilePath() (string, error)
- func (s ExecuteRequest) FilePathBytes() ([]byte, error)
- func (s ExecuteRequest) HasArgs() bool
- func (s ExecuteRequest) HasFilePath() bool
- func (s ExecuteRequest) IsValid() bool
- func (s ExecuteRequest) Message() *capnp.Message
- func (s ExecuteRequest) NewArgs(n int32) (capnp.TextList, error)
- func (s ExecuteRequest) Segment() *capnp.Segment
- func (s ExecuteRequest) SetArgs(v capnp.TextList) error
- func (s ExecuteRequest) SetFilePath(v string) error
- func (s ExecuteRequest) String() string
- func (s ExecuteRequest) ToPtr() capnp.Ptr
- type ExecuteRequest_Future
- type ExecuteRequest_List
- type ExecuteResponse
- func (s ExecuteResponse) Code() int64
- func (ExecuteResponse) DecodeFromPtr(p capnp.Ptr) ExecuteResponse
- func (s ExecuteResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ExecuteResponse) IsValid() bool
- func (s ExecuteResponse) Message() *capnp.Message
- func (s ExecuteResponse) Segment() *capnp.Segment
- func (s ExecuteResponse) SetCode(v int64)
- func (s ExecuteResponse) String() string
- func (s ExecuteResponse) ToPtr() capnp.Ptr
- type ExecuteResponse_Future
- type ExecuteResponse_List
- type GetWorkerRequest
- func (GetWorkerRequest) DecodeFromPtr(p capnp.Ptr) GetWorkerRequest
- func (s GetWorkerRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s GetWorkerRequest) Id() uint64
- func (s GetWorkerRequest) IsValid() bool
- func (s GetWorkerRequest) Message() *capnp.Message
- func (s GetWorkerRequest) Segment() *capnp.Segment
- func (s GetWorkerRequest) SetId(v uint64)
- func (s GetWorkerRequest) String() string
- func (s GetWorkerRequest) ToPtr() capnp.Ptr
- type GetWorkerRequest_Future
- type GetWorkerRequest_List
- type GetWorkerResponse
- func (GetWorkerResponse) DecodeFromPtr(p capnp.Ptr) GetWorkerResponse
- func (s GetWorkerResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s GetWorkerResponse) HasServiceId() bool
- func (s GetWorkerResponse) HasServiceName() bool
- func (s GetWorkerResponse) IsValid() bool
- func (s GetWorkerResponse) Message() *capnp.Message
- func (s GetWorkerResponse) Segment() *capnp.Segment
- func (s GetWorkerResponse) ServiceId() (string, error)
- func (s GetWorkerResponse) ServiceIdBytes() ([]byte, error)
- func (s GetWorkerResponse) ServiceName() (string, error)
- func (s GetWorkerResponse) ServiceNameBytes() ([]byte, error)
- func (s GetWorkerResponse) SetServiceId(v string) error
- func (s GetWorkerResponse) SetServiceName(v string) error
- func (s GetWorkerResponse) String() string
- func (s GetWorkerResponse) ToPtr() capnp.Ptr
- type GetWorkerResponse_Future
- type GetWorkerResponse_List
- type Message
- func (s Message) Action() Message_action
- func (Message) DecodeFromPtr(p capnp.Ptr) Message
- func (s Message) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Message) IsValid() bool
- func (s Message) Message() *capnp.Message
- func (s Message) Response() Message_response
- func (s Message) Segment() *capnp.Segment
- func (s Message) String() string
- func (s Message) ToPtr() capnp.Ptr
- type Message_Future
- type Message_List
- type Message_action
- func (s Message_action) CreateWorker() (CreateWorkerRequest, error)
- func (s Message_action) DestroyWorker() (DestroyWorkerRequest, error)
- func (s Message_action) DummyRequest() (DummyRequest, error)
- func (s Message_action) Execute() (ExecuteRequest, error)
- func (s Message_action) GetWorker() (GetWorkerRequest, error)
- func (s Message_action) HasCreateWorker() bool
- func (s Message_action) HasDestroyWorker() bool
- func (s Message_action) HasDummyRequest() bool
- func (s Message_action) HasExecute() bool
- func (s Message_action) HasGetWorker() bool
- func (s Message_action) IsValid() bool
- func (s Message_action) Message() *capnp.Message
- func (s Message_action) NewCreateWorker() (CreateWorkerRequest, error)
- func (s Message_action) NewDestroyWorker() (DestroyWorkerRequest, error)
- func (s Message_action) NewDummyRequest() (DummyRequest, error)
- func (s Message_action) NewExecute() (ExecuteRequest, error)
- func (s Message_action) NewGetWorker() (GetWorkerRequest, error)
- func (s Message_action) Segment() *capnp.Segment
- func (s Message_action) SetCreateWorker(v CreateWorkerRequest) error
- func (s Message_action) SetDestroyWorker(v DestroyWorkerRequest) error
- func (s Message_action) SetDummyRequest(v DummyRequest) error
- func (s Message_action) SetExecute(v ExecuteRequest) error
- func (s Message_action) SetGetWorker(v GetWorkerRequest) error
- func (s Message_action) Which() Message_action_Which
- type Message_action_Future
- func (p Message_action_Future) CreateWorker() CreateWorkerRequest_Future
- func (p Message_action_Future) DestroyWorker() DestroyWorkerRequest_Future
- func (p Message_action_Future) DummyRequest() DummyRequest_Future
- func (p Message_action_Future) Execute() ExecuteRequest_Future
- func (p Message_action_Future) GetWorker() GetWorkerRequest_Future
- func (f Message_action_Future) Struct() (Message_action, error)
- type Message_action_Which
- type Message_response
- func (s Message_response) CreateWorker() (CreateWorkerResponse, error)
- func (s Message_response) DestroyWorker() (DestroyWorkerResponse, error)
- func (s Message_response) Execute() (ExecuteResponse, error)
- func (s Message_response) GetWorker() (GetWorkerResponse, error)
- func (s Message_response) HasCreateWorker() bool
- func (s Message_response) HasDestroyWorker() bool
- func (s Message_response) HasExecute() bool
- func (s Message_response) HasGetWorker() bool
- func (s Message_response) IsValid() bool
- func (s Message_response) Message() *capnp.Message
- func (s Message_response) NewCreateWorker() (CreateWorkerResponse, error)
- func (s Message_response) NewDestroyWorker() (DestroyWorkerResponse, error)
- func (s Message_response) NewExecute() (ExecuteResponse, error)
- func (s Message_response) NewGetWorker() (GetWorkerResponse, error)
- func (s Message_response) Segment() *capnp.Segment
- func (s Message_response) SetCreateWorker(v CreateWorkerResponse) error
- func (s Message_response) SetDestroyWorker(v DestroyWorkerResponse) error
- func (s Message_response) SetExecute(v ExecuteResponse) error
- func (s Message_response) SetGetWorker(v GetWorkerResponse) error
- func (s Message_response) Which() Message_response_Which
- type Message_response_Future
- func (p Message_response_Future) CreateWorker() CreateWorkerResponse_Future
- func (p Message_response_Future) DestroyWorker() DestroyWorkerResponse_Future
- func (p Message_response_Future) Execute() ExecuteResponse_Future
- func (p Message_response_Future) GetWorker() GetWorkerResponse_Future
- func (f Message_response_Future) Struct() (Message_response, error)
- type Message_response_Which
Constants ¶
const CreateWorkerRequest_TypeID = 0x9ef998d3f122950a
CreateWorkerRequest_TypeID is the unique identifier for the type CreateWorkerRequest.
const CreateWorkerResponse_TypeID = 0xa0a1e306e1a52cac
CreateWorkerResponse_TypeID is the unique identifier for the type CreateWorkerResponse.
const DestroyWorkerRequest_TypeID = 0xe66541250dc00ccd
DestroyWorkerRequest_TypeID is the unique identifier for the type DestroyWorkerRequest.
const DestroyWorkerResponse_TypeID = 0xaf87f588c4828158
DestroyWorkerResponse_TypeID is the unique identifier for the type DestroyWorkerResponse.
const DummyRequest_TypeID = 0xe682110f8663cbd4
DummyRequest_TypeID is the unique identifier for the type DummyRequest.
const ExecuteRequest_TypeID = 0xb0d29ba9b094b66c
ExecuteRequest_TypeID is the unique identifier for the type ExecuteRequest.
const ExecuteResponse_TypeID = 0xe90efdeb78e6cc91
ExecuteResponse_TypeID is the unique identifier for the type ExecuteResponse.
const GetWorkerRequest_TypeID = 0xefd403356091c80a
GetWorkerRequest_TypeID is the unique identifier for the type GetWorkerRequest.
const GetWorkerResponse_TypeID = 0xcedd0be75e2ec289
GetWorkerResponse_TypeID is the unique identifier for the type GetWorkerResponse.
const Message_TypeID = 0xd270ea7f372f79cd
Message_TypeID is the unique identifier for the type Message.
Variables ¶
This section is empty.
Functions ¶
func RegisterSchema ¶
Types ¶
type CreateWorkerRequest ¶
func NewCreateWorkerRequest ¶
func NewCreateWorkerRequest(s *capnp.Segment) (CreateWorkerRequest, error)
func NewRootCreateWorkerRequest ¶
func NewRootCreateWorkerRequest(s *capnp.Segment) (CreateWorkerRequest, error)
func ReadRootCreateWorkerRequest ¶
func ReadRootCreateWorkerRequest(msg *capnp.Message) (CreateWorkerRequest, error)
func (CreateWorkerRequest) DecodeFromPtr ¶
func (CreateWorkerRequest) DecodeFromPtr(p capnp.Ptr) CreateWorkerRequest
func (CreateWorkerRequest) EncodeAsPtr ¶
func (s CreateWorkerRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (CreateWorkerRequest) IsValid ¶
func (s CreateWorkerRequest) IsValid() bool
func (CreateWorkerRequest) Message ¶
func (s CreateWorkerRequest) Message() *capnp.Message
func (CreateWorkerRequest) Segment ¶
func (s CreateWorkerRequest) Segment() *capnp.Segment
func (CreateWorkerRequest) String ¶
func (s CreateWorkerRequest) String() string
func (CreateWorkerRequest) ToPtr ¶
func (s CreateWorkerRequest) ToPtr() capnp.Ptr
type CreateWorkerRequest_Future ¶
CreateWorkerRequest_Future is a wrapper for a CreateWorkerRequest promised by a client call.
func (CreateWorkerRequest_Future) Struct ¶
func (f CreateWorkerRequest_Future) Struct() (CreateWorkerRequest, error)
type CreateWorkerRequest_List ¶
type CreateWorkerRequest_List = capnp.StructList[CreateWorkerRequest]
CreateWorkerRequest_List is a list of CreateWorkerRequest.
func NewCreateWorkerRequest_List ¶
func NewCreateWorkerRequest_List(s *capnp.Segment, sz int32) (CreateWorkerRequest_List, error)
NewCreateWorkerRequest creates a new list of CreateWorkerRequest.
type CreateWorkerResponse ¶
func NewCreateWorkerResponse ¶
func NewCreateWorkerResponse(s *capnp.Segment) (CreateWorkerResponse, error)
func NewRootCreateWorkerResponse ¶
func NewRootCreateWorkerResponse(s *capnp.Segment) (CreateWorkerResponse, error)
func ReadRootCreateWorkerResponse ¶
func ReadRootCreateWorkerResponse(msg *capnp.Message) (CreateWorkerResponse, error)
func (CreateWorkerResponse) DecodeFromPtr ¶
func (CreateWorkerResponse) DecodeFromPtr(p capnp.Ptr) CreateWorkerResponse
func (CreateWorkerResponse) EncodeAsPtr ¶
func (s CreateWorkerResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (CreateWorkerResponse) Id ¶
func (s CreateWorkerResponse) Id() uint64
func (CreateWorkerResponse) IsValid ¶
func (s CreateWorkerResponse) IsValid() bool
func (CreateWorkerResponse) Message ¶
func (s CreateWorkerResponse) Message() *capnp.Message
func (CreateWorkerResponse) Segment ¶
func (s CreateWorkerResponse) Segment() *capnp.Segment
func (CreateWorkerResponse) SetId ¶
func (s CreateWorkerResponse) SetId(v uint64)
func (CreateWorkerResponse) String ¶
func (s CreateWorkerResponse) String() string
func (CreateWorkerResponse) ToPtr ¶
func (s CreateWorkerResponse) ToPtr() capnp.Ptr
type CreateWorkerResponse_Future ¶
CreateWorkerResponse_Future is a wrapper for a CreateWorkerResponse promised by a client call.
func (CreateWorkerResponse_Future) Struct ¶
func (f CreateWorkerResponse_Future) Struct() (CreateWorkerResponse, error)
type CreateWorkerResponse_List ¶
type CreateWorkerResponse_List = capnp.StructList[CreateWorkerResponse]
CreateWorkerResponse_List is a list of CreateWorkerResponse.
func NewCreateWorkerResponse_List ¶
func NewCreateWorkerResponse_List(s *capnp.Segment, sz int32) (CreateWorkerResponse_List, error)
NewCreateWorkerResponse creates a new list of CreateWorkerResponse.
type DestroyWorkerRequest ¶
func NewDestroyWorkerRequest ¶
func NewDestroyWorkerRequest(s *capnp.Segment) (DestroyWorkerRequest, error)
func NewRootDestroyWorkerRequest ¶
func NewRootDestroyWorkerRequest(s *capnp.Segment) (DestroyWorkerRequest, error)
func ReadRootDestroyWorkerRequest ¶
func ReadRootDestroyWorkerRequest(msg *capnp.Message) (DestroyWorkerRequest, error)
func (DestroyWorkerRequest) DecodeFromPtr ¶
func (DestroyWorkerRequest) DecodeFromPtr(p capnp.Ptr) DestroyWorkerRequest
func (DestroyWorkerRequest) EncodeAsPtr ¶
func (s DestroyWorkerRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (DestroyWorkerRequest) Id ¶
func (s DestroyWorkerRequest) Id() uint64
func (DestroyWorkerRequest) IsValid ¶
func (s DestroyWorkerRequest) IsValid() bool
func (DestroyWorkerRequest) Message ¶
func (s DestroyWorkerRequest) Message() *capnp.Message
func (DestroyWorkerRequest) Segment ¶
func (s DestroyWorkerRequest) Segment() *capnp.Segment
func (DestroyWorkerRequest) SetId ¶
func (s DestroyWorkerRequest) SetId(v uint64)
func (DestroyWorkerRequest) String ¶
func (s DestroyWorkerRequest) String() string
func (DestroyWorkerRequest) ToPtr ¶
func (s DestroyWorkerRequest) ToPtr() capnp.Ptr
type DestroyWorkerRequest_Future ¶
DestroyWorkerRequest_Future is a wrapper for a DestroyWorkerRequest promised by a client call.
func (DestroyWorkerRequest_Future) Struct ¶
func (f DestroyWorkerRequest_Future) Struct() (DestroyWorkerRequest, error)
type DestroyWorkerRequest_List ¶
type DestroyWorkerRequest_List = capnp.StructList[DestroyWorkerRequest]
DestroyWorkerRequest_List is a list of DestroyWorkerRequest.
func NewDestroyWorkerRequest_List ¶
func NewDestroyWorkerRequest_List(s *capnp.Segment, sz int32) (DestroyWorkerRequest_List, error)
NewDestroyWorkerRequest creates a new list of DestroyWorkerRequest.
type DestroyWorkerResponse ¶
func NewDestroyWorkerResponse ¶
func NewDestroyWorkerResponse(s *capnp.Segment) (DestroyWorkerResponse, error)
func NewRootDestroyWorkerResponse ¶
func NewRootDestroyWorkerResponse(s *capnp.Segment) (DestroyWorkerResponse, error)
func ReadRootDestroyWorkerResponse ¶
func ReadRootDestroyWorkerResponse(msg *capnp.Message) (DestroyWorkerResponse, error)
func (DestroyWorkerResponse) DecodeFromPtr ¶
func (DestroyWorkerResponse) DecodeFromPtr(p capnp.Ptr) DestroyWorkerResponse
func (DestroyWorkerResponse) EncodeAsPtr ¶
func (s DestroyWorkerResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (DestroyWorkerResponse) IsValid ¶
func (s DestroyWorkerResponse) IsValid() bool
func (DestroyWorkerResponse) Message ¶
func (s DestroyWorkerResponse) Message() *capnp.Message
func (DestroyWorkerResponse) Segment ¶
func (s DestroyWorkerResponse) Segment() *capnp.Segment
func (DestroyWorkerResponse) String ¶
func (s DestroyWorkerResponse) String() string
func (DestroyWorkerResponse) ToPtr ¶
func (s DestroyWorkerResponse) ToPtr() capnp.Ptr
type DestroyWorkerResponse_Future ¶
DestroyWorkerResponse_Future is a wrapper for a DestroyWorkerResponse promised by a client call.
func (DestroyWorkerResponse_Future) Struct ¶
func (f DestroyWorkerResponse_Future) Struct() (DestroyWorkerResponse, error)
type DestroyWorkerResponse_List ¶
type DestroyWorkerResponse_List = capnp.StructList[DestroyWorkerResponse]
DestroyWorkerResponse_List is a list of DestroyWorkerResponse.
func NewDestroyWorkerResponse_List ¶
func NewDestroyWorkerResponse_List(s *capnp.Segment, sz int32) (DestroyWorkerResponse_List, error)
NewDestroyWorkerResponse creates a new list of DestroyWorkerResponse.
type DummyRequest ¶
func NewDummyRequest ¶
func NewDummyRequest(s *capnp.Segment) (DummyRequest, error)
func NewRootDummyRequest ¶
func NewRootDummyRequest(s *capnp.Segment) (DummyRequest, error)
func ReadRootDummyRequest ¶
func ReadRootDummyRequest(msg *capnp.Message) (DummyRequest, error)
func (DummyRequest) DecodeFromPtr ¶
func (DummyRequest) DecodeFromPtr(p capnp.Ptr) DummyRequest
func (DummyRequest) EncodeAsPtr ¶
func (s DummyRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (DummyRequest) IsValid ¶
func (s DummyRequest) IsValid() bool
func (DummyRequest) Message ¶
func (s DummyRequest) Message() *capnp.Message
func (DummyRequest) Segment ¶
func (s DummyRequest) Segment() *capnp.Segment
func (DummyRequest) String ¶
func (s DummyRequest) String() string
func (DummyRequest) ToPtr ¶
func (s DummyRequest) ToPtr() capnp.Ptr
type DummyRequest_Future ¶
DummyRequest_Future is a wrapper for a DummyRequest promised by a client call.
func (DummyRequest_Future) Struct ¶
func (f DummyRequest_Future) Struct() (DummyRequest, error)
type DummyRequest_List ¶
type DummyRequest_List = capnp.StructList[DummyRequest]
DummyRequest_List is a list of DummyRequest.
func NewDummyRequest_List ¶
func NewDummyRequest_List(s *capnp.Segment, sz int32) (DummyRequest_List, error)
NewDummyRequest creates a new list of DummyRequest.
type ExecuteRequest ¶
func NewExecuteRequest ¶
func NewExecuteRequest(s *capnp.Segment) (ExecuteRequest, error)
func NewRootExecuteRequest ¶
func NewRootExecuteRequest(s *capnp.Segment) (ExecuteRequest, error)
func ReadRootExecuteRequest ¶
func ReadRootExecuteRequest(msg *capnp.Message) (ExecuteRequest, error)
func (ExecuteRequest) DecodeFromPtr ¶
func (ExecuteRequest) DecodeFromPtr(p capnp.Ptr) ExecuteRequest
func (ExecuteRequest) EncodeAsPtr ¶
func (s ExecuteRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ExecuteRequest) FilePath ¶
func (s ExecuteRequest) FilePath() (string, error)
func (ExecuteRequest) FilePathBytes ¶
func (s ExecuteRequest) FilePathBytes() ([]byte, error)
func (ExecuteRequest) HasArgs ¶
func (s ExecuteRequest) HasArgs() bool
func (ExecuteRequest) HasFilePath ¶
func (s ExecuteRequest) HasFilePath() bool
func (ExecuteRequest) IsValid ¶
func (s ExecuteRequest) IsValid() bool
func (ExecuteRequest) Message ¶
func (s ExecuteRequest) Message() *capnp.Message
func (ExecuteRequest) NewArgs ¶
func (s ExecuteRequest) NewArgs(n int32) (capnp.TextList, error)
NewArgs sets the args field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (ExecuteRequest) Segment ¶
func (s ExecuteRequest) Segment() *capnp.Segment
func (ExecuteRequest) SetFilePath ¶
func (s ExecuteRequest) SetFilePath(v string) error
func (ExecuteRequest) String ¶
func (s ExecuteRequest) String() string
func (ExecuteRequest) ToPtr ¶
func (s ExecuteRequest) ToPtr() capnp.Ptr
type ExecuteRequest_Future ¶
ExecuteRequest_Future is a wrapper for a ExecuteRequest promised by a client call.
func (ExecuteRequest_Future) Struct ¶
func (f ExecuteRequest_Future) Struct() (ExecuteRequest, error)
type ExecuteRequest_List ¶
type ExecuteRequest_List = capnp.StructList[ExecuteRequest]
ExecuteRequest_List is a list of ExecuteRequest.
func NewExecuteRequest_List ¶
func NewExecuteRequest_List(s *capnp.Segment, sz int32) (ExecuteRequest_List, error)
NewExecuteRequest creates a new list of ExecuteRequest.
type ExecuteResponse ¶
func NewExecuteResponse ¶
func NewExecuteResponse(s *capnp.Segment) (ExecuteResponse, error)
func NewRootExecuteResponse ¶
func NewRootExecuteResponse(s *capnp.Segment) (ExecuteResponse, error)
func ReadRootExecuteResponse ¶
func ReadRootExecuteResponse(msg *capnp.Message) (ExecuteResponse, error)
func (ExecuteResponse) Code ¶
func (s ExecuteResponse) Code() int64
func (ExecuteResponse) DecodeFromPtr ¶
func (ExecuteResponse) DecodeFromPtr(p capnp.Ptr) ExecuteResponse
func (ExecuteResponse) EncodeAsPtr ¶
func (s ExecuteResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ExecuteResponse) IsValid ¶
func (s ExecuteResponse) IsValid() bool
func (ExecuteResponse) Message ¶
func (s ExecuteResponse) Message() *capnp.Message
func (ExecuteResponse) Segment ¶
func (s ExecuteResponse) Segment() *capnp.Segment
func (ExecuteResponse) SetCode ¶
func (s ExecuteResponse) SetCode(v int64)
func (ExecuteResponse) String ¶
func (s ExecuteResponse) String() string
func (ExecuteResponse) ToPtr ¶
func (s ExecuteResponse) ToPtr() capnp.Ptr
type ExecuteResponse_Future ¶
ExecuteResponse_Future is a wrapper for a ExecuteResponse promised by a client call.
func (ExecuteResponse_Future) Struct ¶
func (f ExecuteResponse_Future) Struct() (ExecuteResponse, error)
type ExecuteResponse_List ¶
type ExecuteResponse_List = capnp.StructList[ExecuteResponse]
ExecuteResponse_List is a list of ExecuteResponse.
func NewExecuteResponse_List ¶
func NewExecuteResponse_List(s *capnp.Segment, sz int32) (ExecuteResponse_List, error)
NewExecuteResponse creates a new list of ExecuteResponse.
type GetWorkerRequest ¶
func NewGetWorkerRequest ¶
func NewGetWorkerRequest(s *capnp.Segment) (GetWorkerRequest, error)
func NewRootGetWorkerRequest ¶
func NewRootGetWorkerRequest(s *capnp.Segment) (GetWorkerRequest, error)
func ReadRootGetWorkerRequest ¶
func ReadRootGetWorkerRequest(msg *capnp.Message) (GetWorkerRequest, error)
func (GetWorkerRequest) DecodeFromPtr ¶
func (GetWorkerRequest) DecodeFromPtr(p capnp.Ptr) GetWorkerRequest
func (GetWorkerRequest) EncodeAsPtr ¶
func (s GetWorkerRequest) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (GetWorkerRequest) Id ¶
func (s GetWorkerRequest) Id() uint64
func (GetWorkerRequest) IsValid ¶
func (s GetWorkerRequest) IsValid() bool
func (GetWorkerRequest) Message ¶
func (s GetWorkerRequest) Message() *capnp.Message
func (GetWorkerRequest) Segment ¶
func (s GetWorkerRequest) Segment() *capnp.Segment
func (GetWorkerRequest) SetId ¶
func (s GetWorkerRequest) SetId(v uint64)
func (GetWorkerRequest) String ¶
func (s GetWorkerRequest) String() string
func (GetWorkerRequest) ToPtr ¶
func (s GetWorkerRequest) ToPtr() capnp.Ptr
type GetWorkerRequest_Future ¶
GetWorkerRequest_Future is a wrapper for a GetWorkerRequest promised by a client call.
func (GetWorkerRequest_Future) Struct ¶
func (f GetWorkerRequest_Future) Struct() (GetWorkerRequest, error)
type GetWorkerRequest_List ¶
type GetWorkerRequest_List = capnp.StructList[GetWorkerRequest]
GetWorkerRequest_List is a list of GetWorkerRequest.
func NewGetWorkerRequest_List ¶
func NewGetWorkerRequest_List(s *capnp.Segment, sz int32) (GetWorkerRequest_List, error)
NewGetWorkerRequest creates a new list of GetWorkerRequest.
type GetWorkerResponse ¶
func NewGetWorkerResponse ¶
func NewGetWorkerResponse(s *capnp.Segment) (GetWorkerResponse, error)
func NewRootGetWorkerResponse ¶
func NewRootGetWorkerResponse(s *capnp.Segment) (GetWorkerResponse, error)
func ReadRootGetWorkerResponse ¶
func ReadRootGetWorkerResponse(msg *capnp.Message) (GetWorkerResponse, error)
func (GetWorkerResponse) DecodeFromPtr ¶
func (GetWorkerResponse) DecodeFromPtr(p capnp.Ptr) GetWorkerResponse
func (GetWorkerResponse) EncodeAsPtr ¶
func (s GetWorkerResponse) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (GetWorkerResponse) HasServiceId ¶
func (s GetWorkerResponse) HasServiceId() bool
func (GetWorkerResponse) HasServiceName ¶
func (s GetWorkerResponse) HasServiceName() bool
func (GetWorkerResponse) IsValid ¶
func (s GetWorkerResponse) IsValid() bool
func (GetWorkerResponse) Message ¶
func (s GetWorkerResponse) Message() *capnp.Message
func (GetWorkerResponse) Segment ¶
func (s GetWorkerResponse) Segment() *capnp.Segment
func (GetWorkerResponse) ServiceId ¶
func (s GetWorkerResponse) ServiceId() (string, error)
func (GetWorkerResponse) ServiceIdBytes ¶
func (s GetWorkerResponse) ServiceIdBytes() ([]byte, error)
func (GetWorkerResponse) ServiceName ¶
func (s GetWorkerResponse) ServiceName() (string, error)
func (GetWorkerResponse) ServiceNameBytes ¶
func (s GetWorkerResponse) ServiceNameBytes() ([]byte, error)
func (GetWorkerResponse) SetServiceId ¶
func (s GetWorkerResponse) SetServiceId(v string) error
func (GetWorkerResponse) SetServiceName ¶
func (s GetWorkerResponse) SetServiceName(v string) error
func (GetWorkerResponse) String ¶
func (s GetWorkerResponse) String() string
func (GetWorkerResponse) ToPtr ¶
func (s GetWorkerResponse) ToPtr() capnp.Ptr
type GetWorkerResponse_Future ¶
GetWorkerResponse_Future is a wrapper for a GetWorkerResponse promised by a client call.
func (GetWorkerResponse_Future) Struct ¶
func (f GetWorkerResponse_Future) Struct() (GetWorkerResponse, error)
type GetWorkerResponse_List ¶
type GetWorkerResponse_List = capnp.StructList[GetWorkerResponse]
GetWorkerResponse_List is a list of GetWorkerResponse.
func NewGetWorkerResponse_List ¶
func NewGetWorkerResponse_List(s *capnp.Segment, sz int32) (GetWorkerResponse_List, error)
NewGetWorkerResponse creates a new list of GetWorkerResponse.
type Message ¶
func (Message) Action ¶
func (s Message) Action() Message_action
func (Message) Response ¶
func (s Message) Response() Message_response
type Message_Future ¶
Message_Future is a wrapper for a Message promised by a client call.
func (Message_Future) Action ¶
func (p Message_Future) Action() Message_action_Future
func (Message_Future) Response ¶
func (p Message_Future) Response() Message_response_Future
func (Message_Future) Struct ¶
func (f Message_Future) Struct() (Message, error)
type Message_List ¶
type Message_List = capnp.StructList[Message]
Message_List is a list of Message.
func NewMessage_List ¶
func NewMessage_List(s *capnp.Segment, sz int32) (Message_List, error)
NewMessage creates a new list of Message.
type Message_action ¶
type Message_action Message
func (Message_action) CreateWorker ¶
func (s Message_action) CreateWorker() (CreateWorkerRequest, error)
func (Message_action) DestroyWorker ¶
func (s Message_action) DestroyWorker() (DestroyWorkerRequest, error)
func (Message_action) DummyRequest ¶
func (s Message_action) DummyRequest() (DummyRequest, error)
func (Message_action) Execute ¶
func (s Message_action) Execute() (ExecuteRequest, error)
func (Message_action) GetWorker ¶
func (s Message_action) GetWorker() (GetWorkerRequest, error)
func (Message_action) HasCreateWorker ¶
func (s Message_action) HasCreateWorker() bool
func (Message_action) HasDestroyWorker ¶
func (s Message_action) HasDestroyWorker() bool
func (Message_action) HasDummyRequest ¶
func (s Message_action) HasDummyRequest() bool
func (Message_action) HasExecute ¶
func (s Message_action) HasExecute() bool
func (Message_action) HasGetWorker ¶
func (s Message_action) HasGetWorker() bool
func (Message_action) IsValid ¶
func (s Message_action) IsValid() bool
func (Message_action) Message ¶
func (s Message_action) Message() *capnp.Message
func (Message_action) NewCreateWorker ¶
func (s Message_action) NewCreateWorker() (CreateWorkerRequest, error)
NewCreateWorker sets the createWorker field to a newly allocated CreateWorkerRequest struct, preferring placement in s's segment.
func (Message_action) NewDestroyWorker ¶
func (s Message_action) NewDestroyWorker() (DestroyWorkerRequest, error)
NewDestroyWorker sets the destroyWorker field to a newly allocated DestroyWorkerRequest struct, preferring placement in s's segment.
func (Message_action) NewDummyRequest ¶
func (s Message_action) NewDummyRequest() (DummyRequest, error)
NewDummyRequest sets the dummyRequest field to a newly allocated DummyRequest struct, preferring placement in s's segment.
func (Message_action) NewExecute ¶
func (s Message_action) NewExecute() (ExecuteRequest, error)
NewExecute sets the execute field to a newly allocated ExecuteRequest struct, preferring placement in s's segment.
func (Message_action) NewGetWorker ¶
func (s Message_action) NewGetWorker() (GetWorkerRequest, error)
NewGetWorker sets the getWorker field to a newly allocated GetWorkerRequest struct, preferring placement in s's segment.
func (Message_action) Segment ¶
func (s Message_action) Segment() *capnp.Segment
func (Message_action) SetCreateWorker ¶
func (s Message_action) SetCreateWorker(v CreateWorkerRequest) error
func (Message_action) SetDestroyWorker ¶
func (s Message_action) SetDestroyWorker(v DestroyWorkerRequest) error
func (Message_action) SetDummyRequest ¶
func (s Message_action) SetDummyRequest(v DummyRequest) error
func (Message_action) SetExecute ¶
func (s Message_action) SetExecute(v ExecuteRequest) error
func (Message_action) SetGetWorker ¶
func (s Message_action) SetGetWorker(v GetWorkerRequest) error
func (Message_action) Which ¶
func (s Message_action) Which() Message_action_Which
type Message_action_Future ¶
Message_action_Future is a wrapper for a Message_action promised by a client call.
func (Message_action_Future) CreateWorker ¶
func (p Message_action_Future) CreateWorker() CreateWorkerRequest_Future
func (Message_action_Future) DestroyWorker ¶
func (p Message_action_Future) DestroyWorker() DestroyWorkerRequest_Future
func (Message_action_Future) DummyRequest ¶
func (p Message_action_Future) DummyRequest() DummyRequest_Future
func (Message_action_Future) Execute ¶
func (p Message_action_Future) Execute() ExecuteRequest_Future
func (Message_action_Future) GetWorker ¶
func (p Message_action_Future) GetWorker() GetWorkerRequest_Future
func (Message_action_Future) Struct ¶
func (f Message_action_Future) Struct() (Message_action, error)
type Message_action_Which ¶
type Message_action_Which uint16
const ( Message_action_Which_createWorker Message_action_Which = 0 Message_action_Which_destroyWorker Message_action_Which = 1 Message_action_Which_getWorker Message_action_Which = 2 Message_action_Which_execute Message_action_Which = 3 Message_action_Which_dummyRequest Message_action_Which = 4 )
func (Message_action_Which) String ¶
func (w Message_action_Which) String() string
type Message_response ¶
type Message_response Message
func (Message_response) CreateWorker ¶
func (s Message_response) CreateWorker() (CreateWorkerResponse, error)
func (Message_response) DestroyWorker ¶
func (s Message_response) DestroyWorker() (DestroyWorkerResponse, error)
func (Message_response) Execute ¶
func (s Message_response) Execute() (ExecuteResponse, error)
func (Message_response) GetWorker ¶
func (s Message_response) GetWorker() (GetWorkerResponse, error)
func (Message_response) HasCreateWorker ¶
func (s Message_response) HasCreateWorker() bool
func (Message_response) HasDestroyWorker ¶
func (s Message_response) HasDestroyWorker() bool
func (Message_response) HasExecute ¶
func (s Message_response) HasExecute() bool
func (Message_response) HasGetWorker ¶
func (s Message_response) HasGetWorker() bool
func (Message_response) IsValid ¶
func (s Message_response) IsValid() bool
func (Message_response) Message ¶
func (s Message_response) Message() *capnp.Message
func (Message_response) NewCreateWorker ¶
func (s Message_response) NewCreateWorker() (CreateWorkerResponse, error)
NewCreateWorker sets the createWorker field to a newly allocated CreateWorkerResponse struct, preferring placement in s's segment.
func (Message_response) NewDestroyWorker ¶
func (s Message_response) NewDestroyWorker() (DestroyWorkerResponse, error)
NewDestroyWorker sets the destroyWorker field to a newly allocated DestroyWorkerResponse struct, preferring placement in s's segment.
func (Message_response) NewExecute ¶
func (s Message_response) NewExecute() (ExecuteResponse, error)
NewExecute sets the execute field to a newly allocated ExecuteResponse struct, preferring placement in s's segment.
func (Message_response) NewGetWorker ¶
func (s Message_response) NewGetWorker() (GetWorkerResponse, error)
NewGetWorker sets the getWorker field to a newly allocated GetWorkerResponse struct, preferring placement in s's segment.
func (Message_response) Segment ¶
func (s Message_response) Segment() *capnp.Segment
func (Message_response) SetCreateWorker ¶
func (s Message_response) SetCreateWorker(v CreateWorkerResponse) error
func (Message_response) SetDestroyWorker ¶
func (s Message_response) SetDestroyWorker(v DestroyWorkerResponse) error
func (Message_response) SetExecute ¶
func (s Message_response) SetExecute(v ExecuteResponse) error
func (Message_response) SetGetWorker ¶
func (s Message_response) SetGetWorker(v GetWorkerResponse) error
func (Message_response) Which ¶
func (s Message_response) Which() Message_response_Which
type Message_response_Future ¶
Message_response_Future is a wrapper for a Message_response promised by a client call.
func (Message_response_Future) CreateWorker ¶
func (p Message_response_Future) CreateWorker() CreateWorkerResponse_Future
func (Message_response_Future) DestroyWorker ¶
func (p Message_response_Future) DestroyWorker() DestroyWorkerResponse_Future
func (Message_response_Future) Execute ¶
func (p Message_response_Future) Execute() ExecuteResponse_Future
func (Message_response_Future) GetWorker ¶
func (p Message_response_Future) GetWorker() GetWorkerResponse_Future
func (Message_response_Future) Struct ¶
func (f Message_response_Future) Struct() (Message_response, error)
type Message_response_Which ¶
type Message_response_Which uint16
const ( Message_response_Which_createWorker Message_response_Which = 0 Message_response_Which_destroyWorker Message_response_Which = 1 Message_response_Which_getWorker Message_response_Which = 2 Message_response_Which_execute Message_response_Which = 3 )
func (Message_response_Which) String ¶
func (w Message_response_Which) String() string