Documentation ¶
Index ¶
- Constants
- func API_Methods(methods []server.Method, s API_Server) []server.Method
- func Meta_Methods(methods []server.Method, s Meta_Server) []server.Method
- func Sync_Methods(methods []server.Method, s Sync_Server) []server.Method
- type API
- func (c API) FetchStore(ctx context.Context, params func(Sync_fetchStore_Params) error, ...) Sync_fetchStore_Results_Promise
- func (c API) Ping(ctx context.Context, params func(Meta_ping_Params) error, ...) Meta_ping_Results_Promise
- func (c API) Version(ctx context.Context, params func(API_version_Params) error, ...) API_version_Results_Promise
- type API_Server
- type API_version
- type API_version_Params
- type API_version_Params_List
- type API_version_Params_Promise
- type API_version_Results
- type API_version_Results_List
- type API_version_Results_Promise
- type Meta
- type Meta_Server
- type Meta_ping
- type Meta_ping_Params
- type Meta_ping_Params_List
- type Meta_ping_Params_Promise
- type Meta_ping_Results
- type Meta_ping_Results_List
- type Meta_ping_Results_Promise
- type Sync
- type Sync_Server
- type Sync_fetchStore
- type Sync_fetchStore_Params
- type Sync_fetchStore_Params_List
- type Sync_fetchStore_Params_Promise
- type Sync_fetchStore_Results
- type Sync_fetchStore_Results_List
- type Sync_fetchStore_Results_Promise
Constants ¶
const API_TypeID = 0xb74958502f92fefd
API_TypeID is the unique identifier for the type API.
const API_version_Params_TypeID = 0xfbab528dd0716804
API_version_Params_TypeID is the unique identifier for the type API_version_Params.
const API_version_Results_TypeID = 0xebdd19e3dba3370b
API_version_Results_TypeID is the unique identifier for the type API_version_Results.
const Meta_TypeID = 0xb02d2ba0578cc7ff
Meta_TypeID is the unique identifier for the type Meta.
const Meta_ping_Params_TypeID = 0xe1a9fd466eca248c
Meta_ping_Params_TypeID is the unique identifier for the type Meta_ping_Params.
const Meta_ping_Results_TypeID = 0x9a90fde15285e327
Meta_ping_Results_TypeID is the unique identifier for the type Meta_ping_Results.
const Sync_TypeID = 0xf5692a07c5cf7872
Sync_TypeID is the unique identifier for the type Sync.
const Sync_fetchStore_Params_TypeID = 0xdc63044e67499411
Sync_fetchStore_Params_TypeID is the unique identifier for the type Sync_fetchStore_Params.
const Sync_fetchStore_Results_TypeID = 0xf834409e30e8009c
Sync_fetchStore_Results_TypeID is the unique identifier for the type Sync_fetchStore_Results.
Variables ¶
This section is empty.
Functions ¶
func API_Methods ¶
func API_Methods(methods []server.Method, s API_Server) []server.Method
func Meta_Methods ¶
func Meta_Methods(methods []server.Method, s Meta_Server) []server.Method
func Sync_Methods ¶
func Sync_Methods(methods []server.Method, s Sync_Server) []server.Method
Types ¶
type API ¶
func API_ServerToClient ¶
func API_ServerToClient(s API_Server) API
func (API) FetchStore ¶
func (c API) FetchStore(ctx context.Context, params func(Sync_fetchStore_Params) error, opts ...capnp.CallOption) Sync_fetchStore_Results_Promise
func (API) Ping ¶
func (c API) Ping(ctx context.Context, params func(Meta_ping_Params) error, opts ...capnp.CallOption) Meta_ping_Results_Promise
func (API) Version ¶
func (c API) Version(ctx context.Context, params func(API_version_Params) error, opts ...capnp.CallOption) API_version_Results_Promise
type API_Server ¶
type API_Server interface { Version(API_version) error FetchStore(Sync_fetchStore) error Ping(Meta_ping) error }
type API_version ¶
type API_version struct { Ctx context.Context Options capnp.CallOptions Params API_version_Params Results API_version_Results }
API_version holds the arguments for a server call to API.version.
type API_version_Params ¶
func NewAPI_version_Params ¶
func NewAPI_version_Params(s *capnp.Segment) (API_version_Params, error)
func NewRootAPI_version_Params ¶
func NewRootAPI_version_Params(s *capnp.Segment) (API_version_Params, error)
func ReadRootAPI_version_Params ¶
func ReadRootAPI_version_Params(msg *capnp.Message) (API_version_Params, error)
func (API_version_Params) String ¶
func (s API_version_Params) String() string
type API_version_Params_List ¶
API_version_Params_List is a list of API_version_Params.
func NewAPI_version_Params_List ¶
func NewAPI_version_Params_List(s *capnp.Segment, sz int32) (API_version_Params_List, error)
NewAPI_version_Params creates a new list of API_version_Params.
func (API_version_Params_List) At ¶
func (s API_version_Params_List) At(i int) API_version_Params
func (API_version_Params_List) Set ¶
func (s API_version_Params_List) Set(i int, v API_version_Params) error
func (API_version_Params_List) String ¶
func (s API_version_Params_List) String() string
type API_version_Params_Promise ¶
API_version_Params_Promise is a wrapper for a API_version_Params promised by a client call.
func (API_version_Params_Promise) Struct ¶
func (p API_version_Params_Promise) Struct() (API_version_Params, error)
type API_version_Results ¶
func NewAPI_version_Results ¶
func NewAPI_version_Results(s *capnp.Segment) (API_version_Results, error)
func NewRootAPI_version_Results ¶
func NewRootAPI_version_Results(s *capnp.Segment) (API_version_Results, error)
func ReadRootAPI_version_Results ¶
func ReadRootAPI_version_Results(msg *capnp.Message) (API_version_Results, error)
func (API_version_Results) SetVersion ¶
func (s API_version_Results) SetVersion(v int32)
func (API_version_Results) String ¶
func (s API_version_Results) String() string
func (API_version_Results) Version ¶
func (s API_version_Results) Version() int32
type API_version_Results_List ¶
API_version_Results_List is a list of API_version_Results.
func NewAPI_version_Results_List ¶
func NewAPI_version_Results_List(s *capnp.Segment, sz int32) (API_version_Results_List, error)
NewAPI_version_Results creates a new list of API_version_Results.
func (API_version_Results_List) At ¶
func (s API_version_Results_List) At(i int) API_version_Results
func (API_version_Results_List) Set ¶
func (s API_version_Results_List) Set(i int, v API_version_Results) error
func (API_version_Results_List) String ¶
func (s API_version_Results_List) String() string
type API_version_Results_Promise ¶
API_version_Results_Promise is a wrapper for a API_version_Results promised by a client call.
func (API_version_Results_Promise) Struct ¶
func (p API_version_Results_Promise) Struct() (API_version_Results, error)
type Meta ¶
func Meta_ServerToClient ¶
func Meta_ServerToClient(s Meta_Server) Meta
func (Meta) Ping ¶
func (c Meta) Ping(ctx context.Context, params func(Meta_ping_Params) error, opts ...capnp.CallOption) Meta_ping_Results_Promise
type Meta_Server ¶
type Meta_ping ¶
type Meta_ping struct { Ctx context.Context Options capnp.CallOptions Params Meta_ping_Params Results Meta_ping_Results }
Meta_ping holds the arguments for a server call to Meta.ping.
type Meta_ping_Params ¶
func NewMeta_ping_Params ¶
func NewMeta_ping_Params(s *capnp.Segment) (Meta_ping_Params, error)
func NewRootMeta_ping_Params ¶
func NewRootMeta_ping_Params(s *capnp.Segment) (Meta_ping_Params, error)
func ReadRootMeta_ping_Params ¶
func ReadRootMeta_ping_Params(msg *capnp.Message) (Meta_ping_Params, error)
func (Meta_ping_Params) String ¶
func (s Meta_ping_Params) String() string
type Meta_ping_Params_List ¶
Meta_ping_Params_List is a list of Meta_ping_Params.
func NewMeta_ping_Params_List ¶
func NewMeta_ping_Params_List(s *capnp.Segment, sz int32) (Meta_ping_Params_List, error)
NewMeta_ping_Params creates a new list of Meta_ping_Params.
func (Meta_ping_Params_List) At ¶
func (s Meta_ping_Params_List) At(i int) Meta_ping_Params
func (Meta_ping_Params_List) Set ¶
func (s Meta_ping_Params_List) Set(i int, v Meta_ping_Params) error
func (Meta_ping_Params_List) String ¶
func (s Meta_ping_Params_List) String() string
type Meta_ping_Params_Promise ¶
Meta_ping_Params_Promise is a wrapper for a Meta_ping_Params promised by a client call.
func (Meta_ping_Params_Promise) Struct ¶
func (p Meta_ping_Params_Promise) Struct() (Meta_ping_Params, error)
type Meta_ping_Results ¶
func NewMeta_ping_Results ¶
func NewMeta_ping_Results(s *capnp.Segment) (Meta_ping_Results, error)
func NewRootMeta_ping_Results ¶
func NewRootMeta_ping_Results(s *capnp.Segment) (Meta_ping_Results, error)
func ReadRootMeta_ping_Results ¶
func ReadRootMeta_ping_Results(msg *capnp.Message) (Meta_ping_Results, error)
func (Meta_ping_Results) HasReply ¶
func (s Meta_ping_Results) HasReply() bool
func (Meta_ping_Results) Reply ¶
func (s Meta_ping_Results) Reply() (string, error)
func (Meta_ping_Results) ReplyBytes ¶
func (s Meta_ping_Results) ReplyBytes() ([]byte, error)
func (Meta_ping_Results) SetReply ¶
func (s Meta_ping_Results) SetReply(v string) error
func (Meta_ping_Results) String ¶
func (s Meta_ping_Results) String() string
type Meta_ping_Results_List ¶
Meta_ping_Results_List is a list of Meta_ping_Results.
func NewMeta_ping_Results_List ¶
func NewMeta_ping_Results_List(s *capnp.Segment, sz int32) (Meta_ping_Results_List, error)
NewMeta_ping_Results creates a new list of Meta_ping_Results.
func (Meta_ping_Results_List) At ¶
func (s Meta_ping_Results_List) At(i int) Meta_ping_Results
func (Meta_ping_Results_List) Set ¶
func (s Meta_ping_Results_List) Set(i int, v Meta_ping_Results) error
func (Meta_ping_Results_List) String ¶
func (s Meta_ping_Results_List) String() string
type Meta_ping_Results_Promise ¶
Meta_ping_Results_Promise is a wrapper for a Meta_ping_Results promised by a client call.
func (Meta_ping_Results_Promise) Struct ¶
func (p Meta_ping_Results_Promise) Struct() (Meta_ping_Results, error)
type Sync ¶
func Sync_ServerToClient ¶
func Sync_ServerToClient(s Sync_Server) Sync
func (Sync) FetchStore ¶
func (c Sync) FetchStore(ctx context.Context, params func(Sync_fetchStore_Params) error, opts ...capnp.CallOption) Sync_fetchStore_Results_Promise
type Sync_Server ¶
type Sync_Server interface {
FetchStore(Sync_fetchStore) error
}
type Sync_fetchStore ¶
type Sync_fetchStore struct { Ctx context.Context Options capnp.CallOptions Params Sync_fetchStore_Params Results Sync_fetchStore_Results }
Sync_fetchStore holds the arguments for a server call to Sync.fetchStore.
type Sync_fetchStore_Params ¶
func NewRootSync_fetchStore_Params ¶
func NewRootSync_fetchStore_Params(s *capnp.Segment) (Sync_fetchStore_Params, error)
func NewSync_fetchStore_Params ¶
func NewSync_fetchStore_Params(s *capnp.Segment) (Sync_fetchStore_Params, error)
func ReadRootSync_fetchStore_Params ¶
func ReadRootSync_fetchStore_Params(msg *capnp.Message) (Sync_fetchStore_Params, error)
func (Sync_fetchStore_Params) String ¶
func (s Sync_fetchStore_Params) String() string
type Sync_fetchStore_Params_List ¶
Sync_fetchStore_Params_List is a list of Sync_fetchStore_Params.
func NewSync_fetchStore_Params_List ¶
func NewSync_fetchStore_Params_List(s *capnp.Segment, sz int32) (Sync_fetchStore_Params_List, error)
NewSync_fetchStore_Params creates a new list of Sync_fetchStore_Params.
func (Sync_fetchStore_Params_List) At ¶
func (s Sync_fetchStore_Params_List) At(i int) Sync_fetchStore_Params
func (Sync_fetchStore_Params_List) Set ¶
func (s Sync_fetchStore_Params_List) Set(i int, v Sync_fetchStore_Params) error
func (Sync_fetchStore_Params_List) String ¶
func (s Sync_fetchStore_Params_List) String() string
type Sync_fetchStore_Params_Promise ¶
Sync_fetchStore_Params_Promise is a wrapper for a Sync_fetchStore_Params promised by a client call.
func (Sync_fetchStore_Params_Promise) Struct ¶
func (p Sync_fetchStore_Params_Promise) Struct() (Sync_fetchStore_Params, error)
type Sync_fetchStore_Results ¶
func NewRootSync_fetchStore_Results ¶
func NewRootSync_fetchStore_Results(s *capnp.Segment) (Sync_fetchStore_Results, error)
func NewSync_fetchStore_Results ¶
func NewSync_fetchStore_Results(s *capnp.Segment) (Sync_fetchStore_Results, error)
func ReadRootSync_fetchStore_Results ¶
func ReadRootSync_fetchStore_Results(msg *capnp.Message) (Sync_fetchStore_Results, error)
func (Sync_fetchStore_Results) Data ¶
func (s Sync_fetchStore_Results) Data() ([]byte, error)
func (Sync_fetchStore_Results) HasData ¶
func (s Sync_fetchStore_Results) HasData() bool
func (Sync_fetchStore_Results) SetData ¶
func (s Sync_fetchStore_Results) SetData(v []byte) error
func (Sync_fetchStore_Results) String ¶
func (s Sync_fetchStore_Results) String() string
type Sync_fetchStore_Results_List ¶
Sync_fetchStore_Results_List is a list of Sync_fetchStore_Results.
func NewSync_fetchStore_Results_List ¶
func NewSync_fetchStore_Results_List(s *capnp.Segment, sz int32) (Sync_fetchStore_Results_List, error)
NewSync_fetchStore_Results creates a new list of Sync_fetchStore_Results.
func (Sync_fetchStore_Results_List) At ¶
func (s Sync_fetchStore_Results_List) At(i int) Sync_fetchStore_Results
func (Sync_fetchStore_Results_List) Set ¶
func (s Sync_fetchStore_Results_List) Set(i int, v Sync_fetchStore_Results) error
func (Sync_fetchStore_Results_List) String ¶
func (s Sync_fetchStore_Results_List) String() string
type Sync_fetchStore_Results_Promise ¶
Sync_fetchStore_Results_Promise is a wrapper for a Sync_fetchStore_Results promised by a client call.
func (Sync_fetchStore_Results_Promise) Struct ¶
func (p Sync_fetchStore_Results_Promise) Struct() (Sync_fetchStore_Results, error)