Documentation ¶
Index ¶
- Constants
- func Profile_Methods(methods []server.Method, s Profile_Server) []server.Method
- func Profile_NewServer(s Profile_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- func Service_Methods(methods []server.Method, s Service_Server) []server.Method
- func Service_NewServer(s Service_Server) *server.Server
- func Service_Stream_Methods(methods []server.Method, s Service_Stream_Server) []server.Method
- func Service_Stream_NewServer(s Service_Stream_Server) *server.Server
- type Layer
- func (Layer) DecodeFromPtr(p capnp.Ptr) Layer
- func (s Layer) Description() (string, error)
- func (s Layer) DescriptionBytes() ([]byte, error)
- func (s Layer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Layer) HasDescription() bool
- func (s Layer) HasProperties() bool
- func (s Layer) IsValid() bool
- func (s Layer) Message() *capnp.Message
- func (s Layer) NewProperties(n int32) (Layer_Property_List, error)
- func (s Layer) Properties() (Layer_Property_List, error)
- func (s Layer) Segment() *capnp.Segment
- func (s Layer) SetDescription(v string) error
- func (s Layer) SetProperties(v Layer_Property_List) error
- func (s Layer) SetSize(v float32)
- func (s Layer) Size() float32
- func (s Layer) String() string
- func (s Layer) ToPtr() capnp.Ptr
- type Layer_Future
- type Layer_List
- type Layer_Property
- func (s Layer_Property) BValue() bool
- func (Layer_Property) DecodeFromPtr(p capnp.Ptr) Layer_Property
- func (s Layer_Property) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Layer_Property) F32Value() float32
- func (s Layer_Property) HasType() bool
- func (s Layer_Property) IsValid() bool
- func (s Layer_Property) Message() *capnp.Message
- func (s Layer_Property) Name() PropertyName
- func (s Layer_Property) Segment() *capnp.Segment
- func (s Layer_Property) SetBValue(v bool)
- func (s Layer_Property) SetF32Value(v float32)
- func (s Layer_Property) SetName(v PropertyName)
- func (s Layer_Property) SetType(v string) error
- func (s Layer_Property) SetUnset()
- func (s Layer_Property) String() string
- func (s Layer_Property) ToPtr() capnp.Ptr
- func (s Layer_Property) Type() (string, error)
- func (s Layer_Property) TypeBytes() ([]byte, error)
- func (s Layer_Property) Which() Layer_Property_Which
- type Layer_Property_Future
- type Layer_Property_List
- type Layer_Property_Which
- type Profile
- func (c Profile) AddRef() Profile
- func (c Profile) Data(ctx context.Context, params func(Profile_data_Params) error) (ProfileData_Future, capnp.ReleaseFunc)
- func (Profile) DecodeFromPtr(p capnp.Ptr) Profile
- func (c Profile) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Profile) GeoLocation(ctx context.Context, params func(Profile_geoLocation_Params) error) (geo.LatLonCoord_Future, capnp.ReleaseFunc)
- func (c Profile) GetFlowLimiter() fc.FlowLimiter
- func (c Profile) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Profile) IsSame(other Profile) bool
- func (c Profile) IsValid() bool
- func (c Profile) Release()
- func (c Profile) Resolve(ctx context.Context) error
- func (c Profile) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c Profile) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Profile) String() string
- func (c Profile) WaitStreaming() error
- type ProfileData
- func (ProfileData) DecodeFromPtr(p capnp.Ptr) ProfileData
- func (s ProfileData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ProfileData) HasLayers() bool
- func (s ProfileData) IsValid() bool
- func (s ProfileData) Layers() (Layer_List, error)
- func (s ProfileData) Message() *capnp.Message
- func (s ProfileData) NewLayers(n int32) (Layer_List, error)
- func (s ProfileData) PercentageOfArea() float32
- func (s ProfileData) Segment() *capnp.Segment
- func (s ProfileData) SetLayers(v Layer_List) error
- func (s ProfileData) SetPercentageOfArea(v float32)
- func (s ProfileData) String() string
- func (s ProfileData) ToPtr() capnp.Ptr
- type ProfileData_Future
- type ProfileData_List
- type Profile_List
- type Profile_Server
- type Profile_data
- type Profile_data_Params
- func (Profile_data_Params) DecodeFromPtr(p capnp.Ptr) Profile_data_Params
- func (s Profile_data_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Profile_data_Params) IsValid() bool
- func (s Profile_data_Params) Message() *capnp.Message
- func (s Profile_data_Params) Segment() *capnp.Segment
- func (s Profile_data_Params) String() string
- func (s Profile_data_Params) ToPtr() capnp.Ptr
- type Profile_data_Params_Future
- type Profile_data_Params_List
- type Profile_geoLocation
- type Profile_geoLocation_Params
- func (Profile_geoLocation_Params) DecodeFromPtr(p capnp.Ptr) Profile_geoLocation_Params
- func (s Profile_geoLocation_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Profile_geoLocation_Params) IsValid() bool
- func (s Profile_geoLocation_Params) Message() *capnp.Message
- func (s Profile_geoLocation_Params) Segment() *capnp.Segment
- func (s Profile_geoLocation_Params) String() string
- func (s Profile_geoLocation_Params) ToPtr() capnp.Ptr
- type Profile_geoLocation_Params_Future
- type Profile_geoLocation_Params_List
- type PropertyName
- type PropertyName_List
- type Query
- func (Query) DecodeFromPtr(p capnp.Ptr) Query
- func (s Query) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Query) HasMandatory() bool
- func (s Query) HasOptional() bool
- func (s Query) IsValid() bool
- func (s Query) Mandatory() (PropertyName_List, error)
- func (s Query) Message() *capnp.Message
- func (s Query) NewMandatory(n int32) (PropertyName_List, error)
- func (s Query) NewOptional(n int32) (PropertyName_List, error)
- func (s Query) OnlyRawData() bool
- func (s Query) Optional() (PropertyName_List, error)
- func (s Query) Segment() *capnp.Segment
- func (s Query) SetMandatory(v PropertyName_List) error
- func (s Query) SetOnlyRawData(v bool)
- func (s Query) SetOptional(v PropertyName_List) error
- func (s Query) String() string
- func (s Query) ToPtr() capnp.Ptr
- type Query_Future
- type Query_List
- type Query_Result
- func (Query_Result) DecodeFromPtr(p capnp.Ptr) Query_Result
- func (s Query_Result) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Query_Result) Failed() bool
- func (s Query_Result) HasMandatory() bool
- func (s Query_Result) HasOptional() bool
- func (s Query_Result) IsValid() bool
- func (s Query_Result) Mandatory() (PropertyName_List, error)
- func (s Query_Result) Message() *capnp.Message
- func (s Query_Result) NewMandatory(n int32) (PropertyName_List, error)
- func (s Query_Result) NewOptional(n int32) (PropertyName_List, error)
- func (s Query_Result) Optional() (PropertyName_List, error)
- func (s Query_Result) Segment() *capnp.Segment
- func (s Query_Result) SetFailed(v bool)
- func (s Query_Result) SetMandatory(v PropertyName_List) error
- func (s Query_Result) SetOptional(v PropertyName_List) error
- func (s Query_Result) String() string
- func (s Query_Result) ToPtr() capnp.Ptr
- type Query_Result_Future
- type Query_Result_List
- type SType
- type SType_List
- type Service
- func (c Service) AddRef() Service
- func (c Service) CheckAvailableParameters(ctx context.Context, params func(Query) error) (Query_Result_Future, capnp.ReleaseFunc)
- func (c Service) ClosestProfilesAt(ctx context.Context, params func(Service_closestProfilesAt_Params) error) (Service_closestProfilesAt_Results_Future, capnp.ReleaseFunc)
- func (Service) DecodeFromPtr(p capnp.Ptr) Service
- func (c Service) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Service) GetAllAvailableParameters(ctx context.Context, ...) (Service_getAllAvailableParameters_Results_Future, capnp.ReleaseFunc)
- func (c Service) GetFlowLimiter() fc.FlowLimiter
- func (c Service) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Service) IsSame(other Service) bool
- func (c Service) IsValid() bool
- func (c Service) Release()
- func (c Service) Resolve(ctx context.Context) error
- func (c Service) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c Service) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Service) StreamAllProfiles(ctx context.Context, params func(Query) error) (Service_streamAllProfiles_Results_Future, capnp.ReleaseFunc)
- func (c Service) String() string
- func (c Service) WaitStreaming() error
- type Service_List
- type Service_Server
- type Service_Stream
- func (c Service_Stream) AddRef() Service_Stream
- func (Service_Stream) DecodeFromPtr(p capnp.Ptr) Service_Stream
- func (c Service_Stream) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Service_Stream) GetFlowLimiter() fc.FlowLimiter
- func (c Service_Stream) IsSame(other Service_Stream) bool
- func (c Service_Stream) IsValid() bool
- func (c Service_Stream) NextProfiles(ctx context.Context, params func(Service_Stream_nextProfiles_Params) error) (Service_Stream_nextProfiles_Results_Future, capnp.ReleaseFunc)
- func (c Service_Stream) Release()
- func (c Service_Stream) Resolve(ctx context.Context) error
- func (c Service_Stream) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Service_Stream) String() string
- func (c Service_Stream) WaitStreaming() error
- type Service_Stream_List
- type Service_Stream_Server
- type Service_Stream_nextProfiles
- type Service_Stream_nextProfiles_Params
- func NewRootService_Stream_nextProfiles_Params(s *capnp.Segment) (Service_Stream_nextProfiles_Params, error)
- func NewService_Stream_nextProfiles_Params(s *capnp.Segment) (Service_Stream_nextProfiles_Params, error)
- func ReadRootService_Stream_nextProfiles_Params(msg *capnp.Message) (Service_Stream_nextProfiles_Params, error)
- func (Service_Stream_nextProfiles_Params) DecodeFromPtr(p capnp.Ptr) Service_Stream_nextProfiles_Params
- func (s Service_Stream_nextProfiles_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_Stream_nextProfiles_Params) IsValid() bool
- func (s Service_Stream_nextProfiles_Params) MaxCount() int64
- func (s Service_Stream_nextProfiles_Params) Message() *capnp.Message
- func (s Service_Stream_nextProfiles_Params) Segment() *capnp.Segment
- func (s Service_Stream_nextProfiles_Params) SetMaxCount(v int64)
- func (s Service_Stream_nextProfiles_Params) String() string
- func (s Service_Stream_nextProfiles_Params) ToPtr() capnp.Ptr
- type Service_Stream_nextProfiles_Params_Future
- type Service_Stream_nextProfiles_Params_List
- type Service_Stream_nextProfiles_Results
- func NewRootService_Stream_nextProfiles_Results(s *capnp.Segment) (Service_Stream_nextProfiles_Results, error)
- func NewService_Stream_nextProfiles_Results(s *capnp.Segment) (Service_Stream_nextProfiles_Results, error)
- func ReadRootService_Stream_nextProfiles_Results(msg *capnp.Message) (Service_Stream_nextProfiles_Results, error)
- func (Service_Stream_nextProfiles_Results) DecodeFromPtr(p capnp.Ptr) Service_Stream_nextProfiles_Results
- func (s Service_Stream_nextProfiles_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_Stream_nextProfiles_Results) HasProfiles() bool
- func (s Service_Stream_nextProfiles_Results) IsValid() bool
- func (s Service_Stream_nextProfiles_Results) Message() *capnp.Message
- func (s Service_Stream_nextProfiles_Results) NewProfiles(n int32) (Profile_List, error)
- func (s Service_Stream_nextProfiles_Results) Profiles() (Profile_List, error)
- func (s Service_Stream_nextProfiles_Results) Segment() *capnp.Segment
- func (s Service_Stream_nextProfiles_Results) SetProfiles(v Profile_List) error
- func (s Service_Stream_nextProfiles_Results) String() string
- func (s Service_Stream_nextProfiles_Results) ToPtr() capnp.Ptr
- type Service_Stream_nextProfiles_Results_Future
- type Service_Stream_nextProfiles_Results_List
- type Service_checkAvailableParameters
- type Service_closestProfilesAt
- type Service_closestProfilesAt_Params
- func NewRootService_closestProfilesAt_Params(s *capnp.Segment) (Service_closestProfilesAt_Params, error)
- func NewService_closestProfilesAt_Params(s *capnp.Segment) (Service_closestProfilesAt_Params, error)
- func ReadRootService_closestProfilesAt_Params(msg *capnp.Message) (Service_closestProfilesAt_Params, error)
- func (s Service_closestProfilesAt_Params) Coord() (geo.LatLonCoord, error)
- func (Service_closestProfilesAt_Params) DecodeFromPtr(p capnp.Ptr) Service_closestProfilesAt_Params
- func (s Service_closestProfilesAt_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_closestProfilesAt_Params) HasCoord() bool
- func (s Service_closestProfilesAt_Params) HasQuery() bool
- func (s Service_closestProfilesAt_Params) IsValid() bool
- func (s Service_closestProfilesAt_Params) Message() *capnp.Message
- func (s Service_closestProfilesAt_Params) NewCoord() (geo.LatLonCoord, error)
- func (s Service_closestProfilesAt_Params) NewQuery() (Query, error)
- func (s Service_closestProfilesAt_Params) Query() (Query, error)
- func (s Service_closestProfilesAt_Params) Segment() *capnp.Segment
- func (s Service_closestProfilesAt_Params) SetCoord(v geo.LatLonCoord) error
- func (s Service_closestProfilesAt_Params) SetQuery(v Query) error
- func (s Service_closestProfilesAt_Params) String() string
- func (s Service_closestProfilesAt_Params) ToPtr() capnp.Ptr
- type Service_closestProfilesAt_Params_Future
- type Service_closestProfilesAt_Params_List
- type Service_closestProfilesAt_Results
- func NewRootService_closestProfilesAt_Results(s *capnp.Segment) (Service_closestProfilesAt_Results, error)
- func NewService_closestProfilesAt_Results(s *capnp.Segment) (Service_closestProfilesAt_Results, error)
- func ReadRootService_closestProfilesAt_Results(msg *capnp.Message) (Service_closestProfilesAt_Results, error)
- func (Service_closestProfilesAt_Results) DecodeFromPtr(p capnp.Ptr) Service_closestProfilesAt_Results
- func (s Service_closestProfilesAt_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_closestProfilesAt_Results) HasProfiles() bool
- func (s Service_closestProfilesAt_Results) IsValid() bool
- func (s Service_closestProfilesAt_Results) Message() *capnp.Message
- func (s Service_closestProfilesAt_Results) NewProfiles(n int32) (Profile_List, error)
- func (s Service_closestProfilesAt_Results) Profiles() (Profile_List, error)
- func (s Service_closestProfilesAt_Results) Segment() *capnp.Segment
- func (s Service_closestProfilesAt_Results) SetProfiles(v Profile_List) error
- func (s Service_closestProfilesAt_Results) String() string
- func (s Service_closestProfilesAt_Results) ToPtr() capnp.Ptr
- type Service_closestProfilesAt_Results_Future
- type Service_closestProfilesAt_Results_List
- type Service_getAllAvailableParameters
- type Service_getAllAvailableParameters_Params
- func NewRootService_getAllAvailableParameters_Params(s *capnp.Segment) (Service_getAllAvailableParameters_Params, error)
- func NewService_getAllAvailableParameters_Params(s *capnp.Segment) (Service_getAllAvailableParameters_Params, error)
- func ReadRootService_getAllAvailableParameters_Params(msg *capnp.Message) (Service_getAllAvailableParameters_Params, error)
- func (Service_getAllAvailableParameters_Params) DecodeFromPtr(p capnp.Ptr) Service_getAllAvailableParameters_Params
- func (s Service_getAllAvailableParameters_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_getAllAvailableParameters_Params) IsValid() bool
- func (s Service_getAllAvailableParameters_Params) Message() *capnp.Message
- func (s Service_getAllAvailableParameters_Params) OnlyRawData() bool
- func (s Service_getAllAvailableParameters_Params) Segment() *capnp.Segment
- func (s Service_getAllAvailableParameters_Params) SetOnlyRawData(v bool)
- func (s Service_getAllAvailableParameters_Params) String() string
- func (s Service_getAllAvailableParameters_Params) ToPtr() capnp.Ptr
- type Service_getAllAvailableParameters_Params_Future
- type Service_getAllAvailableParameters_Params_List
- type Service_getAllAvailableParameters_Results
- func NewRootService_getAllAvailableParameters_Results(s *capnp.Segment) (Service_getAllAvailableParameters_Results, error)
- func NewService_getAllAvailableParameters_Results(s *capnp.Segment) (Service_getAllAvailableParameters_Results, error)
- func ReadRootService_getAllAvailableParameters_Results(msg *capnp.Message) (Service_getAllAvailableParameters_Results, error)
- func (Service_getAllAvailableParameters_Results) DecodeFromPtr(p capnp.Ptr) Service_getAllAvailableParameters_Results
- func (s Service_getAllAvailableParameters_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_getAllAvailableParameters_Results) HasMandatory() bool
- func (s Service_getAllAvailableParameters_Results) HasOptional() bool
- func (s Service_getAllAvailableParameters_Results) IsValid() bool
- func (s Service_getAllAvailableParameters_Results) Mandatory() (PropertyName_List, error)
- func (s Service_getAllAvailableParameters_Results) Message() *capnp.Message
- func (s Service_getAllAvailableParameters_Results) NewMandatory(n int32) (PropertyName_List, error)
- func (s Service_getAllAvailableParameters_Results) NewOptional(n int32) (PropertyName_List, error)
- func (s Service_getAllAvailableParameters_Results) Optional() (PropertyName_List, error)
- func (s Service_getAllAvailableParameters_Results) Segment() *capnp.Segment
- func (s Service_getAllAvailableParameters_Results) SetMandatory(v PropertyName_List) error
- func (s Service_getAllAvailableParameters_Results) SetOptional(v PropertyName_List) error
- func (s Service_getAllAvailableParameters_Results) String() string
- func (s Service_getAllAvailableParameters_Results) ToPtr() capnp.Ptr
- type Service_getAllAvailableParameters_Results_Future
- type Service_getAllAvailableParameters_Results_List
- type Service_streamAllProfiles
- type Service_streamAllProfiles_Results
- func NewRootService_streamAllProfiles_Results(s *capnp.Segment) (Service_streamAllProfiles_Results, error)
- func NewService_streamAllProfiles_Results(s *capnp.Segment) (Service_streamAllProfiles_Results, error)
- func ReadRootService_streamAllProfiles_Results(msg *capnp.Message) (Service_streamAllProfiles_Results, error)
- func (s Service_streamAllProfiles_Results) AllProfiles() Service_Stream
- func (Service_streamAllProfiles_Results) DecodeFromPtr(p capnp.Ptr) Service_streamAllProfiles_Results
- func (s Service_streamAllProfiles_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Service_streamAllProfiles_Results) HasAllProfiles() bool
- func (s Service_streamAllProfiles_Results) IsValid() bool
- func (s Service_streamAllProfiles_Results) Message() *capnp.Message
- func (s Service_streamAllProfiles_Results) Segment() *capnp.Segment
- func (s Service_streamAllProfiles_Results) SetAllProfiles(v Service_Stream) error
- func (s Service_streamAllProfiles_Results) String() string
- func (s Service_streamAllProfiles_Results) ToPtr() capnp.Ptr
- type Service_streamAllProfiles_Results_Future
- type Service_streamAllProfiles_Results_List
Constants ¶
const Layer_Property_TypeID = 0x92f4b81bcfdb71b0
Layer_Property_TypeID is the unique identifier for the type Layer_Property.
const Layer_TypeID = 0x984640f05b3ada4f
Layer_TypeID is the unique identifier for the type Layer.
const ProfileData_TypeID = 0xdf4bbf1c883a8790
ProfileData_TypeID is the unique identifier for the type ProfileData.
const Profile_TypeID = 0xff67c2a593419c29
Profile_TypeID is the unique identifier for the type Profile.
const Profile_data_Params_TypeID = 0xe704b695746374e2
Profile_data_Params_TypeID is the unique identifier for the type Profile_data_Params.
const Profile_geoLocation_Params_TypeID = 0x8d2a23f8fd1b9151
Profile_geoLocation_Params_TypeID is the unique identifier for the type Profile_geoLocation_Params.
const PropertyName_TypeID = 0x9e391ae1c6cd2567
PropertyName_TypeID is the unique identifier for the type PropertyName.
const Query_Result_TypeID = 0xbf4e1b07ad88943f
Query_Result_TypeID is the unique identifier for the type Query_Result.
const Query_TypeID = 0xbd4065087e22ca0d
Query_TypeID is the unique identifier for the type Query.
const SType_TypeID = 0xc2e4a3c8ff61b40a
SType_TypeID is the unique identifier for the type SType.
const Service_Stream_TypeID = 0xf4f8ab568ffbc939
Service_Stream_TypeID is the unique identifier for the type Service_Stream.
const Service_Stream_nextProfiles_Params_TypeID = 0x81da248df613bc05
Service_Stream_nextProfiles_Params_TypeID is the unique identifier for the type Service_Stream_nextProfiles_Params.
const Service_Stream_nextProfiles_Results_TypeID = 0x9f7ae4c2748bddf8
Service_Stream_nextProfiles_Results_TypeID is the unique identifier for the type Service_Stream_nextProfiles_Results.
const Service_TypeID = 0xa09aa71427dc64e1
Service_TypeID is the unique identifier for the type Service.
const Service_closestProfilesAt_Params_TypeID = 0xdb97e739bf9693c1
Service_closestProfilesAt_Params_TypeID is the unique identifier for the type Service_closestProfilesAt_Params.
const Service_closestProfilesAt_Results_TypeID = 0xa0915e668c9317ad
Service_closestProfilesAt_Results_TypeID is the unique identifier for the type Service_closestProfilesAt_Results.
const Service_getAllAvailableParameters_Params_TypeID = 0x8dec5fd8eb3e7c27
Service_getAllAvailableParameters_Params_TypeID is the unique identifier for the type Service_getAllAvailableParameters_Params.
const Service_getAllAvailableParameters_Results_TypeID = 0x98a2bf8e6ad97ee3
Service_getAllAvailableParameters_Results_TypeID is the unique identifier for the type Service_getAllAvailableParameters_Results.
const Service_streamAllProfiles_Results_TypeID = 0xd1a74147c92b7957
Service_streamAllProfiles_Results_TypeID is the unique identifier for the type Service_streamAllProfiles_Results.
Variables ¶
This section is empty.
Functions ¶
func Profile_Methods ¶
func Profile_Methods(methods []server.Method, s Profile_Server) []server.Method
Profile_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Profile_NewServer ¶
func Profile_NewServer(s Profile_Server) *server.Server
Profile_NewServer creates a new Server from an implementation of Profile_Server.
func RegisterSchema ¶
func Service_Methods ¶
func Service_Methods(methods []server.Method, s Service_Server) []server.Method
Service_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Service_NewServer ¶
func Service_NewServer(s Service_Server) *server.Server
Service_NewServer creates a new Server from an implementation of Service_Server.
func Service_Stream_Methods ¶
func Service_Stream_Methods(methods []server.Method, s Service_Stream_Server) []server.Method
Service_Stream_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Service_Stream_NewServer ¶
func Service_Stream_NewServer(s Service_Stream_Server) *server.Server
Service_Stream_NewServer creates a new Server from an implementation of Service_Stream_Server.
Types ¶
type Layer ¶
func (Layer) Description ¶
func (Layer) DescriptionBytes ¶
func (Layer) HasDescription ¶
func (Layer) HasProperties ¶
func (Layer) NewProperties ¶
func (s Layer) NewProperties(n int32) (Layer_Property_List, error)
NewProperties sets the properties field to a newly allocated Layer_Property_List, preferring placement in s's segment.
func (Layer) Properties ¶
func (s Layer) Properties() (Layer_Property_List, error)
func (Layer) SetDescription ¶
func (Layer) SetProperties ¶
func (s Layer) SetProperties(v Layer_Property_List) error
type Layer_Future ¶
Layer_Future is a wrapper for a Layer promised by a client call.
func (Layer_Future) Struct ¶
func (f Layer_Future) Struct() (Layer, error)
type Layer_List ¶
type Layer_List = capnp.StructList[Layer]
Layer_List is a list of Layer.
func NewLayer_List ¶
func NewLayer_List(s *capnp.Segment, sz int32) (Layer_List, error)
NewLayer creates a new list of Layer.
type Layer_Property ¶
func NewLayer_Property ¶
func NewLayer_Property(s *capnp.Segment) (Layer_Property, error)
func NewRootLayer_Property ¶
func NewRootLayer_Property(s *capnp.Segment) (Layer_Property, error)
func ReadRootLayer_Property ¶
func ReadRootLayer_Property(msg *capnp.Message) (Layer_Property, error)
func (Layer_Property) BValue ¶
func (s Layer_Property) BValue() bool
func (Layer_Property) DecodeFromPtr ¶
func (Layer_Property) DecodeFromPtr(p capnp.Ptr) Layer_Property
func (Layer_Property) EncodeAsPtr ¶
func (s Layer_Property) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Layer_Property) F32Value ¶
func (s Layer_Property) F32Value() float32
func (Layer_Property) HasType ¶
func (s Layer_Property) HasType() bool
func (Layer_Property) IsValid ¶
func (s Layer_Property) IsValid() bool
func (Layer_Property) Message ¶
func (s Layer_Property) Message() *capnp.Message
func (Layer_Property) Name ¶
func (s Layer_Property) Name() PropertyName
func (Layer_Property) Segment ¶
func (s Layer_Property) Segment() *capnp.Segment
func (Layer_Property) SetBValue ¶
func (s Layer_Property) SetBValue(v bool)
func (Layer_Property) SetF32Value ¶
func (s Layer_Property) SetF32Value(v float32)
func (Layer_Property) SetName ¶
func (s Layer_Property) SetName(v PropertyName)
func (Layer_Property) SetType ¶
func (s Layer_Property) SetType(v string) error
func (Layer_Property) SetUnset ¶
func (s Layer_Property) SetUnset()
func (Layer_Property) String ¶
func (s Layer_Property) String() string
func (Layer_Property) ToPtr ¶
func (s Layer_Property) ToPtr() capnp.Ptr
func (Layer_Property) Type ¶
func (s Layer_Property) Type() (string, error)
func (Layer_Property) TypeBytes ¶
func (s Layer_Property) TypeBytes() ([]byte, error)
func (Layer_Property) Which ¶
func (s Layer_Property) Which() Layer_Property_Which
type Layer_Property_Future ¶
Layer_Property_Future is a wrapper for a Layer_Property promised by a client call.
func (Layer_Property_Future) Struct ¶
func (f Layer_Property_Future) Struct() (Layer_Property, error)
type Layer_Property_List ¶
type Layer_Property_List = capnp.StructList[Layer_Property]
Layer_Property_List is a list of Layer_Property.
func NewLayer_Property_List ¶
func NewLayer_Property_List(s *capnp.Segment, sz int32) (Layer_Property_List, error)
NewLayer_Property creates a new list of Layer_Property.
type Layer_Property_Which ¶
type Layer_Property_Which uint16
const ( Layer_Property_Which_f32Value Layer_Property_Which = 0 Layer_Property_Which_bValue Layer_Property_Which = 1 Layer_Property_Which_type Layer_Property_Which = 2 Layer_Property_Which_unset Layer_Property_Which = 3 )
func (Layer_Property_Which) String ¶
func (w Layer_Property_Which) String() string
type Profile ¶
func Profile_ServerToClient ¶
func Profile_ServerToClient(s Profile_Server) Profile
Profile_ServerToClient creates a new Client from an implementation of Profile_Server. The caller is responsible for calling Release on the returned Client.
func (Profile) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Profile) Data ¶
func (c Profile) Data(ctx context.Context, params func(Profile_data_Params) error) (ProfileData_Future, capnp.ReleaseFunc)
func (Profile) GeoLocation ¶
func (c Profile) GeoLocation(ctx context.Context, params func(Profile_geoLocation_Params) error) (geo.LatLonCoord_Future, capnp.ReleaseFunc)
func (Profile) GetFlowLimiter ¶
func (c Profile) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Profile) Info ¶
func (c Profile) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Profile) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Profile) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Profile) Release ¶
func (c Profile) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Profile) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Profile) Save ¶
func (c Profile) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
func (Profile) SetFlowLimiter ¶
func (c Profile) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Profile) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Profile) WaitStreaming ¶
type ProfileData ¶
func NewProfileData ¶
func NewProfileData(s *capnp.Segment) (ProfileData, error)
func NewRootProfileData ¶
func NewRootProfileData(s *capnp.Segment) (ProfileData, error)
func ReadRootProfileData ¶
func ReadRootProfileData(msg *capnp.Message) (ProfileData, error)
func (ProfileData) DecodeFromPtr ¶
func (ProfileData) DecodeFromPtr(p capnp.Ptr) ProfileData
func (ProfileData) EncodeAsPtr ¶
func (s ProfileData) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ProfileData) HasLayers ¶
func (s ProfileData) HasLayers() bool
func (ProfileData) IsValid ¶
func (s ProfileData) IsValid() bool
func (ProfileData) Layers ¶
func (s ProfileData) Layers() (Layer_List, error)
func (ProfileData) Message ¶
func (s ProfileData) Message() *capnp.Message
func (ProfileData) NewLayers ¶
func (s ProfileData) NewLayers(n int32) (Layer_List, error)
NewLayers sets the layers field to a newly allocated Layer_List, preferring placement in s's segment.
func (ProfileData) PercentageOfArea ¶
func (s ProfileData) PercentageOfArea() float32
func (ProfileData) Segment ¶
func (s ProfileData) Segment() *capnp.Segment
func (ProfileData) SetLayers ¶
func (s ProfileData) SetLayers(v Layer_List) error
func (ProfileData) SetPercentageOfArea ¶
func (s ProfileData) SetPercentageOfArea(v float32)
func (ProfileData) String ¶
func (s ProfileData) String() string
func (ProfileData) ToPtr ¶
func (s ProfileData) ToPtr() capnp.Ptr
type ProfileData_Future ¶
ProfileData_Future is a wrapper for a ProfileData promised by a client call.
func (ProfileData_Future) Struct ¶
func (f ProfileData_Future) Struct() (ProfileData, error)
type ProfileData_List ¶
type ProfileData_List = capnp.StructList[ProfileData]
ProfileData_List is a list of ProfileData.
func NewProfileData_List ¶
func NewProfileData_List(s *capnp.Segment, sz int32) (ProfileData_List, error)
NewProfileData creates a new list of ProfileData.
type Profile_List ¶
Profile_List is a list of Profile.
func NewProfile_List ¶
func NewProfile_List(s *capnp.Segment, sz int32) (Profile_List, error)
NewProfile creates a new list of Profile.
type Profile_Server ¶
type Profile_Server interface { Data(context.Context, Profile_data) error GeoLocation(context.Context, Profile_geoLocation) error Info(context.Context, common.Identifiable_info) error Save(context.Context, persistence.Persistent_save) error }
A Profile_Server is a Profile with a local implementation.
type Profile_data ¶
Profile_data holds the state for a server call to Profile.data. See server.Call for documentation.
func (Profile_data) AllocResults ¶
func (c Profile_data) AllocResults() (ProfileData, error)
AllocResults allocates the results struct.
func (Profile_data) Args ¶
func (c Profile_data) Args() Profile_data_Params
Args returns the call's arguments.
type Profile_data_Params ¶
func NewProfile_data_Params ¶
func NewProfile_data_Params(s *capnp.Segment) (Profile_data_Params, error)
func NewRootProfile_data_Params ¶
func NewRootProfile_data_Params(s *capnp.Segment) (Profile_data_Params, error)
func ReadRootProfile_data_Params ¶
func ReadRootProfile_data_Params(msg *capnp.Message) (Profile_data_Params, error)
func (Profile_data_Params) DecodeFromPtr ¶
func (Profile_data_Params) DecodeFromPtr(p capnp.Ptr) Profile_data_Params
func (Profile_data_Params) EncodeAsPtr ¶
func (s Profile_data_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Profile_data_Params) IsValid ¶
func (s Profile_data_Params) IsValid() bool
func (Profile_data_Params) Message ¶
func (s Profile_data_Params) Message() *capnp.Message
func (Profile_data_Params) Segment ¶
func (s Profile_data_Params) Segment() *capnp.Segment
func (Profile_data_Params) String ¶
func (s Profile_data_Params) String() string
func (Profile_data_Params) ToPtr ¶
func (s Profile_data_Params) ToPtr() capnp.Ptr
type Profile_data_Params_Future ¶
Profile_data_Params_Future is a wrapper for a Profile_data_Params promised by a client call.
func (Profile_data_Params_Future) Struct ¶
func (f Profile_data_Params_Future) Struct() (Profile_data_Params, error)
type Profile_data_Params_List ¶
type Profile_data_Params_List = capnp.StructList[Profile_data_Params]
Profile_data_Params_List is a list of Profile_data_Params.
func NewProfile_data_Params_List ¶
func NewProfile_data_Params_List(s *capnp.Segment, sz int32) (Profile_data_Params_List, error)
NewProfile_data_Params creates a new list of Profile_data_Params.
type Profile_geoLocation ¶
Profile_geoLocation holds the state for a server call to Profile.geoLocation. See server.Call for documentation.
func (Profile_geoLocation) AllocResults ¶
func (c Profile_geoLocation) AllocResults() (geo.LatLonCoord, error)
AllocResults allocates the results struct.
func (Profile_geoLocation) Args ¶
func (c Profile_geoLocation) Args() Profile_geoLocation_Params
Args returns the call's arguments.
type Profile_geoLocation_Params ¶
func NewProfile_geoLocation_Params ¶
func NewProfile_geoLocation_Params(s *capnp.Segment) (Profile_geoLocation_Params, error)
func NewRootProfile_geoLocation_Params ¶
func NewRootProfile_geoLocation_Params(s *capnp.Segment) (Profile_geoLocation_Params, error)
func ReadRootProfile_geoLocation_Params ¶
func ReadRootProfile_geoLocation_Params(msg *capnp.Message) (Profile_geoLocation_Params, error)
func (Profile_geoLocation_Params) DecodeFromPtr ¶
func (Profile_geoLocation_Params) DecodeFromPtr(p capnp.Ptr) Profile_geoLocation_Params
func (Profile_geoLocation_Params) EncodeAsPtr ¶
func (s Profile_geoLocation_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Profile_geoLocation_Params) IsValid ¶
func (s Profile_geoLocation_Params) IsValid() bool
func (Profile_geoLocation_Params) Message ¶
func (s Profile_geoLocation_Params) Message() *capnp.Message
func (Profile_geoLocation_Params) Segment ¶
func (s Profile_geoLocation_Params) Segment() *capnp.Segment
func (Profile_geoLocation_Params) String ¶
func (s Profile_geoLocation_Params) String() string
func (Profile_geoLocation_Params) ToPtr ¶
func (s Profile_geoLocation_Params) ToPtr() capnp.Ptr
type Profile_geoLocation_Params_Future ¶
Profile_geoLocation_Params_Future is a wrapper for a Profile_geoLocation_Params promised by a client call.
func (Profile_geoLocation_Params_Future) Struct ¶
func (f Profile_geoLocation_Params_Future) Struct() (Profile_geoLocation_Params, error)
type Profile_geoLocation_Params_List ¶
type Profile_geoLocation_Params_List = capnp.StructList[Profile_geoLocation_Params]
Profile_geoLocation_Params_List is a list of Profile_geoLocation_Params.
func NewProfile_geoLocation_Params_List ¶
func NewProfile_geoLocation_Params_List(s *capnp.Segment, sz int32) (Profile_geoLocation_Params_List, error)
NewProfile_geoLocation_Params creates a new list of Profile_geoLocation_Params.
type PropertyName ¶
type PropertyName uint16
const ( PropertyName_soilType PropertyName = 0 PropertyName_sand PropertyName = 1 PropertyName_clay PropertyName = 2 PropertyName_silt PropertyName = 3 PropertyName_pH PropertyName = 4 PropertyName_sceleton PropertyName = 5 PropertyName_organicCarbon PropertyName = 6 PropertyName_organicMatter PropertyName = 7 PropertyName_bulkDensity PropertyName = 8 PropertyName_rawDensity PropertyName = 9 PropertyName_fieldCapacity PropertyName = 10 PropertyName_permanentWiltingPoint PropertyName = 11 PropertyName_saturation PropertyName = 12 PropertyName_soilMoisture PropertyName = 13 PropertyName_soilWaterConductivityCoefficient PropertyName = 14 PropertyName_ammonium PropertyName = 15 PropertyName_nitrate PropertyName = 16 PropertyName_cnRatio PropertyName = 17 PropertyName_inGroundwater PropertyName = 18 PropertyName_impenetrable PropertyName = 19 )
Values of PropertyName.
func PropertyNameFromString ¶
func PropertyNameFromString(c string) PropertyName
PropertyNameFromString returns the enum value with a name, or the zero value if there's no such value.
func (PropertyName) String ¶
func (c PropertyName) String() string
String returns the enum's constant name.
type PropertyName_List ¶
type PropertyName_List = capnp.EnumList[PropertyName]
func NewPropertyName_List ¶
func NewPropertyName_List(s *capnp.Segment, sz int32) (PropertyName_List, error)
type Query ¶
func (Query) HasMandatory ¶
func (Query) HasOptional ¶
func (Query) Mandatory ¶
func (s Query) Mandatory() (PropertyName_List, error)
func (Query) NewMandatory ¶
func (s Query) NewMandatory(n int32) (PropertyName_List, error)
NewMandatory sets the mandatory field to a newly allocated PropertyName_List, preferring placement in s's segment.
func (Query) NewOptional ¶
func (s Query) NewOptional(n int32) (PropertyName_List, error)
NewOptional sets the optional field to a newly allocated PropertyName_List, preferring placement in s's segment.
func (Query) OnlyRawData ¶
func (Query) Optional ¶
func (s Query) Optional() (PropertyName_List, error)
func (Query) SetMandatory ¶
func (s Query) SetMandatory(v PropertyName_List) error
func (Query) SetOnlyRawData ¶
func (Query) SetOptional ¶
func (s Query) SetOptional(v PropertyName_List) error
type Query_Future ¶
Query_Future is a wrapper for a Query promised by a client call.
func (Query_Future) Struct ¶
func (f Query_Future) Struct() (Query, error)
type Query_List ¶
type Query_List = capnp.StructList[Query]
Query_List is a list of Query.
func NewQuery_List ¶
func NewQuery_List(s *capnp.Segment, sz int32) (Query_List, error)
NewQuery creates a new list of Query.
type Query_Result ¶
func NewQuery_Result ¶
func NewQuery_Result(s *capnp.Segment) (Query_Result, error)
func NewRootQuery_Result ¶
func NewRootQuery_Result(s *capnp.Segment) (Query_Result, error)
func ReadRootQuery_Result ¶
func ReadRootQuery_Result(msg *capnp.Message) (Query_Result, error)
func (Query_Result) DecodeFromPtr ¶
func (Query_Result) DecodeFromPtr(p capnp.Ptr) Query_Result
func (Query_Result) EncodeAsPtr ¶
func (s Query_Result) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Query_Result) Failed ¶
func (s Query_Result) Failed() bool
func (Query_Result) HasMandatory ¶
func (s Query_Result) HasMandatory() bool
func (Query_Result) HasOptional ¶
func (s Query_Result) HasOptional() bool
func (Query_Result) IsValid ¶
func (s Query_Result) IsValid() bool
func (Query_Result) Mandatory ¶
func (s Query_Result) Mandatory() (PropertyName_List, error)
func (Query_Result) Message ¶
func (s Query_Result) Message() *capnp.Message
func (Query_Result) NewMandatory ¶
func (s Query_Result) NewMandatory(n int32) (PropertyName_List, error)
NewMandatory sets the mandatory field to a newly allocated PropertyName_List, preferring placement in s's segment.
func (Query_Result) NewOptional ¶
func (s Query_Result) NewOptional(n int32) (PropertyName_List, error)
NewOptional sets the optional field to a newly allocated PropertyName_List, preferring placement in s's segment.
func (Query_Result) Optional ¶
func (s Query_Result) Optional() (PropertyName_List, error)
func (Query_Result) Segment ¶
func (s Query_Result) Segment() *capnp.Segment
func (Query_Result) SetFailed ¶
func (s Query_Result) SetFailed(v bool)
func (Query_Result) SetMandatory ¶
func (s Query_Result) SetMandatory(v PropertyName_List) error
func (Query_Result) SetOptional ¶
func (s Query_Result) SetOptional(v PropertyName_List) error
func (Query_Result) String ¶
func (s Query_Result) String() string
func (Query_Result) ToPtr ¶
func (s Query_Result) ToPtr() capnp.Ptr
type Query_Result_Future ¶
Query_Result_Future is a wrapper for a Query_Result promised by a client call.
func (Query_Result_Future) Struct ¶
func (f Query_Result_Future) Struct() (Query_Result, error)
type Query_Result_List ¶
type Query_Result_List = capnp.StructList[Query_Result]
Query_Result_List is a list of Query_Result.
func NewQuery_Result_List ¶
func NewQuery_Result_List(s *capnp.Segment, sz int32) (Query_Result_List, error)
NewQuery_Result creates a new list of Query_Result.
type SType ¶
type SType uint16
func STypeFromString ¶
STypeFromString returns the enum value with a name, or the zero value if there's no such value.
type SType_List ¶
func NewSType_List ¶
func NewSType_List(s *capnp.Segment, sz int32) (SType_List, error)
type Service ¶
func Service_ServerToClient ¶
func Service_ServerToClient(s Service_Server) Service
Service_ServerToClient creates a new Client from an implementation of Service_Server. The caller is responsible for calling Release on the returned Client.
func (Service) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Service) CheckAvailableParameters ¶
func (c Service) CheckAvailableParameters(ctx context.Context, params func(Query) error) (Query_Result_Future, capnp.ReleaseFunc)
func (Service) ClosestProfilesAt ¶
func (c Service) ClosestProfilesAt(ctx context.Context, params func(Service_closestProfilesAt_Params) error) (Service_closestProfilesAt_Results_Future, capnp.ReleaseFunc)
func (Service) GetAllAvailableParameters ¶
func (c Service) GetAllAvailableParameters(ctx context.Context, params func(Service_getAllAvailableParameters_Params) error) (Service_getAllAvailableParameters_Results_Future, capnp.ReleaseFunc)
func (Service) GetFlowLimiter ¶
func (c Service) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Service) Info ¶
func (c Service) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Service) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Service) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Service) Release ¶
func (c Service) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Service) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Service) Save ¶
func (c Service) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
func (Service) SetFlowLimiter ¶
func (c Service) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Service) StreamAllProfiles ¶
func (c Service) StreamAllProfiles(ctx context.Context, params func(Query) error) (Service_streamAllProfiles_Results_Future, capnp.ReleaseFunc)
func (Service) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Service) WaitStreaming ¶
type Service_List ¶
Service_List is a list of Service.
func NewService_List ¶
func NewService_List(s *capnp.Segment, sz int32) (Service_List, error)
NewService creates a new list of Service.
type Service_Server ¶
type Service_Server interface { CheckAvailableParameters(context.Context, Service_checkAvailableParameters) error GetAllAvailableParameters(context.Context, Service_getAllAvailableParameters) error ClosestProfilesAt(context.Context, Service_closestProfilesAt) error StreamAllProfiles(context.Context, Service_streamAllProfiles) error Info(context.Context, common.Identifiable_info) error Save(context.Context, persistence.Persistent_save) error }
A Service_Server is a Service with a local implementation.
type Service_Stream ¶
func Service_Stream_ServerToClient ¶
func Service_Stream_ServerToClient(s Service_Stream_Server) Service_Stream
Service_Stream_ServerToClient creates a new Client from an implementation of Service_Stream_Server. The caller is responsible for calling Release on the returned Client.
func (Service_Stream) AddRef ¶
func (c Service_Stream) AddRef() Service_Stream
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Service_Stream) DecodeFromPtr ¶
func (Service_Stream) DecodeFromPtr(p capnp.Ptr) Service_Stream
func (Service_Stream) EncodeAsPtr ¶
func (c Service_Stream) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_Stream) GetFlowLimiter ¶
func (c Service_Stream) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Service_Stream) IsSame ¶
func (c Service_Stream) IsSame(other Service_Stream) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Service_Stream) IsValid ¶
func (c Service_Stream) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Service_Stream) NextProfiles ¶
func (c Service_Stream) NextProfiles(ctx context.Context, params func(Service_Stream_nextProfiles_Params) error) (Service_Stream_nextProfiles_Results_Future, capnp.ReleaseFunc)
func (Service_Stream) Release ¶
func (c Service_Stream) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Service_Stream) Resolve ¶
func (c Service_Stream) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Service_Stream) SetFlowLimiter ¶
func (c Service_Stream) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Service_Stream) String ¶
func (c Service_Stream) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Service_Stream) WaitStreaming ¶
func (c Service_Stream) WaitStreaming() error
type Service_Stream_List ¶
type Service_Stream_List = capnp.CapList[Service_Stream]
Service_Stream_List is a list of Service_Stream.
func NewService_Stream_List ¶
func NewService_Stream_List(s *capnp.Segment, sz int32) (Service_Stream_List, error)
NewService_Stream creates a new list of Service_Stream.
type Service_Stream_Server ¶
type Service_Stream_Server interface {
NextProfiles(context.Context, Service_Stream_nextProfiles) error
}
A Service_Stream_Server is a Service_Stream with a local implementation.
type Service_Stream_nextProfiles ¶
Service_Stream_nextProfiles holds the state for a server call to Service_Stream.nextProfiles. See server.Call for documentation.
func (Service_Stream_nextProfiles) AllocResults ¶
func (c Service_Stream_nextProfiles) AllocResults() (Service_Stream_nextProfiles_Results, error)
AllocResults allocates the results struct.
func (Service_Stream_nextProfiles) Args ¶
func (c Service_Stream_nextProfiles) Args() Service_Stream_nextProfiles_Params
Args returns the call's arguments.
type Service_Stream_nextProfiles_Params ¶
func NewRootService_Stream_nextProfiles_Params ¶
func NewRootService_Stream_nextProfiles_Params(s *capnp.Segment) (Service_Stream_nextProfiles_Params, error)
func NewService_Stream_nextProfiles_Params ¶
func NewService_Stream_nextProfiles_Params(s *capnp.Segment) (Service_Stream_nextProfiles_Params, error)
func ReadRootService_Stream_nextProfiles_Params ¶
func ReadRootService_Stream_nextProfiles_Params(msg *capnp.Message) (Service_Stream_nextProfiles_Params, error)
func (Service_Stream_nextProfiles_Params) DecodeFromPtr ¶
func (Service_Stream_nextProfiles_Params) DecodeFromPtr(p capnp.Ptr) Service_Stream_nextProfiles_Params
func (Service_Stream_nextProfiles_Params) EncodeAsPtr ¶
func (s Service_Stream_nextProfiles_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_Stream_nextProfiles_Params) IsValid ¶
func (s Service_Stream_nextProfiles_Params) IsValid() bool
func (Service_Stream_nextProfiles_Params) MaxCount ¶
func (s Service_Stream_nextProfiles_Params) MaxCount() int64
func (Service_Stream_nextProfiles_Params) Message ¶
func (s Service_Stream_nextProfiles_Params) Message() *capnp.Message
func (Service_Stream_nextProfiles_Params) Segment ¶
func (s Service_Stream_nextProfiles_Params) Segment() *capnp.Segment
func (Service_Stream_nextProfiles_Params) SetMaxCount ¶
func (s Service_Stream_nextProfiles_Params) SetMaxCount(v int64)
func (Service_Stream_nextProfiles_Params) String ¶
func (s Service_Stream_nextProfiles_Params) String() string
func (Service_Stream_nextProfiles_Params) ToPtr ¶
func (s Service_Stream_nextProfiles_Params) ToPtr() capnp.Ptr
type Service_Stream_nextProfiles_Params_Future ¶
Service_Stream_nextProfiles_Params_Future is a wrapper for a Service_Stream_nextProfiles_Params promised by a client call.
func (Service_Stream_nextProfiles_Params_Future) Struct ¶
func (f Service_Stream_nextProfiles_Params_Future) Struct() (Service_Stream_nextProfiles_Params, error)
type Service_Stream_nextProfiles_Params_List ¶
type Service_Stream_nextProfiles_Params_List = capnp.StructList[Service_Stream_nextProfiles_Params]
Service_Stream_nextProfiles_Params_List is a list of Service_Stream_nextProfiles_Params.
func NewService_Stream_nextProfiles_Params_List ¶
func NewService_Stream_nextProfiles_Params_List(s *capnp.Segment, sz int32) (Service_Stream_nextProfiles_Params_List, error)
NewService_Stream_nextProfiles_Params creates a new list of Service_Stream_nextProfiles_Params.
type Service_Stream_nextProfiles_Results ¶
func NewRootService_Stream_nextProfiles_Results ¶
func NewRootService_Stream_nextProfiles_Results(s *capnp.Segment) (Service_Stream_nextProfiles_Results, error)
func NewService_Stream_nextProfiles_Results ¶
func NewService_Stream_nextProfiles_Results(s *capnp.Segment) (Service_Stream_nextProfiles_Results, error)
func ReadRootService_Stream_nextProfiles_Results ¶
func ReadRootService_Stream_nextProfiles_Results(msg *capnp.Message) (Service_Stream_nextProfiles_Results, error)
func (Service_Stream_nextProfiles_Results) DecodeFromPtr ¶
func (Service_Stream_nextProfiles_Results) DecodeFromPtr(p capnp.Ptr) Service_Stream_nextProfiles_Results
func (Service_Stream_nextProfiles_Results) EncodeAsPtr ¶
func (s Service_Stream_nextProfiles_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_Stream_nextProfiles_Results) HasProfiles ¶
func (s Service_Stream_nextProfiles_Results) HasProfiles() bool
func (Service_Stream_nextProfiles_Results) IsValid ¶
func (s Service_Stream_nextProfiles_Results) IsValid() bool
func (Service_Stream_nextProfiles_Results) Message ¶
func (s Service_Stream_nextProfiles_Results) Message() *capnp.Message
func (Service_Stream_nextProfiles_Results) NewProfiles ¶
func (s Service_Stream_nextProfiles_Results) NewProfiles(n int32) (Profile_List, error)
NewProfiles sets the profiles field to a newly allocated Profile_List, preferring placement in s's segment.
func (Service_Stream_nextProfiles_Results) Profiles ¶
func (s Service_Stream_nextProfiles_Results) Profiles() (Profile_List, error)
func (Service_Stream_nextProfiles_Results) Segment ¶
func (s Service_Stream_nextProfiles_Results) Segment() *capnp.Segment
func (Service_Stream_nextProfiles_Results) SetProfiles ¶
func (s Service_Stream_nextProfiles_Results) SetProfiles(v Profile_List) error
func (Service_Stream_nextProfiles_Results) String ¶
func (s Service_Stream_nextProfiles_Results) String() string
func (Service_Stream_nextProfiles_Results) ToPtr ¶
func (s Service_Stream_nextProfiles_Results) ToPtr() capnp.Ptr
type Service_Stream_nextProfiles_Results_Future ¶
Service_Stream_nextProfiles_Results_Future is a wrapper for a Service_Stream_nextProfiles_Results promised by a client call.
func (Service_Stream_nextProfiles_Results_Future) Struct ¶
func (f Service_Stream_nextProfiles_Results_Future) Struct() (Service_Stream_nextProfiles_Results, error)
type Service_Stream_nextProfiles_Results_List ¶
type Service_Stream_nextProfiles_Results_List = capnp.StructList[Service_Stream_nextProfiles_Results]
Service_Stream_nextProfiles_Results_List is a list of Service_Stream_nextProfiles_Results.
func NewService_Stream_nextProfiles_Results_List ¶
func NewService_Stream_nextProfiles_Results_List(s *capnp.Segment, sz int32) (Service_Stream_nextProfiles_Results_List, error)
NewService_Stream_nextProfiles_Results creates a new list of Service_Stream_nextProfiles_Results.
type Service_checkAvailableParameters ¶
Service_checkAvailableParameters holds the state for a server call to Service.checkAvailableParameters. See server.Call for documentation.
func (Service_checkAvailableParameters) AllocResults ¶
func (c Service_checkAvailableParameters) AllocResults() (Query_Result, error)
AllocResults allocates the results struct.
func (Service_checkAvailableParameters) Args ¶
func (c Service_checkAvailableParameters) Args() Query
Args returns the call's arguments.
type Service_closestProfilesAt ¶
Service_closestProfilesAt holds the state for a server call to Service.closestProfilesAt. See server.Call for documentation.
func (Service_closestProfilesAt) AllocResults ¶
func (c Service_closestProfilesAt) AllocResults() (Service_closestProfilesAt_Results, error)
AllocResults allocates the results struct.
func (Service_closestProfilesAt) Args ¶
func (c Service_closestProfilesAt) Args() Service_closestProfilesAt_Params
Args returns the call's arguments.
type Service_closestProfilesAt_Params ¶
func NewRootService_closestProfilesAt_Params ¶
func NewRootService_closestProfilesAt_Params(s *capnp.Segment) (Service_closestProfilesAt_Params, error)
func NewService_closestProfilesAt_Params ¶
func NewService_closestProfilesAt_Params(s *capnp.Segment) (Service_closestProfilesAt_Params, error)
func ReadRootService_closestProfilesAt_Params ¶
func ReadRootService_closestProfilesAt_Params(msg *capnp.Message) (Service_closestProfilesAt_Params, error)
func (Service_closestProfilesAt_Params) Coord ¶
func (s Service_closestProfilesAt_Params) Coord() (geo.LatLonCoord, error)
func (Service_closestProfilesAt_Params) DecodeFromPtr ¶
func (Service_closestProfilesAt_Params) DecodeFromPtr(p capnp.Ptr) Service_closestProfilesAt_Params
func (Service_closestProfilesAt_Params) EncodeAsPtr ¶
func (s Service_closestProfilesAt_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_closestProfilesAt_Params) HasCoord ¶
func (s Service_closestProfilesAt_Params) HasCoord() bool
func (Service_closestProfilesAt_Params) HasQuery ¶
func (s Service_closestProfilesAt_Params) HasQuery() bool
func (Service_closestProfilesAt_Params) IsValid ¶
func (s Service_closestProfilesAt_Params) IsValid() bool
func (Service_closestProfilesAt_Params) Message ¶
func (s Service_closestProfilesAt_Params) Message() *capnp.Message
func (Service_closestProfilesAt_Params) NewCoord ¶
func (s Service_closestProfilesAt_Params) NewCoord() (geo.LatLonCoord, error)
NewCoord sets the coord field to a newly allocated geo.LatLonCoord struct, preferring placement in s's segment.
func (Service_closestProfilesAt_Params) NewQuery ¶
func (s Service_closestProfilesAt_Params) NewQuery() (Query, error)
NewQuery sets the query field to a newly allocated Query struct, preferring placement in s's segment.
func (Service_closestProfilesAt_Params) Query ¶
func (s Service_closestProfilesAt_Params) Query() (Query, error)
func (Service_closestProfilesAt_Params) Segment ¶
func (s Service_closestProfilesAt_Params) Segment() *capnp.Segment
func (Service_closestProfilesAt_Params) SetCoord ¶
func (s Service_closestProfilesAt_Params) SetCoord(v geo.LatLonCoord) error
func (Service_closestProfilesAt_Params) SetQuery ¶
func (s Service_closestProfilesAt_Params) SetQuery(v Query) error
func (Service_closestProfilesAt_Params) String ¶
func (s Service_closestProfilesAt_Params) String() string
func (Service_closestProfilesAt_Params) ToPtr ¶
func (s Service_closestProfilesAt_Params) ToPtr() capnp.Ptr
type Service_closestProfilesAt_Params_Future ¶
Service_closestProfilesAt_Params_Future is a wrapper for a Service_closestProfilesAt_Params promised by a client call.
func (Service_closestProfilesAt_Params_Future) Coord ¶
func (p Service_closestProfilesAt_Params_Future) Coord() geo.LatLonCoord_Future
func (Service_closestProfilesAt_Params_Future) Query ¶
func (p Service_closestProfilesAt_Params_Future) Query() Query_Future
func (Service_closestProfilesAt_Params_Future) Struct ¶
func (f Service_closestProfilesAt_Params_Future) Struct() (Service_closestProfilesAt_Params, error)
type Service_closestProfilesAt_Params_List ¶
type Service_closestProfilesAt_Params_List = capnp.StructList[Service_closestProfilesAt_Params]
Service_closestProfilesAt_Params_List is a list of Service_closestProfilesAt_Params.
func NewService_closestProfilesAt_Params_List ¶
func NewService_closestProfilesAt_Params_List(s *capnp.Segment, sz int32) (Service_closestProfilesAt_Params_List, error)
NewService_closestProfilesAt_Params creates a new list of Service_closestProfilesAt_Params.
type Service_closestProfilesAt_Results ¶
func NewRootService_closestProfilesAt_Results ¶
func NewRootService_closestProfilesAt_Results(s *capnp.Segment) (Service_closestProfilesAt_Results, error)
func NewService_closestProfilesAt_Results ¶
func NewService_closestProfilesAt_Results(s *capnp.Segment) (Service_closestProfilesAt_Results, error)
func ReadRootService_closestProfilesAt_Results ¶
func ReadRootService_closestProfilesAt_Results(msg *capnp.Message) (Service_closestProfilesAt_Results, error)
func (Service_closestProfilesAt_Results) DecodeFromPtr ¶
func (Service_closestProfilesAt_Results) DecodeFromPtr(p capnp.Ptr) Service_closestProfilesAt_Results
func (Service_closestProfilesAt_Results) EncodeAsPtr ¶
func (s Service_closestProfilesAt_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_closestProfilesAt_Results) HasProfiles ¶
func (s Service_closestProfilesAt_Results) HasProfiles() bool
func (Service_closestProfilesAt_Results) IsValid ¶
func (s Service_closestProfilesAt_Results) IsValid() bool
func (Service_closestProfilesAt_Results) Message ¶
func (s Service_closestProfilesAt_Results) Message() *capnp.Message
func (Service_closestProfilesAt_Results) NewProfiles ¶
func (s Service_closestProfilesAt_Results) NewProfiles(n int32) (Profile_List, error)
NewProfiles sets the profiles field to a newly allocated Profile_List, preferring placement in s's segment.
func (Service_closestProfilesAt_Results) Profiles ¶
func (s Service_closestProfilesAt_Results) Profiles() (Profile_List, error)
func (Service_closestProfilesAt_Results) Segment ¶
func (s Service_closestProfilesAt_Results) Segment() *capnp.Segment
func (Service_closestProfilesAt_Results) SetProfiles ¶
func (s Service_closestProfilesAt_Results) SetProfiles(v Profile_List) error
func (Service_closestProfilesAt_Results) String ¶
func (s Service_closestProfilesAt_Results) String() string
func (Service_closestProfilesAt_Results) ToPtr ¶
func (s Service_closestProfilesAt_Results) ToPtr() capnp.Ptr
type Service_closestProfilesAt_Results_Future ¶
Service_closestProfilesAt_Results_Future is a wrapper for a Service_closestProfilesAt_Results promised by a client call.
func (Service_closestProfilesAt_Results_Future) Struct ¶
func (f Service_closestProfilesAt_Results_Future) Struct() (Service_closestProfilesAt_Results, error)
type Service_closestProfilesAt_Results_List ¶
type Service_closestProfilesAt_Results_List = capnp.StructList[Service_closestProfilesAt_Results]
Service_closestProfilesAt_Results_List is a list of Service_closestProfilesAt_Results.
func NewService_closestProfilesAt_Results_List ¶
func NewService_closestProfilesAt_Results_List(s *capnp.Segment, sz int32) (Service_closestProfilesAt_Results_List, error)
NewService_closestProfilesAt_Results creates a new list of Service_closestProfilesAt_Results.
type Service_getAllAvailableParameters ¶
Service_getAllAvailableParameters holds the state for a server call to Service.getAllAvailableParameters. See server.Call for documentation.
func (Service_getAllAvailableParameters) AllocResults ¶
func (c Service_getAllAvailableParameters) AllocResults() (Service_getAllAvailableParameters_Results, error)
AllocResults allocates the results struct.
type Service_getAllAvailableParameters_Params ¶
func NewRootService_getAllAvailableParameters_Params ¶
func NewRootService_getAllAvailableParameters_Params(s *capnp.Segment) (Service_getAllAvailableParameters_Params, error)
func NewService_getAllAvailableParameters_Params ¶
func NewService_getAllAvailableParameters_Params(s *capnp.Segment) (Service_getAllAvailableParameters_Params, error)
func ReadRootService_getAllAvailableParameters_Params ¶
func ReadRootService_getAllAvailableParameters_Params(msg *capnp.Message) (Service_getAllAvailableParameters_Params, error)
func (Service_getAllAvailableParameters_Params) DecodeFromPtr ¶
func (Service_getAllAvailableParameters_Params) DecodeFromPtr(p capnp.Ptr) Service_getAllAvailableParameters_Params
func (Service_getAllAvailableParameters_Params) EncodeAsPtr ¶
func (s Service_getAllAvailableParameters_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_getAllAvailableParameters_Params) IsValid ¶
func (s Service_getAllAvailableParameters_Params) IsValid() bool
func (Service_getAllAvailableParameters_Params) Message ¶
func (s Service_getAllAvailableParameters_Params) Message() *capnp.Message
func (Service_getAllAvailableParameters_Params) OnlyRawData ¶
func (s Service_getAllAvailableParameters_Params) OnlyRawData() bool
func (Service_getAllAvailableParameters_Params) Segment ¶
func (s Service_getAllAvailableParameters_Params) Segment() *capnp.Segment
func (Service_getAllAvailableParameters_Params) SetOnlyRawData ¶
func (s Service_getAllAvailableParameters_Params) SetOnlyRawData(v bool)
func (Service_getAllAvailableParameters_Params) String ¶
func (s Service_getAllAvailableParameters_Params) String() string
func (Service_getAllAvailableParameters_Params) ToPtr ¶
func (s Service_getAllAvailableParameters_Params) ToPtr() capnp.Ptr
type Service_getAllAvailableParameters_Params_Future ¶
Service_getAllAvailableParameters_Params_Future is a wrapper for a Service_getAllAvailableParameters_Params promised by a client call.
func (Service_getAllAvailableParameters_Params_Future) Struct ¶
func (f Service_getAllAvailableParameters_Params_Future) Struct() (Service_getAllAvailableParameters_Params, error)
type Service_getAllAvailableParameters_Params_List ¶
type Service_getAllAvailableParameters_Params_List = capnp.StructList[Service_getAllAvailableParameters_Params]
Service_getAllAvailableParameters_Params_List is a list of Service_getAllAvailableParameters_Params.
func NewService_getAllAvailableParameters_Params_List ¶
func NewService_getAllAvailableParameters_Params_List(s *capnp.Segment, sz int32) (Service_getAllAvailableParameters_Params_List, error)
NewService_getAllAvailableParameters_Params creates a new list of Service_getAllAvailableParameters_Params.
type Service_getAllAvailableParameters_Results ¶
func NewRootService_getAllAvailableParameters_Results ¶
func NewRootService_getAllAvailableParameters_Results(s *capnp.Segment) (Service_getAllAvailableParameters_Results, error)
func NewService_getAllAvailableParameters_Results ¶
func NewService_getAllAvailableParameters_Results(s *capnp.Segment) (Service_getAllAvailableParameters_Results, error)
func ReadRootService_getAllAvailableParameters_Results ¶
func ReadRootService_getAllAvailableParameters_Results(msg *capnp.Message) (Service_getAllAvailableParameters_Results, error)
func (Service_getAllAvailableParameters_Results) DecodeFromPtr ¶
func (Service_getAllAvailableParameters_Results) DecodeFromPtr(p capnp.Ptr) Service_getAllAvailableParameters_Results
func (Service_getAllAvailableParameters_Results) EncodeAsPtr ¶
func (s Service_getAllAvailableParameters_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_getAllAvailableParameters_Results) HasMandatory ¶
func (s Service_getAllAvailableParameters_Results) HasMandatory() bool
func (Service_getAllAvailableParameters_Results) HasOptional ¶
func (s Service_getAllAvailableParameters_Results) HasOptional() bool
func (Service_getAllAvailableParameters_Results) IsValid ¶
func (s Service_getAllAvailableParameters_Results) IsValid() bool
func (Service_getAllAvailableParameters_Results) Mandatory ¶
func (s Service_getAllAvailableParameters_Results) Mandatory() (PropertyName_List, error)
func (Service_getAllAvailableParameters_Results) Message ¶
func (s Service_getAllAvailableParameters_Results) Message() *capnp.Message
func (Service_getAllAvailableParameters_Results) NewMandatory ¶
func (s Service_getAllAvailableParameters_Results) NewMandatory(n int32) (PropertyName_List, error)
NewMandatory sets the mandatory field to a newly allocated PropertyName_List, preferring placement in s's segment.
func (Service_getAllAvailableParameters_Results) NewOptional ¶
func (s Service_getAllAvailableParameters_Results) NewOptional(n int32) (PropertyName_List, error)
NewOptional sets the optional field to a newly allocated PropertyName_List, preferring placement in s's segment.
func (Service_getAllAvailableParameters_Results) Optional ¶
func (s Service_getAllAvailableParameters_Results) Optional() (PropertyName_List, error)
func (Service_getAllAvailableParameters_Results) Segment ¶
func (s Service_getAllAvailableParameters_Results) Segment() *capnp.Segment
func (Service_getAllAvailableParameters_Results) SetMandatory ¶
func (s Service_getAllAvailableParameters_Results) SetMandatory(v PropertyName_List) error
func (Service_getAllAvailableParameters_Results) SetOptional ¶
func (s Service_getAllAvailableParameters_Results) SetOptional(v PropertyName_List) error
func (Service_getAllAvailableParameters_Results) String ¶
func (s Service_getAllAvailableParameters_Results) String() string
func (Service_getAllAvailableParameters_Results) ToPtr ¶
func (s Service_getAllAvailableParameters_Results) ToPtr() capnp.Ptr
type Service_getAllAvailableParameters_Results_Future ¶
Service_getAllAvailableParameters_Results_Future is a wrapper for a Service_getAllAvailableParameters_Results promised by a client call.
type Service_getAllAvailableParameters_Results_List ¶
type Service_getAllAvailableParameters_Results_List = capnp.StructList[Service_getAllAvailableParameters_Results]
Service_getAllAvailableParameters_Results_List is a list of Service_getAllAvailableParameters_Results.
func NewService_getAllAvailableParameters_Results_List ¶
func NewService_getAllAvailableParameters_Results_List(s *capnp.Segment, sz int32) (Service_getAllAvailableParameters_Results_List, error)
NewService_getAllAvailableParameters_Results creates a new list of Service_getAllAvailableParameters_Results.
type Service_streamAllProfiles ¶
Service_streamAllProfiles holds the state for a server call to Service.streamAllProfiles. See server.Call for documentation.
func (Service_streamAllProfiles) AllocResults ¶
func (c Service_streamAllProfiles) AllocResults() (Service_streamAllProfiles_Results, error)
AllocResults allocates the results struct.
func (Service_streamAllProfiles) Args ¶
func (c Service_streamAllProfiles) Args() Query
Args returns the call's arguments.
type Service_streamAllProfiles_Results ¶
func NewRootService_streamAllProfiles_Results ¶
func NewRootService_streamAllProfiles_Results(s *capnp.Segment) (Service_streamAllProfiles_Results, error)
func NewService_streamAllProfiles_Results ¶
func NewService_streamAllProfiles_Results(s *capnp.Segment) (Service_streamAllProfiles_Results, error)
func ReadRootService_streamAllProfiles_Results ¶
func ReadRootService_streamAllProfiles_Results(msg *capnp.Message) (Service_streamAllProfiles_Results, error)
func (Service_streamAllProfiles_Results) AllProfiles ¶
func (s Service_streamAllProfiles_Results) AllProfiles() Service_Stream
func (Service_streamAllProfiles_Results) DecodeFromPtr ¶
func (Service_streamAllProfiles_Results) DecodeFromPtr(p capnp.Ptr) Service_streamAllProfiles_Results
func (Service_streamAllProfiles_Results) EncodeAsPtr ¶
func (s Service_streamAllProfiles_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Service_streamAllProfiles_Results) HasAllProfiles ¶
func (s Service_streamAllProfiles_Results) HasAllProfiles() bool
func (Service_streamAllProfiles_Results) IsValid ¶
func (s Service_streamAllProfiles_Results) IsValid() bool
func (Service_streamAllProfiles_Results) Message ¶
func (s Service_streamAllProfiles_Results) Message() *capnp.Message
func (Service_streamAllProfiles_Results) Segment ¶
func (s Service_streamAllProfiles_Results) Segment() *capnp.Segment
func (Service_streamAllProfiles_Results) SetAllProfiles ¶
func (s Service_streamAllProfiles_Results) SetAllProfiles(v Service_Stream) error
func (Service_streamAllProfiles_Results) String ¶
func (s Service_streamAllProfiles_Results) String() string
func (Service_streamAllProfiles_Results) ToPtr ¶
func (s Service_streamAllProfiles_Results) ToPtr() capnp.Ptr
type Service_streamAllProfiles_Results_Future ¶
Service_streamAllProfiles_Results_Future is a wrapper for a Service_streamAllProfiles_Results promised by a client call.
func (Service_streamAllProfiles_Results_Future) AllProfiles ¶
func (p Service_streamAllProfiles_Results_Future) AllProfiles() Service_Stream
func (Service_streamAllProfiles_Results_Future) Struct ¶
func (f Service_streamAllProfiles_Results_Future) Struct() (Service_streamAllProfiles_Results, error)
type Service_streamAllProfiles_Results_List ¶
type Service_streamAllProfiles_Results_List = capnp.StructList[Service_streamAllProfiles_Results]
Service_streamAllProfiles_Results_List is a list of Service_streamAllProfiles_Results.
func NewService_streamAllProfiles_Results_List ¶
func NewService_streamAllProfiles_Results_List(s *capnp.Segment, sz int32) (Service_streamAllProfiles_Results_List, error)
NewService_streamAllProfiles_Results creates a new list of Service_streamAllProfiles_Results.