Documentation ¶
Index ¶
- Constants
- func Persistent_Methods(methods []server.Method, s Persistent_Server) []server.Method
- func RealmGateway_Methods(methods []server.Method, s RealmGateway_Server) []server.Method
- type Persistent
- type Persistent_SaveParams
- func (s Persistent_SaveParams) HasSealFor() bool
- func (s Persistent_SaveParams) SealFor() (capnp.Pointer, error)
- func (s Persistent_SaveParams) SealForPtr() (capnp.Ptr, error)
- func (s Persistent_SaveParams) SetSealFor(v capnp.Pointer) error
- func (s Persistent_SaveParams) SetSealForPtr(v capnp.Ptr) error
- func (s Persistent_SaveParams) String() string
- type Persistent_SaveParams_List
- type Persistent_SaveParams_Promise
- type Persistent_SaveResults
- func (s Persistent_SaveResults) HasSturdyRef() bool
- func (s Persistent_SaveResults) SetSturdyRef(v capnp.Pointer) error
- func (s Persistent_SaveResults) SetSturdyRefPtr(v capnp.Ptr) error
- func (s Persistent_SaveResults) String() string
- func (s Persistent_SaveResults) SturdyRef() (capnp.Pointer, error)
- func (s Persistent_SaveResults) SturdyRefPtr() (capnp.Ptr, error)
- type Persistent_SaveResults_List
- type Persistent_SaveResults_Promise
- type Persistent_Server
- type Persistent_save
- type RealmGateway
- type RealmGateway_Server
- type RealmGateway_export
- type RealmGateway_export_Params
- func (s RealmGateway_export_Params) Cap() Persistent
- func (s RealmGateway_export_Params) HasCap() bool
- func (s RealmGateway_export_Params) HasParams() bool
- func (s RealmGateway_export_Params) NewParams() (Persistent_SaveParams, error)
- func (s RealmGateway_export_Params) Params() (Persistent_SaveParams, error)
- func (s RealmGateway_export_Params) SetCap(v Persistent) error
- func (s RealmGateway_export_Params) SetParams(v Persistent_SaveParams) error
- func (s RealmGateway_export_Params) String() string
- type RealmGateway_export_Params_List
- type RealmGateway_export_Params_Promise
- type RealmGateway_import
- type RealmGateway_import_Params
- func (s RealmGateway_import_Params) Cap() Persistent
- func (s RealmGateway_import_Params) HasCap() bool
- func (s RealmGateway_import_Params) HasParams() bool
- func (s RealmGateway_import_Params) NewParams() (Persistent_SaveParams, error)
- func (s RealmGateway_import_Params) Params() (Persistent_SaveParams, error)
- func (s RealmGateway_import_Params) SetCap(v Persistent) error
- func (s RealmGateway_import_Params) SetParams(v Persistent_SaveParams) error
- func (s RealmGateway_import_Params) String() string
- type RealmGateway_import_Params_List
- type RealmGateway_import_Params_Promise
Constants ¶
const PersistentAnnotation = uint64(0xf622595091cafb67)
const Persistent_SaveParams_TypeID = 0xf76fba59183073a5
Persistent_SaveParams_TypeID is the unique identifier for the type Persistent_SaveParams.
const Persistent_SaveResults_TypeID = 0xb76848c18c40efbf
Persistent_SaveResults_TypeID is the unique identifier for the type Persistent_SaveResults.
const Persistent_TypeID = 0xc8cb212fcd9f5691
Persistent_TypeID is the unique identifier for the type Persistent.
const RealmGateway_TypeID = 0x84ff286cd00a3ed4
RealmGateway_TypeID is the unique identifier for the type RealmGateway.
const RealmGateway_export_Params_TypeID = 0xecafa18b482da3aa
RealmGateway_export_Params_TypeID is the unique identifier for the type RealmGateway_export_Params.
const RealmGateway_import_Params_TypeID = 0xf0c2cc1d3909574d
RealmGateway_import_Params_TypeID is the unique identifier for the type RealmGateway_import_Params.
Variables ¶
This section is empty.
Functions ¶
func Persistent_Methods ¶
func Persistent_Methods(methods []server.Method, s Persistent_Server) []server.Method
func RealmGateway_Methods ¶
func RealmGateway_Methods(methods []server.Method, s RealmGateway_Server) []server.Method
Types ¶
type Persistent ¶
func Persistent_ServerToClient ¶
func Persistent_ServerToClient(s Persistent_Server) Persistent
func (Persistent) Save ¶
func (c Persistent) Save(ctx context.Context, params func(Persistent_SaveParams) error, opts ...capnp.CallOption) Persistent_SaveResults_Promise
type Persistent_SaveParams ¶
func NewPersistent_SaveParams ¶
func NewPersistent_SaveParams(s *capnp.Segment) (Persistent_SaveParams, error)
func NewRootPersistent_SaveParams ¶
func NewRootPersistent_SaveParams(s *capnp.Segment) (Persistent_SaveParams, error)
func ReadRootPersistent_SaveParams ¶
func ReadRootPersistent_SaveParams(msg *capnp.Message) (Persistent_SaveParams, error)
func (Persistent_SaveParams) HasSealFor ¶
func (s Persistent_SaveParams) HasSealFor() bool
func (Persistent_SaveParams) SealFor ¶
func (s Persistent_SaveParams) SealFor() (capnp.Pointer, error)
func (Persistent_SaveParams) SealForPtr ¶
func (s Persistent_SaveParams) SealForPtr() (capnp.Ptr, error)
func (Persistent_SaveParams) SetSealFor ¶
func (s Persistent_SaveParams) SetSealFor(v capnp.Pointer) error
func (Persistent_SaveParams) SetSealForPtr ¶
func (s Persistent_SaveParams) SetSealForPtr(v capnp.Ptr) error
func (Persistent_SaveParams) String ¶
func (s Persistent_SaveParams) String() string
type Persistent_SaveParams_List ¶
Persistent_SaveParams_List is a list of Persistent_SaveParams.
func NewPersistent_SaveParams_List ¶
func NewPersistent_SaveParams_List(s *capnp.Segment, sz int32) (Persistent_SaveParams_List, error)
NewPersistent_SaveParams creates a new list of Persistent_SaveParams.
func (Persistent_SaveParams_List) At ¶
func (s Persistent_SaveParams_List) At(i int) Persistent_SaveParams
func (Persistent_SaveParams_List) Set ¶
func (s Persistent_SaveParams_List) Set(i int, v Persistent_SaveParams) error
func (Persistent_SaveParams_List) String ¶
func (s Persistent_SaveParams_List) String() string
type Persistent_SaveParams_Promise ¶
Persistent_SaveParams_Promise is a wrapper for a Persistent_SaveParams promised by a client call.
func (Persistent_SaveParams_Promise) SealFor ¶
func (p Persistent_SaveParams_Promise) SealFor() *capnp.Pipeline
func (Persistent_SaveParams_Promise) Struct ¶
func (p Persistent_SaveParams_Promise) Struct() (Persistent_SaveParams, error)
type Persistent_SaveResults ¶
func NewPersistent_SaveResults ¶
func NewPersistent_SaveResults(s *capnp.Segment) (Persistent_SaveResults, error)
func NewRootPersistent_SaveResults ¶
func NewRootPersistent_SaveResults(s *capnp.Segment) (Persistent_SaveResults, error)
func ReadRootPersistent_SaveResults ¶
func ReadRootPersistent_SaveResults(msg *capnp.Message) (Persistent_SaveResults, error)
func (Persistent_SaveResults) HasSturdyRef ¶
func (s Persistent_SaveResults) HasSturdyRef() bool
func (Persistent_SaveResults) SetSturdyRef ¶
func (s Persistent_SaveResults) SetSturdyRef(v capnp.Pointer) error
func (Persistent_SaveResults) SetSturdyRefPtr ¶
func (s Persistent_SaveResults) SetSturdyRefPtr(v capnp.Ptr) error
func (Persistent_SaveResults) String ¶
func (s Persistent_SaveResults) String() string
func (Persistent_SaveResults) SturdyRef ¶
func (s Persistent_SaveResults) SturdyRef() (capnp.Pointer, error)
func (Persistent_SaveResults) SturdyRefPtr ¶
func (s Persistent_SaveResults) SturdyRefPtr() (capnp.Ptr, error)
type Persistent_SaveResults_List ¶
Persistent_SaveResults_List is a list of Persistent_SaveResults.
func NewPersistent_SaveResults_List ¶
func NewPersistent_SaveResults_List(s *capnp.Segment, sz int32) (Persistent_SaveResults_List, error)
NewPersistent_SaveResults creates a new list of Persistent_SaveResults.
func (Persistent_SaveResults_List) At ¶
func (s Persistent_SaveResults_List) At(i int) Persistent_SaveResults
func (Persistent_SaveResults_List) Set ¶
func (s Persistent_SaveResults_List) Set(i int, v Persistent_SaveResults) error
func (Persistent_SaveResults_List) String ¶
func (s Persistent_SaveResults_List) String() string
type Persistent_SaveResults_Promise ¶
Persistent_SaveResults_Promise is a wrapper for a Persistent_SaveResults promised by a client call.
func (Persistent_SaveResults_Promise) Struct ¶
func (p Persistent_SaveResults_Promise) Struct() (Persistent_SaveResults, error)
func (Persistent_SaveResults_Promise) SturdyRef ¶
func (p Persistent_SaveResults_Promise) SturdyRef() *capnp.Pipeline
type Persistent_Server ¶
type Persistent_Server interface {
Save(Persistent_save) error
}
type Persistent_save ¶
type Persistent_save struct { Ctx context.Context Options capnp.CallOptions Params Persistent_SaveParams Results Persistent_SaveResults }
Persistent_save holds the arguments for a server call to Persistent.save.
type RealmGateway ¶
func RealmGateway_ServerToClient ¶
func RealmGateway_ServerToClient(s RealmGateway_Server) RealmGateway
func (RealmGateway) Export ¶
func (c RealmGateway) Export(ctx context.Context, params func(RealmGateway_export_Params) error, opts ...capnp.CallOption) Persistent_SaveResults_Promise
func (RealmGateway) Import ¶
func (c RealmGateway) Import(ctx context.Context, params func(RealmGateway_import_Params) error, opts ...capnp.CallOption) Persistent_SaveResults_Promise
type RealmGateway_Server ¶
type RealmGateway_Server interface { Import(RealmGateway_import) error Export(RealmGateway_export) error }
type RealmGateway_export ¶
type RealmGateway_export struct { Ctx context.Context Options capnp.CallOptions Params RealmGateway_export_Params Results Persistent_SaveResults }
RealmGateway_export holds the arguments for a server call to RealmGateway.export.
type RealmGateway_export_Params ¶
func NewRealmGateway_export_Params ¶
func NewRealmGateway_export_Params(s *capnp.Segment) (RealmGateway_export_Params, error)
func NewRootRealmGateway_export_Params ¶
func NewRootRealmGateway_export_Params(s *capnp.Segment) (RealmGateway_export_Params, error)
func ReadRootRealmGateway_export_Params ¶
func ReadRootRealmGateway_export_Params(msg *capnp.Message) (RealmGateway_export_Params, error)
func (RealmGateway_export_Params) Cap ¶
func (s RealmGateway_export_Params) Cap() Persistent
func (RealmGateway_export_Params) HasCap ¶
func (s RealmGateway_export_Params) HasCap() bool
func (RealmGateway_export_Params) HasParams ¶
func (s RealmGateway_export_Params) HasParams() bool
func (RealmGateway_export_Params) NewParams ¶
func (s RealmGateway_export_Params) NewParams() (Persistent_SaveParams, error)
NewParams sets the params field to a newly allocated Persistent_SaveParams struct, preferring placement in s's segment.
func (RealmGateway_export_Params) Params ¶
func (s RealmGateway_export_Params) Params() (Persistent_SaveParams, error)
func (RealmGateway_export_Params) SetCap ¶
func (s RealmGateway_export_Params) SetCap(v Persistent) error
func (RealmGateway_export_Params) SetParams ¶
func (s RealmGateway_export_Params) SetParams(v Persistent_SaveParams) error
func (RealmGateway_export_Params) String ¶
func (s RealmGateway_export_Params) String() string
type RealmGateway_export_Params_List ¶
RealmGateway_export_Params_List is a list of RealmGateway_export_Params.
func NewRealmGateway_export_Params_List ¶
func NewRealmGateway_export_Params_List(s *capnp.Segment, sz int32) (RealmGateway_export_Params_List, error)
NewRealmGateway_export_Params creates a new list of RealmGateway_export_Params.
func (RealmGateway_export_Params_List) At ¶
func (s RealmGateway_export_Params_List) At(i int) RealmGateway_export_Params
func (RealmGateway_export_Params_List) Set ¶
func (s RealmGateway_export_Params_List) Set(i int, v RealmGateway_export_Params) error
func (RealmGateway_export_Params_List) String ¶
func (s RealmGateway_export_Params_List) String() string
type RealmGateway_export_Params_Promise ¶
RealmGateway_export_Params_Promise is a wrapper for a RealmGateway_export_Params promised by a client call.
func (RealmGateway_export_Params_Promise) Cap ¶
func (p RealmGateway_export_Params_Promise) Cap() Persistent
func (RealmGateway_export_Params_Promise) Params ¶
func (p RealmGateway_export_Params_Promise) Params() Persistent_SaveParams_Promise
func (RealmGateway_export_Params_Promise) Struct ¶
func (p RealmGateway_export_Params_Promise) Struct() (RealmGateway_export_Params, error)
type RealmGateway_import ¶
type RealmGateway_import struct { Ctx context.Context Options capnp.CallOptions Params RealmGateway_import_Params Results Persistent_SaveResults }
RealmGateway_import holds the arguments for a server call to RealmGateway.import.
type RealmGateway_import_Params ¶
func NewRealmGateway_import_Params ¶
func NewRealmGateway_import_Params(s *capnp.Segment) (RealmGateway_import_Params, error)
func NewRootRealmGateway_import_Params ¶
func NewRootRealmGateway_import_Params(s *capnp.Segment) (RealmGateway_import_Params, error)
func ReadRootRealmGateway_import_Params ¶
func ReadRootRealmGateway_import_Params(msg *capnp.Message) (RealmGateway_import_Params, error)
func (RealmGateway_import_Params) Cap ¶
func (s RealmGateway_import_Params) Cap() Persistent
func (RealmGateway_import_Params) HasCap ¶
func (s RealmGateway_import_Params) HasCap() bool
func (RealmGateway_import_Params) HasParams ¶
func (s RealmGateway_import_Params) HasParams() bool
func (RealmGateway_import_Params) NewParams ¶
func (s RealmGateway_import_Params) NewParams() (Persistent_SaveParams, error)
NewParams sets the params field to a newly allocated Persistent_SaveParams struct, preferring placement in s's segment.
func (RealmGateway_import_Params) Params ¶
func (s RealmGateway_import_Params) Params() (Persistent_SaveParams, error)
func (RealmGateway_import_Params) SetCap ¶
func (s RealmGateway_import_Params) SetCap(v Persistent) error
func (RealmGateway_import_Params) SetParams ¶
func (s RealmGateway_import_Params) SetParams(v Persistent_SaveParams) error
func (RealmGateway_import_Params) String ¶
func (s RealmGateway_import_Params) String() string
type RealmGateway_import_Params_List ¶
RealmGateway_import_Params_List is a list of RealmGateway_import_Params.
func NewRealmGateway_import_Params_List ¶
func NewRealmGateway_import_Params_List(s *capnp.Segment, sz int32) (RealmGateway_import_Params_List, error)
NewRealmGateway_import_Params creates a new list of RealmGateway_import_Params.
func (RealmGateway_import_Params_List) At ¶
func (s RealmGateway_import_Params_List) At(i int) RealmGateway_import_Params
func (RealmGateway_import_Params_List) Set ¶
func (s RealmGateway_import_Params_List) Set(i int, v RealmGateway_import_Params) error
func (RealmGateway_import_Params_List) String ¶
func (s RealmGateway_import_Params_List) String() string
type RealmGateway_import_Params_Promise ¶
RealmGateway_import_Params_Promise is a wrapper for a RealmGateway_import_Params promised by a client call.
func (RealmGateway_import_Params_Promise) Cap ¶
func (p RealmGateway_import_Params_Promise) Cap() Persistent
func (RealmGateway_import_Params_Promise) Params ¶
func (p RealmGateway_import_Params_Promise) Params() Persistent_SaveParams_Promise
func (RealmGateway_import_Params_Promise) Struct ¶
func (p RealmGateway_import_Params_Promise) Struct() (RealmGateway_import_Params, error)