persistent

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const PersistentAnnotation = uint64(0xf622595091cafb67)
View Source
const Persistent_SaveParams_TypeID = 0xf76fba59183073a5

Persistent_SaveParams_TypeID is the unique identifier for the type Persistent_SaveParams.

View Source
const Persistent_SaveResults_TypeID = 0xb76848c18c40efbf

Persistent_SaveResults_TypeID is the unique identifier for the type Persistent_SaveResults.

View Source
const Persistent_TypeID = 0xc8cb212fcd9f5691

Persistent_TypeID is the unique identifier for the type Persistent.

View Source
const RealmGateway_TypeID = 0x84ff286cd00a3ed4

RealmGateway_TypeID is the unique identifier for the type RealmGateway.

View Source
const RealmGateway_export_Params_TypeID = 0xecafa18b482da3aa

RealmGateway_export_Params_TypeID is the unique identifier for the type RealmGateway_export_Params.

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

type Persistent struct{ Client capnp.Client }

func Persistent_ServerToClient

func Persistent_ServerToClient(s Persistent_Server) Persistent

func (Persistent) Save

type Persistent_SaveParams

type Persistent_SaveParams struct{ capnp.Struct }

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

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

func (Persistent_SaveParams_List) String

type Persistent_SaveParams_Promise

type Persistent_SaveParams_Promise struct{ *capnp.Pipeline }

Persistent_SaveParams_Promise is a wrapper for a Persistent_SaveParams promised by a client call.

func (Persistent_SaveParams_Promise) SealFor

func (Persistent_SaveParams_Promise) Struct

type Persistent_SaveResults

type Persistent_SaveResults struct{ capnp.Struct }

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

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

func (Persistent_SaveResults_List) String

type Persistent_SaveResults_Promise

type Persistent_SaveResults_Promise struct{ *capnp.Pipeline }

Persistent_SaveResults_Promise is a wrapper for a Persistent_SaveResults promised by a client call.

func (Persistent_SaveResults_Promise) Struct

func (Persistent_SaveResults_Promise) SturdyRef

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

type RealmGateway struct{ Client capnp.Client }

func RealmGateway_ServerToClient

func RealmGateway_ServerToClient(s RealmGateway_Server) RealmGateway

func (RealmGateway) Export

func (RealmGateway) Import

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

type RealmGateway_export_Params struct{ capnp.Struct }

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

NewParams sets the params field to a newly allocated Persistent_SaveParams struct, preferring placement in s's segment.

func (RealmGateway_export_Params) Params

func (RealmGateway_export_Params) SetCap

func (RealmGateway_export_Params) SetParams

func (RealmGateway_export_Params) String

type RealmGateway_export_Params_List

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

func (RealmGateway_export_Params_List) String

type RealmGateway_export_Params_Promise

type RealmGateway_export_Params_Promise struct{ *capnp.Pipeline }

RealmGateway_export_Params_Promise is a wrapper for a RealmGateway_export_Params promised by a client call.

func (RealmGateway_export_Params_Promise) Cap

func (RealmGateway_export_Params_Promise) Params

func (RealmGateway_export_Params_Promise) Struct

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

type RealmGateway_import_Params struct{ capnp.Struct }

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

NewParams sets the params field to a newly allocated Persistent_SaveParams struct, preferring placement in s's segment.

func (RealmGateway_import_Params) Params

func (RealmGateway_import_Params) SetCap

func (RealmGateway_import_Params) SetParams

func (RealmGateway_import_Params) String

type RealmGateway_import_Params_List

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

func (RealmGateway_import_Params_List) String

type RealmGateway_import_Params_Promise

type RealmGateway_import_Params_Promise struct{ *capnp.Pipeline }

RealmGateway_import_Params_Promise is a wrapper for a RealmGateway_import_Params promised by a client call.

func (RealmGateway_import_Params_Promise) Cap

func (RealmGateway_import_Params_Promise) Params

func (RealmGateway_import_Params_Promise) Struct

Jump to

Keyboard shortcuts

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