grain

package
v0.0.0-...-e2e80d8 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

View Source
const AppPersistent_TypeID = 0xaffa789add8747b8

AppPersistent_TypeID is the unique identifier for the type AppPersistent.

View Source
const AppPersistent_save_Params_TypeID = 0xf0136e14d8019d3c

AppPersistent_save_Params_TypeID is the unique identifier for the type AppPersistent_save_Params.

View Source
const AppPersistent_save_Results_TypeID = 0xba36a34b4eeb483f

AppPersistent_save_Results_TypeID is the unique identifier for the type AppPersistent_save_Results.

View Source
const GrainInfo_TypeID = 0xb5fcc0e153671d68

GrainInfo_TypeID is the unique identifier for the type GrainInfo.

View Source
const GrainInfo_User_TypeID = 0x9f07b75928ba4e20

GrainInfo_User_TypeID is the unique identifier for the type GrainInfo_User.

View Source
const MainView_TypeID = 0xc277e9822ae2c8fc

MainView_TypeID is the unique identifier for the type MainView.

View Source
const MainView_drop_Params_TypeID = 0x8c519e0dedc17d73

MainView_drop_Params_TypeID is the unique identifier for the type MainView_drop_Params.

View Source
const MainView_drop_Results_TypeID = 0x9210d9e69d14fa35

MainView_drop_Results_TypeID is the unique identifier for the type MainView_drop_Results.

View Source
const MainView_restore_Params_TypeID = 0x9ad62de07dfc6419

MainView_restore_Params_TypeID is the unique identifier for the type MainView_restore_Params.

View Source
const MainView_restore_Results_TypeID = 0x99efcebf23bbae35

MainView_restore_Results_TypeID is the unique identifier for the type MainView_restore_Results.

View Source
const (
	MinimumSchedulingSlack = uint64(300000000000)
)

Constants defined in grain.capnp.

View Source
const PermissionDef_TypeID = 0xf144a5e58889dafb

PermissionDef_TypeID is the unique identifier for the type PermissionDef.

View Source
const RoleDef_TypeID = 0xcb3f7064eae4dc5a

RoleDef_TypeID is the unique identifier for the type RoleDef.

View Source
const SandstormApi_TypeID = 0xd2654fcf2a7002cb

SandstormApi_TypeID is the unique identifier for the type SandstormApi.

View Source
const SandstormApi_backgroundActivity_Params_TypeID = 0xec8866df56873858

SandstormApi_backgroundActivity_Params_TypeID is the unique identifier for the type SandstormApi_backgroundActivity_Params.

View Source
const SandstormApi_backgroundActivity_Results_TypeID = 0xa535ac09456b2870

SandstormApi_backgroundActivity_Results_TypeID is the unique identifier for the type SandstormApi_backgroundActivity_Results.

View Source
const SandstormApi_deleted_Params_TypeID = 0x87d94955ce3c61dd

SandstormApi_deleted_Params_TypeID is the unique identifier for the type SandstormApi_deleted_Params.

View Source
const SandstormApi_deleted_Results_TypeID = 0xf8fe6b4e94a960f7

SandstormApi_deleted_Results_TypeID is the unique identifier for the type SandstormApi_deleted_Results.

View Source
const SandstormApi_deprecatedPublish_Params_TypeID = 0xa2873a59df6d885c

SandstormApi_deprecatedPublish_Params_TypeID is the unique identifier for the type SandstormApi_deprecatedPublish_Params.

View Source
const SandstormApi_deprecatedPublish_Results_TypeID = 0xb42ccfaaf45a3f7a

SandstormApi_deprecatedPublish_Results_TypeID is the unique identifier for the type SandstormApi_deprecatedPublish_Results.

View Source
const SandstormApi_deprecatedRegisterAction_Params_TypeID = 0xd271034eec62b43b

SandstormApi_deprecatedRegisterAction_Params_TypeID is the unique identifier for the type SandstormApi_deprecatedRegisterAction_Params.

View Source
const SandstormApi_deprecatedRegisterAction_Results_TypeID = 0xb9d62f4beefefc29

SandstormApi_deprecatedRegisterAction_Results_TypeID is the unique identifier for the type SandstormApi_deprecatedRegisterAction_Results.

View Source
const SandstormApi_drop_Params_TypeID = 0xadac227f85285c65

SandstormApi_drop_Params_TypeID is the unique identifier for the type SandstormApi_drop_Params.

View Source
const SandstormApi_drop_Results_TypeID = 0xfbbc20367c72bc59

SandstormApi_drop_Results_TypeID is the unique identifier for the type SandstormApi_drop_Results.

View Source
const SandstormApi_getIdentityId_Params_TypeID = 0xd76b6c6364d6bff5

SandstormApi_getIdentityId_Params_TypeID is the unique identifier for the type SandstormApi_getIdentityId_Params.

View Source
const SandstormApi_getIdentityId_Results_TypeID = 0x8c4a70a31703d35c

SandstormApi_getIdentityId_Results_TypeID is the unique identifier for the type SandstormApi_getIdentityId_Results.

View Source
const SandstormApi_restore_Params_TypeID = 0xd29e9db5843719f0

SandstormApi_restore_Params_TypeID is the unique identifier for the type SandstormApi_restore_Params.

View Source
const SandstormApi_restore_Results_TypeID = 0xecf1f14c4209c731

SandstormApi_restore_Results_TypeID is the unique identifier for the type SandstormApi_restore_Results.

View Source
const SandstormApi_save_Params_TypeID = 0xd692a643ba8a1f58

SandstormApi_save_Params_TypeID is the unique identifier for the type SandstormApi_save_Params.

View Source
const SandstormApi_save_Results_TypeID = 0x9206caa8d3e3cc7e

SandstormApi_save_Results_TypeID is the unique identifier for the type SandstormApi_save_Results.

View Source
const SandstormApi_schedule_Results_TypeID = 0x8dc8d4c06855854e

SandstormApi_schedule_Results_TypeID is the unique identifier for the type SandstormApi_schedule_Results.

View Source
const SandstormApi_shareCap_Params_TypeID = 0xeb3c29aff080ec3e

SandstormApi_shareCap_Params_TypeID is the unique identifier for the type SandstormApi_shareCap_Params.

View Source
const SandstormApi_shareCap_Results_TypeID = 0xb96fc5fb8137a705

SandstormApi_shareCap_Results_TypeID is the unique identifier for the type SandstormApi_shareCap_Results.

View Source
const SandstormApi_shareView_Params_TypeID = 0xb1e3f6ac609eb4d7

SandstormApi_shareView_Params_TypeID is the unique identifier for the type SandstormApi_shareView_Params.

View Source
const SandstormApi_shareView_Results_TypeID = 0xe6abbf843a84f35d

SandstormApi_shareView_Results_TypeID is the unique identifier for the type SandstormApi_shareView_Results.

View Source
const SandstormApi_stayAwake_Params_TypeID = 0xb469e5d523b89e1b

SandstormApi_stayAwake_Params_TypeID is the unique identifier for the type SandstormApi_stayAwake_Params.

View Source
const SandstormApi_stayAwake_Results_TypeID = 0x9fd40f92e1eb5d21

SandstormApi_stayAwake_Results_TypeID is the unique identifier for the type SandstormApi_stayAwake_Results.

View Source
const ScheduledJob_Callback_TypeID = 0xab619ad5a8fb7e11

ScheduledJob_Callback_TypeID is the unique identifier for the type ScheduledJob_Callback.

View Source
const ScheduledJob_Callback_run_Params_TypeID = 0xc0dde7310fa94a2b

ScheduledJob_Callback_run_Params_TypeID is the unique identifier for the type ScheduledJob_Callback_run_Params.

View Source
const ScheduledJob_Callback_run_Results_TypeID = 0x8b89acc0133457cf

ScheduledJob_Callback_run_Results_TypeID is the unique identifier for the type ScheduledJob_Callback_run_Results.

View Source
const ScheduledJob_TypeID = 0xa34f0cfe24c69d74

ScheduledJob_TypeID is the unique identifier for the type ScheduledJob.

View Source
const SchedulingPeriod_TypeID = 0x8478a37e9456409d

SchedulingPeriod_TypeID is the unique identifier for the type SchedulingPeriod.

View Source
const SessionContext_TypeID = 0xbf3e401d5a63f336

SessionContext_TypeID is the unique identifier for the type SessionContext.

View Source
const SessionContext_activity_Params_TypeID = 0x85e320f14a5d23e0

SessionContext_activity_Params_TypeID is the unique identifier for the type SessionContext_activity_Params.

View Source
const SessionContext_activity_Results_TypeID = 0xa93eadc9671ea08b

SessionContext_activity_Results_TypeID is the unique identifier for the type SessionContext_activity_Results.

View Source
const SessionContext_claimRequest_Params_TypeID = 0xda13a4f2919ce2cf

SessionContext_claimRequest_Params_TypeID is the unique identifier for the type SessionContext_claimRequest_Params.

View Source
const SessionContext_claimRequest_Results_TypeID = 0xefea656d4b56b756

SessionContext_claimRequest_Results_TypeID is the unique identifier for the type SessionContext_claimRequest_Results.

View Source
const SessionContext_close_Params_TypeID = 0xf12c60ebc67984d4

SessionContext_close_Params_TypeID is the unique identifier for the type SessionContext_close_Params.

View Source
const SessionContext_close_Results_TypeID = 0x9d4102fadb4f069c

SessionContext_close_Results_TypeID is the unique identifier for the type SessionContext_close_Results.

View Source
const SessionContext_fulfillRequest_Params_TypeID = 0x9f6c36ef490dfd92

SessionContext_fulfillRequest_Params_TypeID is the unique identifier for the type SessionContext_fulfillRequest_Params.

View Source
const SessionContext_fulfillRequest_Results_TypeID = 0xb4ecd69ac97e2de8

SessionContext_fulfillRequest_Results_TypeID is the unique identifier for the type SessionContext_fulfillRequest_Results.

View Source
const SessionContext_getSharedPermissions_Params_TypeID = 0xe96859cf77da6e6b

SessionContext_getSharedPermissions_Params_TypeID is the unique identifier for the type SessionContext_getSharedPermissions_Params.

View Source
const SessionContext_getSharedPermissions_Results_TypeID = 0xb70bd877cecb7b88

SessionContext_getSharedPermissions_Results_TypeID is the unique identifier for the type SessionContext_getSharedPermissions_Results.

View Source
const SessionContext_offer_Params_TypeID = 0xfb3d38da0c9eaee6

SessionContext_offer_Params_TypeID is the unique identifier for the type SessionContext_offer_Params.

View Source
const SessionContext_offer_Results_TypeID = 0xfe7135f15d39bd5b

SessionContext_offer_Results_TypeID is the unique identifier for the type SessionContext_offer_Results.

View Source
const SessionContext_openView_Params_TypeID = 0xf37f5e08534c68aa

SessionContext_openView_Params_TypeID is the unique identifier for the type SessionContext_openView_Params.

View Source
const SessionContext_openView_Results_TypeID = 0xf9d6c8c6d207c123

SessionContext_openView_Results_TypeID is the unique identifier for the type SessionContext_openView_Results.

View Source
const SessionContext_request_Params_TypeID = 0xf63b8546288ee8e1

SessionContext_request_Params_TypeID is the unique identifier for the type SessionContext_request_Params.

View Source
const SessionContext_request_Results_TypeID = 0xd42684f756e09afd

SessionContext_request_Results_TypeID is the unique identifier for the type SessionContext_request_Results.

View Source
const SessionContext_tieToUser_Params_TypeID = 0xc41e71e8d893086c

SessionContext_tieToUser_Params_TypeID is the unique identifier for the type SessionContext_tieToUser_Params.

View Source
const SessionContext_tieToUser_Results_TypeID = 0xf6f911c4804ba7e5

SessionContext_tieToUser_Results_TypeID is the unique identifier for the type SessionContext_tieToUser_Results.

View Source
const SharingLink_TypeID = 0xc05520c9b0994ad3

SharingLink_TypeID is the unique identifier for the type SharingLink.

View Source
const SharingLink_getPetname_Params_TypeID = 0xf0931856093654c1

SharingLink_getPetname_Params_TypeID is the unique identifier for the type SharingLink_getPetname_Params.

View Source
const SharingLink_getPetname_Results_TypeID = 0x9ad927034671cad1

SharingLink_getPetname_Results_TypeID is the unique identifier for the type SharingLink_getPetname_Results.

View Source
const UiSession_TypeID = 0xf63241ee58b5166f

UiSession_TypeID is the unique identifier for the type UiSession.

View Source
const UiView_PowerboxTag_TypeID = 0x982790c08b1958ec

UiView_PowerboxTag_TypeID is the unique identifier for the type UiView_PowerboxTag.

View Source
const UiView_TypeID = 0xdbb4d798ea67e2e7

UiView_TypeID is the unique identifier for the type UiView.

View Source
const UiView_ViewInfo_TypeID = 0xbc5e354741a8e665

UiView_ViewInfo_TypeID is the unique identifier for the type UiView_ViewInfo.

View Source
const UiView_getViewInfo_Params_TypeID = 0x8f2ef49549d64e86

UiView_getViewInfo_Params_TypeID is the unique identifier for the type UiView_getViewInfo_Params.

View Source
const UiView_newOfferSession_Params_TypeID = 0xa53aedb3ce8994df

UiView_newOfferSession_Params_TypeID is the unique identifier for the type UiView_newOfferSession_Params.

View Source
const UiView_newOfferSession_Results_TypeID = 0x9eb6708c01ec2079

UiView_newOfferSession_Results_TypeID is the unique identifier for the type UiView_newOfferSession_Results.

View Source
const UiView_newRequestSession_Params_TypeID = 0xbc193a4219598bcb

UiView_newRequestSession_Params_TypeID is the unique identifier for the type UiView_newRequestSession_Params.

View Source
const UiView_newRequestSession_Results_TypeID = 0xa22a2d1cf9579778

UiView_newRequestSession_Results_TypeID is the unique identifier for the type UiView_newRequestSession_Results.

View Source
const UiView_newSession_Params_TypeID = 0xf87a2c5a9f996828

UiView_newSession_Params_TypeID is the unique identifier for the type UiView_newSession_Params.

View Source
const UiView_newSession_Results_TypeID = 0xa8f4ff97289294c7

UiView_newSession_Results_TypeID is the unique identifier for the type UiView_newSession_Results.

View Source
const ViewSharingLink_RoleAssignment_TypeID = 0xf020f2be35e8e2b5

ViewSharingLink_RoleAssignment_TypeID is the unique identifier for the type ViewSharingLink_RoleAssignment.

View Source
const ViewSharingLink_TypeID = 0xa4f82f764dc3fee8

ViewSharingLink_TypeID is the unique identifier for the type ViewSharingLink.

View Source
const ViewSharingLink_getRoleAssignment_Params_TypeID = 0xb8083dd65a24c770

ViewSharingLink_getRoleAssignment_Params_TypeID is the unique identifier for the type ViewSharingLink_getRoleAssignment_Params.

View Source
const ViewSharingLink_getRoleAssignment_Results_TypeID = 0x9d159666de73f39d

ViewSharingLink_getRoleAssignment_Results_TypeID is the unique identifier for the type ViewSharingLink_getRoleAssignment_Results.

Variables

This section is empty.

Functions

func AppPersistent_Methods

func AppPersistent_Methods(methods []server.Method, s AppPersistent_Server) []server.Method

AppPersistent_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func AppPersistent_NewServer

func AppPersistent_NewServer(s AppPersistent_Server) *server.Server

AppPersistent_NewServer creates a new Server from an implementation of AppPersistent_Server.

func MainView_Methods

func MainView_Methods(methods []server.Method, s MainView_Server) []server.Method

MainView_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func MainView_NewServer

func MainView_NewServer(s MainView_Server) *server.Server

MainView_NewServer creates a new Server from an implementation of MainView_Server.

func SandstormApi_Methods

func SandstormApi_Methods(methods []server.Method, s SandstormApi_Server) []server.Method

SandstormApi_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func SandstormApi_NewServer

func SandstormApi_NewServer(s SandstormApi_Server) *server.Server

SandstormApi_NewServer creates a new Server from an implementation of SandstormApi_Server.

func ScheduledJob_Callback_Methods

func ScheduledJob_Callback_Methods(methods []server.Method, s ScheduledJob_Callback_Server) []server.Method

ScheduledJob_Callback_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func ScheduledJob_Callback_NewServer

func ScheduledJob_Callback_NewServer(s ScheduledJob_Callback_Server) *server.Server

ScheduledJob_Callback_NewServer creates a new Server from an implementation of ScheduledJob_Callback_Server.

func SessionContext_Methods

func SessionContext_Methods(methods []server.Method, s SessionContext_Server) []server.Method

SessionContext_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func SessionContext_NewServer

func SessionContext_NewServer(s SessionContext_Server) *server.Server

SessionContext_NewServer creates a new Server from an implementation of SessionContext_Server.

func SharingLink_Methods(methods []server.Method, s SharingLink_Server) []server.Method

SharingLink_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func SharingLink_NewServer(s SharingLink_Server) *server.Server

SharingLink_NewServer creates a new Server from an implementation of SharingLink_Server.

func UiSession_Methods

func UiSession_Methods(methods []server.Method, s UiSession_Server) []server.Method

UiSession_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func UiSession_NewServer

func UiSession_NewServer(s UiSession_Server) *server.Server

UiSession_NewServer creates a new Server from an implementation of UiSession_Server.

func UiView_Methods

func UiView_Methods(methods []server.Method, s UiView_Server) []server.Method

UiView_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func UiView_NewServer

func UiView_NewServer(s UiView_Server) *server.Server

UiView_NewServer creates a new Server from an implementation of UiView_Server.

func ViewSharingLink_Methods(methods []server.Method, s ViewSharingLink_Server) []server.Method

ViewSharingLink_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func ViewSharingLink_NewServer(s ViewSharingLink_Server) *server.Server

ViewSharingLink_NewServer creates a new Server from an implementation of ViewSharingLink_Server.

Types

type AppPersistent

type AppPersistent capnp.Client

func AppPersistent_ServerToClient

func AppPersistent_ServerToClient(s AppPersistent_Server) AppPersistent

AppPersistent_ServerToClient creates a new Client from an implementation of AppPersistent_Server. The caller is responsible for calling Release on the returned Client.

func (AppPersistent) AddRef

func (c AppPersistent) AddRef() AppPersistent

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 (AppPersistent) DecodeFromPtr

func (AppPersistent) DecodeFromPtr(p capnp.Ptr) AppPersistent

func (AppPersistent) EncodeAsPtr

func (c AppPersistent) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (AppPersistent) GetFlowLimiter

func (c AppPersistent) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (AppPersistent) IsSame

func (c AppPersistent) IsSame(other AppPersistent) 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 (AppPersistent) IsValid

func (c AppPersistent) 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 (AppPersistent) Release

func (c AppPersistent) 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 (AppPersistent) Resolve

func (c AppPersistent) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (AppPersistent) Save

func (AppPersistent) SetFlowLimiter

func (c AppPersistent) 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 (AppPersistent) String

func (c AppPersistent) 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.

type AppPersistent_List

type AppPersistent_List = capnp.CapList[AppPersistent]

AppPersistent_List is a list of AppPersistent.

func NewAppPersistent_List

func NewAppPersistent_List(s *capnp.Segment, sz int32) (AppPersistent_List, error)

NewAppPersistent creates a new list of AppPersistent.

type AppPersistent_Server

type AppPersistent_Server interface {
	Save(context.Context, AppPersistent_save) error
}

type AppPersistent_save

type AppPersistent_save struct {
	*server.Call
}

AppPersistent_save holds the state for a server call to AppPersistent.save. See server.Call for documentation.

func (AppPersistent_save) AllocResults

AllocResults allocates the results struct.

func (AppPersistent_save) Args

Args returns the call's arguments.

type AppPersistent_save_Params

type AppPersistent_save_Params capnp.Struct

func NewAppPersistent_save_Params

func NewAppPersistent_save_Params(s *capnp.Segment) (AppPersistent_save_Params, error)

func NewRootAppPersistent_save_Params

func NewRootAppPersistent_save_Params(s *capnp.Segment) (AppPersistent_save_Params, error)

func ReadRootAppPersistent_save_Params

func ReadRootAppPersistent_save_Params(msg *capnp.Message) (AppPersistent_save_Params, error)

func (AppPersistent_save_Params) DecodeFromPtr

func (AppPersistent_save_Params) EncodeAsPtr

func (s AppPersistent_save_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (AppPersistent_save_Params) IsValid

func (s AppPersistent_save_Params) IsValid() bool

func (AppPersistent_save_Params) Message

func (AppPersistent_save_Params) Segment

func (AppPersistent_save_Params) String

func (s AppPersistent_save_Params) String() string

func (AppPersistent_save_Params) ToPtr

type AppPersistent_save_Params_Future

type AppPersistent_save_Params_Future struct{ *capnp.Future }

AppPersistent_save_Params_Future is a wrapper for a AppPersistent_save_Params promised by a client call.

func (AppPersistent_save_Params_Future) Struct

type AppPersistent_save_Params_List

type AppPersistent_save_Params_List = capnp.StructList[AppPersistent_save_Params]

AppPersistent_save_Params_List is a list of AppPersistent_save_Params.

func NewAppPersistent_save_Params_List

func NewAppPersistent_save_Params_List(s *capnp.Segment, sz int32) (AppPersistent_save_Params_List, error)

NewAppPersistent_save_Params creates a new list of AppPersistent_save_Params.

type AppPersistent_save_Results

type AppPersistent_save_Results capnp.Struct

func NewAppPersistent_save_Results

func NewAppPersistent_save_Results(s *capnp.Segment) (AppPersistent_save_Results, error)

func NewRootAppPersistent_save_Results

func NewRootAppPersistent_save_Results(s *capnp.Segment) (AppPersistent_save_Results, error)

func ReadRootAppPersistent_save_Results

func ReadRootAppPersistent_save_Results(msg *capnp.Message) (AppPersistent_save_Results, error)

func (AppPersistent_save_Results) DecodeFromPtr

func (AppPersistent_save_Results) EncodeAsPtr

func (s AppPersistent_save_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (AppPersistent_save_Results) HasLabel

func (s AppPersistent_save_Results) HasLabel() bool

func (AppPersistent_save_Results) HasObjectId

func (s AppPersistent_save_Results) HasObjectId() bool

func (AppPersistent_save_Results) IsValid

func (s AppPersistent_save_Results) IsValid() bool

func (AppPersistent_save_Results) Label

func (AppPersistent_save_Results) Message

func (AppPersistent_save_Results) NewLabel

NewLabel sets the label field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (AppPersistent_save_Results) ObjectId

func (s AppPersistent_save_Results) ObjectId() (capnp.Ptr, error)

func (AppPersistent_save_Results) Segment

func (AppPersistent_save_Results) SetLabel

func (AppPersistent_save_Results) SetObjectId

func (s AppPersistent_save_Results) SetObjectId(v capnp.Ptr) error

func (AppPersistent_save_Results) String

func (AppPersistent_save_Results) ToPtr

type AppPersistent_save_Results_Future

type AppPersistent_save_Results_Future struct{ *capnp.Future }

AppPersistent_save_Results_Future is a wrapper for a AppPersistent_save_Results promised by a client call.

func (AppPersistent_save_Results_Future) Label

func (AppPersistent_save_Results_Future) ObjectId

func (AppPersistent_save_Results_Future) Struct

type AppPersistent_save_Results_List

type AppPersistent_save_Results_List = capnp.StructList[AppPersistent_save_Results]

AppPersistent_save_Results_List is a list of AppPersistent_save_Results.

func NewAppPersistent_save_Results_List

func NewAppPersistent_save_Results_List(s *capnp.Segment, sz int32) (AppPersistent_save_Results_List, error)

NewAppPersistent_save_Results creates a new list of AppPersistent_save_Results.

type GrainInfo

type GrainInfo capnp.Struct

func NewGrainInfo

func NewGrainInfo(s *capnp.Segment) (GrainInfo, error)

func NewRootGrainInfo

func NewRootGrainInfo(s *capnp.Segment) (GrainInfo, error)

func ReadRootGrainInfo

func ReadRootGrainInfo(msg *capnp.Message) (GrainInfo, error)

func (GrainInfo) AppId

func (s GrainInfo) AppId() (string, error)

func (GrainInfo) AppIdBytes

func (s GrainInfo) AppIdBytes() ([]byte, error)

func (GrainInfo) AppVersion

func (s GrainInfo) AppVersion() uint32

func (GrainInfo) DecodeFromPtr

func (GrainInfo) DecodeFromPtr(p capnp.Ptr) GrainInfo

func (GrainInfo) EncodeAsPtr

func (s GrainInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (GrainInfo) HasAppId

func (s GrainInfo) HasAppId() bool

func (GrainInfo) HasOriginalGrainId

func (s GrainInfo) HasOriginalGrainId() bool

func (GrainInfo) HasOwnerIdentityId

func (s GrainInfo) HasOwnerIdentityId() bool

func (GrainInfo) HasTitle

func (s GrainInfo) HasTitle() bool

func (GrainInfo) HasUsers

func (s GrainInfo) HasUsers() bool

func (GrainInfo) IsValid

func (s GrainInfo) IsValid() bool

func (GrainInfo) Message

func (s GrainInfo) Message() *capnp.Message

func (GrainInfo) NewUsers

func (s GrainInfo) NewUsers(n int32) (GrainInfo_User_List, error)

NewUsers sets the users field to a newly allocated GrainInfo_User_List, preferring placement in s's segment.

func (GrainInfo) OriginalGrainId

func (s GrainInfo) OriginalGrainId() (string, error)

func (GrainInfo) OriginalGrainIdBytes

func (s GrainInfo) OriginalGrainIdBytes() ([]byte, error)

func (GrainInfo) OwnerIdentityId

func (s GrainInfo) OwnerIdentityId() (string, error)

func (GrainInfo) OwnerIdentityIdBytes

func (s GrainInfo) OwnerIdentityIdBytes() ([]byte, error)

func (GrainInfo) Segment

func (s GrainInfo) Segment() *capnp.Segment

func (GrainInfo) SetAppId

func (s GrainInfo) SetAppId(v string) error

func (GrainInfo) SetAppVersion

func (s GrainInfo) SetAppVersion(v uint32)

func (GrainInfo) SetOriginalGrainId

func (s GrainInfo) SetOriginalGrainId(v string) error

func (GrainInfo) SetOwnerIdentityId

func (s GrainInfo) SetOwnerIdentityId(v string) error

func (GrainInfo) SetTitle

func (s GrainInfo) SetTitle(v string) error

func (GrainInfo) SetUsers

func (s GrainInfo) SetUsers(v GrainInfo_User_List) error

func (GrainInfo) String

func (s GrainInfo) String() string

func (GrainInfo) Title

func (s GrainInfo) Title() (string, error)

func (GrainInfo) TitleBytes

func (s GrainInfo) TitleBytes() ([]byte, error)

func (GrainInfo) ToPtr

func (s GrainInfo) ToPtr() capnp.Ptr

func (GrainInfo) Users

func (s GrainInfo) Users() (GrainInfo_User_List, error)

type GrainInfo_Future

type GrainInfo_Future struct{ *capnp.Future }

GrainInfo_Future is a wrapper for a GrainInfo promised by a client call.

func (GrainInfo_Future) Struct

func (f GrainInfo_Future) Struct() (GrainInfo, error)

type GrainInfo_List

type GrainInfo_List = capnp.StructList[GrainInfo]

GrainInfo_List is a list of GrainInfo.

func NewGrainInfo_List

func NewGrainInfo_List(s *capnp.Segment, sz int32) (GrainInfo_List, error)

NewGrainInfo creates a new list of GrainInfo.

type GrainInfo_User

type GrainInfo_User capnp.Struct

func NewGrainInfo_User

func NewGrainInfo_User(s *capnp.Segment) (GrainInfo_User, error)

func NewRootGrainInfo_User

func NewRootGrainInfo_User(s *capnp.Segment) (GrainInfo_User, error)

func ReadRootGrainInfo_User

func ReadRootGrainInfo_User(msg *capnp.Message) (GrainInfo_User, error)

func (GrainInfo_User) CredentialIds

func (s GrainInfo_User) CredentialIds() (capnp.TextList, error)

func (GrainInfo_User) DecodeFromPtr

func (GrainInfo_User) DecodeFromPtr(p capnp.Ptr) GrainInfo_User

func (GrainInfo_User) EncodeAsPtr

func (s GrainInfo_User) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (GrainInfo_User) HasCredentialIds

func (s GrainInfo_User) HasCredentialIds() bool

func (GrainInfo_User) HasIdentityId

func (s GrainInfo_User) HasIdentityId() bool

func (GrainInfo_User) HasProfile

func (s GrainInfo_User) HasProfile() bool

func (GrainInfo_User) IdentityId

func (s GrainInfo_User) IdentityId() (string, error)

func (GrainInfo_User) IdentityIdBytes

func (s GrainInfo_User) IdentityIdBytes() ([]byte, error)

func (GrainInfo_User) IsValid

func (s GrainInfo_User) IsValid() bool

func (GrainInfo_User) Message

func (s GrainInfo_User) Message() *capnp.Message

func (GrainInfo_User) NewCredentialIds

func (s GrainInfo_User) NewCredentialIds(n int32) (capnp.TextList, error)

NewCredentialIds sets the credentialIds field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (GrainInfo_User) NewProfile

func (s GrainInfo_User) NewProfile() (identity.Profile, error)

NewProfile sets the profile field to a newly allocated identity.Profile struct, preferring placement in s's segment.

func (GrainInfo_User) Profile

func (s GrainInfo_User) Profile() (identity.Profile, error)

func (GrainInfo_User) Segment

func (s GrainInfo_User) Segment() *capnp.Segment

func (GrainInfo_User) SetCredentialIds

func (s GrainInfo_User) SetCredentialIds(v capnp.TextList) error

func (GrainInfo_User) SetIdentityId

func (s GrainInfo_User) SetIdentityId(v string) error

func (GrainInfo_User) SetProfile

func (s GrainInfo_User) SetProfile(v identity.Profile) error

func (GrainInfo_User) String

func (s GrainInfo_User) String() string

func (GrainInfo_User) ToPtr

func (s GrainInfo_User) ToPtr() capnp.Ptr

type GrainInfo_User_Future

type GrainInfo_User_Future struct{ *capnp.Future }

GrainInfo_User_Future is a wrapper for a GrainInfo_User promised by a client call.

func (GrainInfo_User_Future) Profile

func (GrainInfo_User_Future) Struct

type GrainInfo_User_List

type GrainInfo_User_List = capnp.StructList[GrainInfo_User]

GrainInfo_User_List is a list of GrainInfo_User.

func NewGrainInfo_User_List

func NewGrainInfo_User_List(s *capnp.Segment, sz int32) (GrainInfo_User_List, error)

NewGrainInfo_User creates a new list of GrainInfo_User.

type MainView

type MainView capnp.Client

func MainView_ServerToClient

func MainView_ServerToClient(s MainView_Server) MainView

MainView_ServerToClient creates a new Client from an implementation of MainView_Server. The caller is responsible for calling Release on the returned Client.

func (MainView) AddRef

func (c MainView) AddRef() MainView

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 (MainView) DecodeFromPtr

func (MainView) DecodeFromPtr(p capnp.Ptr) MainView

func (MainView) Drop

func (MainView) EncodeAsPtr

func (c MainView) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (MainView) GetFlowLimiter

func (c MainView) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (MainView) GetViewInfo

func (MainView) IsSame

func (c MainView) IsSame(other MainView) 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 (MainView) IsValid

func (c MainView) 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 (MainView) NewOfferSession

func (MainView) NewRequestSession

func (MainView) NewSession

func (MainView) Release

func (c MainView) 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 (MainView) Resolve

func (c MainView) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (MainView) Restore

func (MainView) SetFlowLimiter

func (c MainView) 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 (MainView) String

func (c MainView) 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.

type MainView_List

type MainView_List = capnp.CapList[MainView]

MainView_List is a list of MainView.

func NewMainView_List

func NewMainView_List(s *capnp.Segment, sz int32) (MainView_List, error)

NewMainView creates a new list of MainView.

type MainView_Server

type MainView_drop

type MainView_drop struct {
	*server.Call
}

MainView_drop holds the state for a server call to MainView.drop. See server.Call for documentation.

func (MainView_drop) AllocResults

func (c MainView_drop) AllocResults() (MainView_drop_Results, error)

AllocResults allocates the results struct.

func (MainView_drop) Args

Args returns the call's arguments.

type MainView_drop_Params

type MainView_drop_Params capnp.Struct

func NewMainView_drop_Params

func NewMainView_drop_Params(s *capnp.Segment) (MainView_drop_Params, error)

func NewRootMainView_drop_Params

func NewRootMainView_drop_Params(s *capnp.Segment) (MainView_drop_Params, error)

func ReadRootMainView_drop_Params

func ReadRootMainView_drop_Params(msg *capnp.Message) (MainView_drop_Params, error)

func (MainView_drop_Params) DecodeFromPtr

func (MainView_drop_Params) EncodeAsPtr

func (s MainView_drop_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (MainView_drop_Params) HasObjectId

func (s MainView_drop_Params) HasObjectId() bool

func (MainView_drop_Params) IsValid

func (s MainView_drop_Params) IsValid() bool

func (MainView_drop_Params) Message

func (s MainView_drop_Params) Message() *capnp.Message

func (MainView_drop_Params) ObjectId

func (s MainView_drop_Params) ObjectId() (capnp.Ptr, error)

func (MainView_drop_Params) Segment

func (s MainView_drop_Params) Segment() *capnp.Segment

func (MainView_drop_Params) SetObjectId

func (s MainView_drop_Params) SetObjectId(v capnp.Ptr) error

func (MainView_drop_Params) String

func (s MainView_drop_Params) String() string

func (MainView_drop_Params) ToPtr

func (s MainView_drop_Params) ToPtr() capnp.Ptr

type MainView_drop_Params_Future

type MainView_drop_Params_Future struct{ *capnp.Future }

MainView_drop_Params_Future is a wrapper for a MainView_drop_Params promised by a client call.

func (MainView_drop_Params_Future) ObjectId

func (MainView_drop_Params_Future) Struct

type MainView_drop_Params_List

type MainView_drop_Params_List = capnp.StructList[MainView_drop_Params]

MainView_drop_Params_List is a list of MainView_drop_Params.

func NewMainView_drop_Params_List

func NewMainView_drop_Params_List(s *capnp.Segment, sz int32) (MainView_drop_Params_List, error)

NewMainView_drop_Params creates a new list of MainView_drop_Params.

type MainView_drop_Results

type MainView_drop_Results capnp.Struct

func NewMainView_drop_Results

func NewMainView_drop_Results(s *capnp.Segment) (MainView_drop_Results, error)

func NewRootMainView_drop_Results

func NewRootMainView_drop_Results(s *capnp.Segment) (MainView_drop_Results, error)

func ReadRootMainView_drop_Results

func ReadRootMainView_drop_Results(msg *capnp.Message) (MainView_drop_Results, error)

func (MainView_drop_Results) DecodeFromPtr

func (MainView_drop_Results) EncodeAsPtr

func (s MainView_drop_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (MainView_drop_Results) IsValid

func (s MainView_drop_Results) IsValid() bool

func (MainView_drop_Results) Message

func (s MainView_drop_Results) Message() *capnp.Message

func (MainView_drop_Results) Segment

func (s MainView_drop_Results) Segment() *capnp.Segment

func (MainView_drop_Results) String

func (s MainView_drop_Results) String() string

func (MainView_drop_Results) ToPtr

func (s MainView_drop_Results) ToPtr() capnp.Ptr

type MainView_drop_Results_Future

type MainView_drop_Results_Future struct{ *capnp.Future }

MainView_drop_Results_Future is a wrapper for a MainView_drop_Results promised by a client call.

func (MainView_drop_Results_Future) Struct

type MainView_drop_Results_List

type MainView_drop_Results_List = capnp.StructList[MainView_drop_Results]

MainView_drop_Results_List is a list of MainView_drop_Results.

func NewMainView_drop_Results_List

func NewMainView_drop_Results_List(s *capnp.Segment, sz int32) (MainView_drop_Results_List, error)

NewMainView_drop_Results creates a new list of MainView_drop_Results.

type MainView_restore

type MainView_restore struct {
	*server.Call
}

MainView_restore holds the state for a server call to MainView.restore. See server.Call for documentation.

func (MainView_restore) AllocResults

func (c MainView_restore) AllocResults() (MainView_restore_Results, error)

AllocResults allocates the results struct.

func (MainView_restore) Args

Args returns the call's arguments.

type MainView_restore_Params

type MainView_restore_Params capnp.Struct

func NewMainView_restore_Params

func NewMainView_restore_Params(s *capnp.Segment) (MainView_restore_Params, error)

func NewRootMainView_restore_Params

func NewRootMainView_restore_Params(s *capnp.Segment) (MainView_restore_Params, error)

func ReadRootMainView_restore_Params

func ReadRootMainView_restore_Params(msg *capnp.Message) (MainView_restore_Params, error)

func (MainView_restore_Params) DecodeFromPtr

func (MainView_restore_Params) EncodeAsPtr

func (s MainView_restore_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (MainView_restore_Params) HasObjectId

func (s MainView_restore_Params) HasObjectId() bool

func (MainView_restore_Params) IsValid

func (s MainView_restore_Params) IsValid() bool

func (MainView_restore_Params) Message

func (s MainView_restore_Params) Message() *capnp.Message

func (MainView_restore_Params) ObjectId

func (s MainView_restore_Params) ObjectId() (capnp.Ptr, error)

func (MainView_restore_Params) Segment

func (s MainView_restore_Params) Segment() *capnp.Segment

func (MainView_restore_Params) SetObjectId

func (s MainView_restore_Params) SetObjectId(v capnp.Ptr) error

func (MainView_restore_Params) String

func (s MainView_restore_Params) String() string

func (MainView_restore_Params) ToPtr

func (s MainView_restore_Params) ToPtr() capnp.Ptr

type MainView_restore_Params_Future

type MainView_restore_Params_Future struct{ *capnp.Future }

MainView_restore_Params_Future is a wrapper for a MainView_restore_Params promised by a client call.

func (MainView_restore_Params_Future) ObjectId

func (MainView_restore_Params_Future) Struct

type MainView_restore_Params_List

type MainView_restore_Params_List = capnp.StructList[MainView_restore_Params]

MainView_restore_Params_List is a list of MainView_restore_Params.

func NewMainView_restore_Params_List

func NewMainView_restore_Params_List(s *capnp.Segment, sz int32) (MainView_restore_Params_List, error)

NewMainView_restore_Params creates a new list of MainView_restore_Params.

type MainView_restore_Results

type MainView_restore_Results capnp.Struct

func NewMainView_restore_Results

func NewMainView_restore_Results(s *capnp.Segment) (MainView_restore_Results, error)

func NewRootMainView_restore_Results

func NewRootMainView_restore_Results(s *capnp.Segment) (MainView_restore_Results, error)

func ReadRootMainView_restore_Results

func ReadRootMainView_restore_Results(msg *capnp.Message) (MainView_restore_Results, error)

func (MainView_restore_Results) Cap

func (MainView_restore_Results) DecodeFromPtr

func (MainView_restore_Results) EncodeAsPtr

func (s MainView_restore_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (MainView_restore_Results) HasCap

func (s MainView_restore_Results) HasCap() bool

func (MainView_restore_Results) IsValid

func (s MainView_restore_Results) IsValid() bool

func (MainView_restore_Results) Message

func (s MainView_restore_Results) Message() *capnp.Message

func (MainView_restore_Results) Segment

func (s MainView_restore_Results) Segment() *capnp.Segment

func (MainView_restore_Results) SetCap

func (MainView_restore_Results) String

func (s MainView_restore_Results) String() string

func (MainView_restore_Results) ToPtr

type MainView_restore_Results_Future

type MainView_restore_Results_Future struct{ *capnp.Future }

MainView_restore_Results_Future is a wrapper for a MainView_restore_Results promised by a client call.

func (MainView_restore_Results_Future) Cap

func (MainView_restore_Results_Future) Struct

type MainView_restore_Results_List

type MainView_restore_Results_List = capnp.StructList[MainView_restore_Results]

MainView_restore_Results_List is a list of MainView_restore_Results.

func NewMainView_restore_Results_List

func NewMainView_restore_Results_List(s *capnp.Segment, sz int32) (MainView_restore_Results_List, error)

NewMainView_restore_Results creates a new list of MainView_restore_Results.

type PermissionDef

type PermissionDef capnp.Struct

func NewPermissionDef

func NewPermissionDef(s *capnp.Segment) (PermissionDef, error)

func NewRootPermissionDef

func NewRootPermissionDef(s *capnp.Segment) (PermissionDef, error)

func ReadRootPermissionDef

func ReadRootPermissionDef(msg *capnp.Message) (PermissionDef, error)

func (PermissionDef) DecodeFromPtr

func (PermissionDef) DecodeFromPtr(p capnp.Ptr) PermissionDef

func (PermissionDef) Description

func (s PermissionDef) Description() (util.LocalizedText, error)

func (PermissionDef) EncodeAsPtr

func (s PermissionDef) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (PermissionDef) HasDescription

func (s PermissionDef) HasDescription() bool

func (PermissionDef) HasName

func (s PermissionDef) HasName() bool

func (PermissionDef) HasTitle

func (s PermissionDef) HasTitle() bool

func (PermissionDef) IsValid

func (s PermissionDef) IsValid() bool

func (PermissionDef) Message

func (s PermissionDef) Message() *capnp.Message

func (PermissionDef) Name

func (s PermissionDef) Name() (string, error)

func (PermissionDef) NameBytes

func (s PermissionDef) NameBytes() ([]byte, error)

func (PermissionDef) NewDescription

func (s PermissionDef) NewDescription() (util.LocalizedText, error)

NewDescription sets the description field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (PermissionDef) NewTitle

func (s PermissionDef) NewTitle() (util.LocalizedText, error)

NewTitle sets the title field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (PermissionDef) Obsolete

func (s PermissionDef) Obsolete() bool

func (PermissionDef) Segment

func (s PermissionDef) Segment() *capnp.Segment

func (PermissionDef) SetDescription

func (s PermissionDef) SetDescription(v util.LocalizedText) error

func (PermissionDef) SetName

func (s PermissionDef) SetName(v string) error

func (PermissionDef) SetObsolete

func (s PermissionDef) SetObsolete(v bool)

func (PermissionDef) SetTitle

func (s PermissionDef) SetTitle(v util.LocalizedText) error

func (PermissionDef) String

func (s PermissionDef) String() string

func (PermissionDef) Title

func (s PermissionDef) Title() (util.LocalizedText, error)

func (PermissionDef) ToPtr

func (s PermissionDef) ToPtr() capnp.Ptr

type PermissionDef_Future

type PermissionDef_Future struct{ *capnp.Future }

PermissionDef_Future is a wrapper for a PermissionDef promised by a client call.

func (PermissionDef_Future) Description

func (PermissionDef_Future) Struct

func (PermissionDef_Future) Title

type PermissionDef_List

type PermissionDef_List = capnp.StructList[PermissionDef]

PermissionDef_List is a list of PermissionDef.

func NewPermissionDef_List

func NewPermissionDef_List(s *capnp.Segment, sz int32) (PermissionDef_List, error)

NewPermissionDef creates a new list of PermissionDef.

type RoleDef

type RoleDef capnp.Struct

func NewRoleDef

func NewRoleDef(s *capnp.Segment) (RoleDef, error)

func NewRootRoleDef

func NewRootRoleDef(s *capnp.Segment) (RoleDef, error)

func ReadRootRoleDef

func ReadRootRoleDef(msg *capnp.Message) (RoleDef, error)

func (RoleDef) DecodeFromPtr

func (RoleDef) DecodeFromPtr(p capnp.Ptr) RoleDef

func (RoleDef) Default

func (s RoleDef) Default() bool

func (RoleDef) Description

func (s RoleDef) Description() (util.LocalizedText, error)

func (RoleDef) EncodeAsPtr

func (s RoleDef) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (RoleDef) HasDescription

func (s RoleDef) HasDescription() bool

func (RoleDef) HasPermissions

func (s RoleDef) HasPermissions() bool

func (RoleDef) HasTitle

func (s RoleDef) HasTitle() bool

func (RoleDef) HasVerbPhrase

func (s RoleDef) HasVerbPhrase() bool

func (RoleDef) IsValid

func (s RoleDef) IsValid() bool

func (RoleDef) Message

func (s RoleDef) Message() *capnp.Message

func (RoleDef) NewDescription

func (s RoleDef) NewDescription() (util.LocalizedText, error)

NewDescription sets the description field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (RoleDef) NewPermissions

func (s RoleDef) NewPermissions(n int32) (capnp.BitList, error)

NewPermissions sets the permissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (RoleDef) NewTitle

func (s RoleDef) NewTitle() (util.LocalizedText, error)

NewTitle sets the title field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (RoleDef) NewVerbPhrase

func (s RoleDef) NewVerbPhrase() (util.LocalizedText, error)

NewVerbPhrase sets the verbPhrase field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (RoleDef) Obsolete

func (s RoleDef) Obsolete() bool

func (RoleDef) Permissions

func (s RoleDef) Permissions() (capnp.BitList, error)

func (RoleDef) Segment

func (s RoleDef) Segment() *capnp.Segment

func (RoleDef) SetDefault

func (s RoleDef) SetDefault(v bool)

func (RoleDef) SetDescription

func (s RoleDef) SetDescription(v util.LocalizedText) error

func (RoleDef) SetObsolete

func (s RoleDef) SetObsolete(v bool)

func (RoleDef) SetPermissions

func (s RoleDef) SetPermissions(v capnp.BitList) error

func (RoleDef) SetTitle

func (s RoleDef) SetTitle(v util.LocalizedText) error

func (RoleDef) SetVerbPhrase

func (s RoleDef) SetVerbPhrase(v util.LocalizedText) error

func (RoleDef) String

func (s RoleDef) String() string

func (RoleDef) Title

func (s RoleDef) Title() (util.LocalizedText, error)

func (RoleDef) ToPtr

func (s RoleDef) ToPtr() capnp.Ptr

func (RoleDef) VerbPhrase

func (s RoleDef) VerbPhrase() (util.LocalizedText, error)

type RoleDef_Future

type RoleDef_Future struct{ *capnp.Future }

RoleDef_Future is a wrapper for a RoleDef promised by a client call.

func (RoleDef_Future) Description

func (p RoleDef_Future) Description() util.LocalizedText_Future

func (RoleDef_Future) Struct

func (f RoleDef_Future) Struct() (RoleDef, error)

func (RoleDef_Future) Title

func (RoleDef_Future) VerbPhrase

func (p RoleDef_Future) VerbPhrase() util.LocalizedText_Future

type RoleDef_List

type RoleDef_List = capnp.StructList[RoleDef]

RoleDef_List is a list of RoleDef.

func NewRoleDef_List

func NewRoleDef_List(s *capnp.Segment, sz int32) (RoleDef_List, error)

NewRoleDef creates a new list of RoleDef.

type SandstormApi

type SandstormApi capnp.Client

func SandstormApi_ServerToClient

func SandstormApi_ServerToClient(s SandstormApi_Server) SandstormApi

SandstormApi_ServerToClient creates a new Client from an implementation of SandstormApi_Server. The caller is responsible for calling Release on the returned Client.

func (SandstormApi) AddRef

func (c SandstormApi) AddRef() SandstormApi

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 (SandstormApi) BackgroundActivity

func (SandstormApi) DecodeFromPtr

func (SandstormApi) DecodeFromPtr(p capnp.Ptr) SandstormApi

func (SandstormApi) Deleted

func (SandstormApi) DeprecatedPublish

func (SandstormApi) DeprecatedRegisterAction

func (SandstormApi) Drop

func (SandstormApi) EncodeAsPtr

func (c SandstormApi) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi) GetFlowLimiter

func (c SandstormApi) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (SandstormApi) GetIdentityId

func (SandstormApi) IsSame

func (c SandstormApi) IsSame(other SandstormApi) 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 (SandstormApi) IsValid

func (c SandstormApi) 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 (SandstormApi) Release

func (c SandstormApi) 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 (SandstormApi) Resolve

func (c SandstormApi) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (SandstormApi) Restore

func (SandstormApi) Save

func (SandstormApi) Schedule

func (SandstormApi) SetFlowLimiter

func (c SandstormApi) 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 (SandstormApi) ShareCap

func (SandstormApi) ShareView

func (SandstormApi) StayAwake

func (SandstormApi) String

func (c SandstormApi) 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.

type SandstormApi_List

type SandstormApi_List = capnp.CapList[SandstormApi]

SandstormApi_List is a list of SandstormApi.

func NewSandstormApi_List

func NewSandstormApi_List(s *capnp.Segment, sz int32) (SandstormApi_List, error)

NewSandstormApi creates a new list of SandstormApi.

type SandstormApi_backgroundActivity

type SandstormApi_backgroundActivity struct {
	*server.Call
}

SandstormApi_backgroundActivity holds the state for a server call to SandstormApi.backgroundActivity. See server.Call for documentation.

func (SandstormApi_backgroundActivity) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_backgroundActivity) Args

Args returns the call's arguments.

type SandstormApi_backgroundActivity_Params

type SandstormApi_backgroundActivity_Params capnp.Struct

func NewRootSandstormApi_backgroundActivity_Params

func NewRootSandstormApi_backgroundActivity_Params(s *capnp.Segment) (SandstormApi_backgroundActivity_Params, error)

func NewSandstormApi_backgroundActivity_Params

func NewSandstormApi_backgroundActivity_Params(s *capnp.Segment) (SandstormApi_backgroundActivity_Params, error)

func ReadRootSandstormApi_backgroundActivity_Params

func ReadRootSandstormApi_backgroundActivity_Params(msg *capnp.Message) (SandstormApi_backgroundActivity_Params, error)

func (SandstormApi_backgroundActivity_Params) DecodeFromPtr

func (SandstormApi_backgroundActivity_Params) EncodeAsPtr

func (SandstormApi_backgroundActivity_Params) Event

func (SandstormApi_backgroundActivity_Params) HasEvent

func (SandstormApi_backgroundActivity_Params) IsValid

func (SandstormApi_backgroundActivity_Params) Message

func (SandstormApi_backgroundActivity_Params) NewEvent

NewEvent sets the event field to a newly allocated activity.ActivityEvent struct, preferring placement in s's segment.

func (SandstormApi_backgroundActivity_Params) Segment

func (SandstormApi_backgroundActivity_Params) SetEvent

func (SandstormApi_backgroundActivity_Params) String

func (SandstormApi_backgroundActivity_Params) ToPtr

type SandstormApi_backgroundActivity_Params_Future

type SandstormApi_backgroundActivity_Params_Future struct{ *capnp.Future }

SandstormApi_backgroundActivity_Params_Future is a wrapper for a SandstormApi_backgroundActivity_Params promised by a client call.

func (SandstormApi_backgroundActivity_Params_Future) Event

func (SandstormApi_backgroundActivity_Params_Future) Struct

type SandstormApi_backgroundActivity_Params_List

type SandstormApi_backgroundActivity_Params_List = capnp.StructList[SandstormApi_backgroundActivity_Params]

SandstormApi_backgroundActivity_Params_List is a list of SandstormApi_backgroundActivity_Params.

func NewSandstormApi_backgroundActivity_Params_List

func NewSandstormApi_backgroundActivity_Params_List(s *capnp.Segment, sz int32) (SandstormApi_backgroundActivity_Params_List, error)

NewSandstormApi_backgroundActivity_Params creates a new list of SandstormApi_backgroundActivity_Params.

type SandstormApi_backgroundActivity_Results

type SandstormApi_backgroundActivity_Results capnp.Struct

func NewRootSandstormApi_backgroundActivity_Results

func NewRootSandstormApi_backgroundActivity_Results(s *capnp.Segment) (SandstormApi_backgroundActivity_Results, error)

func NewSandstormApi_backgroundActivity_Results

func NewSandstormApi_backgroundActivity_Results(s *capnp.Segment) (SandstormApi_backgroundActivity_Results, error)

func ReadRootSandstormApi_backgroundActivity_Results

func ReadRootSandstormApi_backgroundActivity_Results(msg *capnp.Message) (SandstormApi_backgroundActivity_Results, error)

func (SandstormApi_backgroundActivity_Results) DecodeFromPtr

func (SandstormApi_backgroundActivity_Results) EncodeAsPtr

func (SandstormApi_backgroundActivity_Results) IsValid

func (SandstormApi_backgroundActivity_Results) Message

func (SandstormApi_backgroundActivity_Results) Segment

func (SandstormApi_backgroundActivity_Results) String

func (SandstormApi_backgroundActivity_Results) ToPtr

type SandstormApi_backgroundActivity_Results_Future

type SandstormApi_backgroundActivity_Results_Future struct{ *capnp.Future }

SandstormApi_backgroundActivity_Results_Future is a wrapper for a SandstormApi_backgroundActivity_Results promised by a client call.

func (SandstormApi_backgroundActivity_Results_Future) Struct

type SandstormApi_backgroundActivity_Results_List

type SandstormApi_backgroundActivity_Results_List = capnp.StructList[SandstormApi_backgroundActivity_Results]

SandstormApi_backgroundActivity_Results_List is a list of SandstormApi_backgroundActivity_Results.

func NewSandstormApi_backgroundActivity_Results_List

func NewSandstormApi_backgroundActivity_Results_List(s *capnp.Segment, sz int32) (SandstormApi_backgroundActivity_Results_List, error)

NewSandstormApi_backgroundActivity_Results creates a new list of SandstormApi_backgroundActivity_Results.

type SandstormApi_deleted

type SandstormApi_deleted struct {
	*server.Call
}

SandstormApi_deleted holds the state for a server call to SandstormApi.deleted. See server.Call for documentation.

func (SandstormApi_deleted) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_deleted) Args

Args returns the call's arguments.

type SandstormApi_deleted_Params

type SandstormApi_deleted_Params capnp.Struct

func NewRootSandstormApi_deleted_Params

func NewRootSandstormApi_deleted_Params(s *capnp.Segment) (SandstormApi_deleted_Params, error)

func NewSandstormApi_deleted_Params

func NewSandstormApi_deleted_Params(s *capnp.Segment) (SandstormApi_deleted_Params, error)

func ReadRootSandstormApi_deleted_Params

func ReadRootSandstormApi_deleted_Params(msg *capnp.Message) (SandstormApi_deleted_Params, error)

func (SandstormApi_deleted_Params) DecodeFromPtr

func (SandstormApi_deleted_Params) EncodeAsPtr

func (s SandstormApi_deleted_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_deleted_Params) HasRef

func (s SandstormApi_deleted_Params) HasRef() bool

func (SandstormApi_deleted_Params) IsValid

func (s SandstormApi_deleted_Params) IsValid() bool

func (SandstormApi_deleted_Params) Message

func (SandstormApi_deleted_Params) Ref

func (SandstormApi_deleted_Params) Segment

func (SandstormApi_deleted_Params) SetRef

func (SandstormApi_deleted_Params) String

func (SandstormApi_deleted_Params) ToPtr

type SandstormApi_deleted_Params_Future

type SandstormApi_deleted_Params_Future struct{ *capnp.Future }

SandstormApi_deleted_Params_Future is a wrapper for a SandstormApi_deleted_Params promised by a client call.

func (SandstormApi_deleted_Params_Future) Ref

func (SandstormApi_deleted_Params_Future) Struct

type SandstormApi_deleted_Params_List

type SandstormApi_deleted_Params_List = capnp.StructList[SandstormApi_deleted_Params]

SandstormApi_deleted_Params_List is a list of SandstormApi_deleted_Params.

func NewSandstormApi_deleted_Params_List

func NewSandstormApi_deleted_Params_List(s *capnp.Segment, sz int32) (SandstormApi_deleted_Params_List, error)

NewSandstormApi_deleted_Params creates a new list of SandstormApi_deleted_Params.

type SandstormApi_deleted_Results

type SandstormApi_deleted_Results capnp.Struct

func NewRootSandstormApi_deleted_Results

func NewRootSandstormApi_deleted_Results(s *capnp.Segment) (SandstormApi_deleted_Results, error)

func NewSandstormApi_deleted_Results

func NewSandstormApi_deleted_Results(s *capnp.Segment) (SandstormApi_deleted_Results, error)

func ReadRootSandstormApi_deleted_Results

func ReadRootSandstormApi_deleted_Results(msg *capnp.Message) (SandstormApi_deleted_Results, error)

func (SandstormApi_deleted_Results) DecodeFromPtr

func (SandstormApi_deleted_Results) EncodeAsPtr

func (s SandstormApi_deleted_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_deleted_Results) IsValid

func (s SandstormApi_deleted_Results) IsValid() bool

func (SandstormApi_deleted_Results) Message

func (SandstormApi_deleted_Results) Segment

func (SandstormApi_deleted_Results) String

func (SandstormApi_deleted_Results) ToPtr

type SandstormApi_deleted_Results_Future

type SandstormApi_deleted_Results_Future struct{ *capnp.Future }

SandstormApi_deleted_Results_Future is a wrapper for a SandstormApi_deleted_Results promised by a client call.

func (SandstormApi_deleted_Results_Future) Struct

type SandstormApi_deleted_Results_List

type SandstormApi_deleted_Results_List = capnp.StructList[SandstormApi_deleted_Results]

SandstormApi_deleted_Results_List is a list of SandstormApi_deleted_Results.

func NewSandstormApi_deleted_Results_List

func NewSandstormApi_deleted_Results_List(s *capnp.Segment, sz int32) (SandstormApi_deleted_Results_List, error)

NewSandstormApi_deleted_Results creates a new list of SandstormApi_deleted_Results.

type SandstormApi_deprecatedPublish

type SandstormApi_deprecatedPublish struct {
	*server.Call
}

SandstormApi_deprecatedPublish holds the state for a server call to SandstormApi.deprecatedPublish. See server.Call for documentation.

func (SandstormApi_deprecatedPublish) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_deprecatedPublish) Args

Args returns the call's arguments.

type SandstormApi_deprecatedPublish_Params

type SandstormApi_deprecatedPublish_Params capnp.Struct

func NewRootSandstormApi_deprecatedPublish_Params

func NewRootSandstormApi_deprecatedPublish_Params(s *capnp.Segment) (SandstormApi_deprecatedPublish_Params, error)

func NewSandstormApi_deprecatedPublish_Params

func NewSandstormApi_deprecatedPublish_Params(s *capnp.Segment) (SandstormApi_deprecatedPublish_Params, error)

func ReadRootSandstormApi_deprecatedPublish_Params

func ReadRootSandstormApi_deprecatedPublish_Params(msg *capnp.Message) (SandstormApi_deprecatedPublish_Params, error)

func (SandstormApi_deprecatedPublish_Params) DecodeFromPtr

func (SandstormApi_deprecatedPublish_Params) EncodeAsPtr

func (SandstormApi_deprecatedPublish_Params) IsValid

func (SandstormApi_deprecatedPublish_Params) Message

func (SandstormApi_deprecatedPublish_Params) Segment

func (SandstormApi_deprecatedPublish_Params) String

func (SandstormApi_deprecatedPublish_Params) ToPtr

type SandstormApi_deprecatedPublish_Params_Future

type SandstormApi_deprecatedPublish_Params_Future struct{ *capnp.Future }

SandstormApi_deprecatedPublish_Params_Future is a wrapper for a SandstormApi_deprecatedPublish_Params promised by a client call.

func (SandstormApi_deprecatedPublish_Params_Future) Struct

type SandstormApi_deprecatedPublish_Params_List

type SandstormApi_deprecatedPublish_Params_List = capnp.StructList[SandstormApi_deprecatedPublish_Params]

SandstormApi_deprecatedPublish_Params_List is a list of SandstormApi_deprecatedPublish_Params.

func NewSandstormApi_deprecatedPublish_Params_List

func NewSandstormApi_deprecatedPublish_Params_List(s *capnp.Segment, sz int32) (SandstormApi_deprecatedPublish_Params_List, error)

NewSandstormApi_deprecatedPublish_Params creates a new list of SandstormApi_deprecatedPublish_Params.

type SandstormApi_deprecatedPublish_Results

type SandstormApi_deprecatedPublish_Results capnp.Struct

func NewRootSandstormApi_deprecatedPublish_Results

func NewRootSandstormApi_deprecatedPublish_Results(s *capnp.Segment) (SandstormApi_deprecatedPublish_Results, error)

func NewSandstormApi_deprecatedPublish_Results

func NewSandstormApi_deprecatedPublish_Results(s *capnp.Segment) (SandstormApi_deprecatedPublish_Results, error)

func ReadRootSandstormApi_deprecatedPublish_Results

func ReadRootSandstormApi_deprecatedPublish_Results(msg *capnp.Message) (SandstormApi_deprecatedPublish_Results, error)

func (SandstormApi_deprecatedPublish_Results) DecodeFromPtr

func (SandstormApi_deprecatedPublish_Results) EncodeAsPtr

func (SandstormApi_deprecatedPublish_Results) IsValid

func (SandstormApi_deprecatedPublish_Results) Message

func (SandstormApi_deprecatedPublish_Results) Segment

func (SandstormApi_deprecatedPublish_Results) String

func (SandstormApi_deprecatedPublish_Results) ToPtr

type SandstormApi_deprecatedPublish_Results_Future

type SandstormApi_deprecatedPublish_Results_Future struct{ *capnp.Future }

SandstormApi_deprecatedPublish_Results_Future is a wrapper for a SandstormApi_deprecatedPublish_Results promised by a client call.

func (SandstormApi_deprecatedPublish_Results_Future) Struct

type SandstormApi_deprecatedPublish_Results_List

type SandstormApi_deprecatedPublish_Results_List = capnp.StructList[SandstormApi_deprecatedPublish_Results]

SandstormApi_deprecatedPublish_Results_List is a list of SandstormApi_deprecatedPublish_Results.

func NewSandstormApi_deprecatedPublish_Results_List

func NewSandstormApi_deprecatedPublish_Results_List(s *capnp.Segment, sz int32) (SandstormApi_deprecatedPublish_Results_List, error)

NewSandstormApi_deprecatedPublish_Results creates a new list of SandstormApi_deprecatedPublish_Results.

type SandstormApi_deprecatedRegisterAction

type SandstormApi_deprecatedRegisterAction struct {
	*server.Call
}

SandstormApi_deprecatedRegisterAction holds the state for a server call to SandstormApi.deprecatedRegisterAction. See server.Call for documentation.

func (SandstormApi_deprecatedRegisterAction) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_deprecatedRegisterAction) Args

Args returns the call's arguments.

type SandstormApi_deprecatedRegisterAction_Params

type SandstormApi_deprecatedRegisterAction_Params capnp.Struct

func NewRootSandstormApi_deprecatedRegisterAction_Params

func NewRootSandstormApi_deprecatedRegisterAction_Params(s *capnp.Segment) (SandstormApi_deprecatedRegisterAction_Params, error)

func NewSandstormApi_deprecatedRegisterAction_Params

func NewSandstormApi_deprecatedRegisterAction_Params(s *capnp.Segment) (SandstormApi_deprecatedRegisterAction_Params, error)

func ReadRootSandstormApi_deprecatedRegisterAction_Params

func ReadRootSandstormApi_deprecatedRegisterAction_Params(msg *capnp.Message) (SandstormApi_deprecatedRegisterAction_Params, error)

func (SandstormApi_deprecatedRegisterAction_Params) DecodeFromPtr

func (SandstormApi_deprecatedRegisterAction_Params) EncodeAsPtr

func (SandstormApi_deprecatedRegisterAction_Params) IsValid

func (SandstormApi_deprecatedRegisterAction_Params) Message

func (SandstormApi_deprecatedRegisterAction_Params) Segment

func (SandstormApi_deprecatedRegisterAction_Params) String

func (SandstormApi_deprecatedRegisterAction_Params) ToPtr

type SandstormApi_deprecatedRegisterAction_Params_Future

type SandstormApi_deprecatedRegisterAction_Params_Future struct{ *capnp.Future }

SandstormApi_deprecatedRegisterAction_Params_Future is a wrapper for a SandstormApi_deprecatedRegisterAction_Params promised by a client call.

func (SandstormApi_deprecatedRegisterAction_Params_Future) Struct

type SandstormApi_deprecatedRegisterAction_Params_List

type SandstormApi_deprecatedRegisterAction_Params_List = capnp.StructList[SandstormApi_deprecatedRegisterAction_Params]

SandstormApi_deprecatedRegisterAction_Params_List is a list of SandstormApi_deprecatedRegisterAction_Params.

func NewSandstormApi_deprecatedRegisterAction_Params_List

func NewSandstormApi_deprecatedRegisterAction_Params_List(s *capnp.Segment, sz int32) (SandstormApi_deprecatedRegisterAction_Params_List, error)

NewSandstormApi_deprecatedRegisterAction_Params creates a new list of SandstormApi_deprecatedRegisterAction_Params.

type SandstormApi_deprecatedRegisterAction_Results

type SandstormApi_deprecatedRegisterAction_Results capnp.Struct

func NewRootSandstormApi_deprecatedRegisterAction_Results

func NewRootSandstormApi_deprecatedRegisterAction_Results(s *capnp.Segment) (SandstormApi_deprecatedRegisterAction_Results, error)

func NewSandstormApi_deprecatedRegisterAction_Results

func NewSandstormApi_deprecatedRegisterAction_Results(s *capnp.Segment) (SandstormApi_deprecatedRegisterAction_Results, error)

func ReadRootSandstormApi_deprecatedRegisterAction_Results

func ReadRootSandstormApi_deprecatedRegisterAction_Results(msg *capnp.Message) (SandstormApi_deprecatedRegisterAction_Results, error)

func (SandstormApi_deprecatedRegisterAction_Results) DecodeFromPtr

func (SandstormApi_deprecatedRegisterAction_Results) EncodeAsPtr

func (SandstormApi_deprecatedRegisterAction_Results) IsValid

func (SandstormApi_deprecatedRegisterAction_Results) Message

func (SandstormApi_deprecatedRegisterAction_Results) Segment

func (SandstormApi_deprecatedRegisterAction_Results) String

func (SandstormApi_deprecatedRegisterAction_Results) ToPtr

type SandstormApi_deprecatedRegisterAction_Results_Future

type SandstormApi_deprecatedRegisterAction_Results_Future struct{ *capnp.Future }

SandstormApi_deprecatedRegisterAction_Results_Future is a wrapper for a SandstormApi_deprecatedRegisterAction_Results promised by a client call.

func (SandstormApi_deprecatedRegisterAction_Results_Future) Struct

type SandstormApi_deprecatedRegisterAction_Results_List

type SandstormApi_deprecatedRegisterAction_Results_List = capnp.StructList[SandstormApi_deprecatedRegisterAction_Results]

SandstormApi_deprecatedRegisterAction_Results_List is a list of SandstormApi_deprecatedRegisterAction_Results.

func NewSandstormApi_deprecatedRegisterAction_Results_List

func NewSandstormApi_deprecatedRegisterAction_Results_List(s *capnp.Segment, sz int32) (SandstormApi_deprecatedRegisterAction_Results_List, error)

NewSandstormApi_deprecatedRegisterAction_Results creates a new list of SandstormApi_deprecatedRegisterAction_Results.

type SandstormApi_drop

type SandstormApi_drop struct {
	*server.Call
}

SandstormApi_drop holds the state for a server call to SandstormApi.drop. See server.Call for documentation.

func (SandstormApi_drop) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_drop) Args

Args returns the call's arguments.

type SandstormApi_drop_Params

type SandstormApi_drop_Params capnp.Struct

func NewRootSandstormApi_drop_Params

func NewRootSandstormApi_drop_Params(s *capnp.Segment) (SandstormApi_drop_Params, error)

func NewSandstormApi_drop_Params

func NewSandstormApi_drop_Params(s *capnp.Segment) (SandstormApi_drop_Params, error)

func ReadRootSandstormApi_drop_Params

func ReadRootSandstormApi_drop_Params(msg *capnp.Message) (SandstormApi_drop_Params, error)

func (SandstormApi_drop_Params) DecodeFromPtr

func (SandstormApi_drop_Params) EncodeAsPtr

func (s SandstormApi_drop_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_drop_Params) HasToken

func (s SandstormApi_drop_Params) HasToken() bool

func (SandstormApi_drop_Params) IsValid

func (s SandstormApi_drop_Params) IsValid() bool

func (SandstormApi_drop_Params) Message

func (s SandstormApi_drop_Params) Message() *capnp.Message

func (SandstormApi_drop_Params) Segment

func (s SandstormApi_drop_Params) Segment() *capnp.Segment

func (SandstormApi_drop_Params) SetToken

func (s SandstormApi_drop_Params) SetToken(v []byte) error

func (SandstormApi_drop_Params) String

func (s SandstormApi_drop_Params) String() string

func (SandstormApi_drop_Params) ToPtr

func (SandstormApi_drop_Params) Token

func (s SandstormApi_drop_Params) Token() ([]byte, error)

type SandstormApi_drop_Params_Future

type SandstormApi_drop_Params_Future struct{ *capnp.Future }

SandstormApi_drop_Params_Future is a wrapper for a SandstormApi_drop_Params promised by a client call.

func (SandstormApi_drop_Params_Future) Struct

type SandstormApi_drop_Params_List

type SandstormApi_drop_Params_List = capnp.StructList[SandstormApi_drop_Params]

SandstormApi_drop_Params_List is a list of SandstormApi_drop_Params.

func NewSandstormApi_drop_Params_List

func NewSandstormApi_drop_Params_List(s *capnp.Segment, sz int32) (SandstormApi_drop_Params_List, error)

NewSandstormApi_drop_Params creates a new list of SandstormApi_drop_Params.

type SandstormApi_drop_Results

type SandstormApi_drop_Results capnp.Struct

func NewRootSandstormApi_drop_Results

func NewRootSandstormApi_drop_Results(s *capnp.Segment) (SandstormApi_drop_Results, error)

func NewSandstormApi_drop_Results

func NewSandstormApi_drop_Results(s *capnp.Segment) (SandstormApi_drop_Results, error)

func ReadRootSandstormApi_drop_Results

func ReadRootSandstormApi_drop_Results(msg *capnp.Message) (SandstormApi_drop_Results, error)

func (SandstormApi_drop_Results) DecodeFromPtr

func (SandstormApi_drop_Results) EncodeAsPtr

func (s SandstormApi_drop_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_drop_Results) IsValid

func (s SandstormApi_drop_Results) IsValid() bool

func (SandstormApi_drop_Results) Message

func (SandstormApi_drop_Results) Segment

func (SandstormApi_drop_Results) String

func (s SandstormApi_drop_Results) String() string

func (SandstormApi_drop_Results) ToPtr

type SandstormApi_drop_Results_Future

type SandstormApi_drop_Results_Future struct{ *capnp.Future }

SandstormApi_drop_Results_Future is a wrapper for a SandstormApi_drop_Results promised by a client call.

func (SandstormApi_drop_Results_Future) Struct

type SandstormApi_drop_Results_List

type SandstormApi_drop_Results_List = capnp.StructList[SandstormApi_drop_Results]

SandstormApi_drop_Results_List is a list of SandstormApi_drop_Results.

func NewSandstormApi_drop_Results_List

func NewSandstormApi_drop_Results_List(s *capnp.Segment, sz int32) (SandstormApi_drop_Results_List, error)

NewSandstormApi_drop_Results creates a new list of SandstormApi_drop_Results.

type SandstormApi_getIdentityId

type SandstormApi_getIdentityId struct {
	*server.Call
}

SandstormApi_getIdentityId holds the state for a server call to SandstormApi.getIdentityId. See server.Call for documentation.

func (SandstormApi_getIdentityId) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_getIdentityId) Args

Args returns the call's arguments.

type SandstormApi_getIdentityId_Params

type SandstormApi_getIdentityId_Params capnp.Struct

func NewRootSandstormApi_getIdentityId_Params

func NewRootSandstormApi_getIdentityId_Params(s *capnp.Segment) (SandstormApi_getIdentityId_Params, error)

func NewSandstormApi_getIdentityId_Params

func NewSandstormApi_getIdentityId_Params(s *capnp.Segment) (SandstormApi_getIdentityId_Params, error)

func ReadRootSandstormApi_getIdentityId_Params

func ReadRootSandstormApi_getIdentityId_Params(msg *capnp.Message) (SandstormApi_getIdentityId_Params, error)

func (SandstormApi_getIdentityId_Params) DecodeFromPtr

func (SandstormApi_getIdentityId_Params) EncodeAsPtr

func (SandstormApi_getIdentityId_Params) HasIdentity

func (s SandstormApi_getIdentityId_Params) HasIdentity() bool

func (SandstormApi_getIdentityId_Params) Identity

func (SandstormApi_getIdentityId_Params) IsValid

func (SandstormApi_getIdentityId_Params) Message

func (SandstormApi_getIdentityId_Params) Segment

func (SandstormApi_getIdentityId_Params) SetIdentity

func (SandstormApi_getIdentityId_Params) String

func (SandstormApi_getIdentityId_Params) ToPtr

type SandstormApi_getIdentityId_Params_Future

type SandstormApi_getIdentityId_Params_Future struct{ *capnp.Future }

SandstormApi_getIdentityId_Params_Future is a wrapper for a SandstormApi_getIdentityId_Params promised by a client call.

func (SandstormApi_getIdentityId_Params_Future) Identity

func (SandstormApi_getIdentityId_Params_Future) Struct

type SandstormApi_getIdentityId_Params_List

type SandstormApi_getIdentityId_Params_List = capnp.StructList[SandstormApi_getIdentityId_Params]

SandstormApi_getIdentityId_Params_List is a list of SandstormApi_getIdentityId_Params.

func NewSandstormApi_getIdentityId_Params_List

func NewSandstormApi_getIdentityId_Params_List(s *capnp.Segment, sz int32) (SandstormApi_getIdentityId_Params_List, error)

NewSandstormApi_getIdentityId_Params creates a new list of SandstormApi_getIdentityId_Params.

type SandstormApi_getIdentityId_Results

type SandstormApi_getIdentityId_Results capnp.Struct

func NewRootSandstormApi_getIdentityId_Results

func NewRootSandstormApi_getIdentityId_Results(s *capnp.Segment) (SandstormApi_getIdentityId_Results, error)

func NewSandstormApi_getIdentityId_Results

func NewSandstormApi_getIdentityId_Results(s *capnp.Segment) (SandstormApi_getIdentityId_Results, error)

func ReadRootSandstormApi_getIdentityId_Results

func ReadRootSandstormApi_getIdentityId_Results(msg *capnp.Message) (SandstormApi_getIdentityId_Results, error)

func (SandstormApi_getIdentityId_Results) DecodeFromPtr

func (SandstormApi_getIdentityId_Results) EncodeAsPtr

func (SandstormApi_getIdentityId_Results) HasId

func (SandstormApi_getIdentityId_Results) Id

func (SandstormApi_getIdentityId_Results) IsValid

func (SandstormApi_getIdentityId_Results) Message

func (SandstormApi_getIdentityId_Results) Segment

func (SandstormApi_getIdentityId_Results) SetId

func (SandstormApi_getIdentityId_Results) String

func (SandstormApi_getIdentityId_Results) ToPtr

type SandstormApi_getIdentityId_Results_Future

type SandstormApi_getIdentityId_Results_Future struct{ *capnp.Future }

SandstormApi_getIdentityId_Results_Future is a wrapper for a SandstormApi_getIdentityId_Results promised by a client call.

func (SandstormApi_getIdentityId_Results_Future) Struct

type SandstormApi_getIdentityId_Results_List

type SandstormApi_getIdentityId_Results_List = capnp.StructList[SandstormApi_getIdentityId_Results]

SandstormApi_getIdentityId_Results_List is a list of SandstormApi_getIdentityId_Results.

func NewSandstormApi_getIdentityId_Results_List

func NewSandstormApi_getIdentityId_Results_List(s *capnp.Segment, sz int32) (SandstormApi_getIdentityId_Results_List, error)

NewSandstormApi_getIdentityId_Results creates a new list of SandstormApi_getIdentityId_Results.

type SandstormApi_restore

type SandstormApi_restore struct {
	*server.Call
}

SandstormApi_restore holds the state for a server call to SandstormApi.restore. See server.Call for documentation.

func (SandstormApi_restore) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_restore) Args

Args returns the call's arguments.

type SandstormApi_restore_Params

type SandstormApi_restore_Params capnp.Struct

func NewRootSandstormApi_restore_Params

func NewRootSandstormApi_restore_Params(s *capnp.Segment) (SandstormApi_restore_Params, error)

func NewSandstormApi_restore_Params

func NewSandstormApi_restore_Params(s *capnp.Segment) (SandstormApi_restore_Params, error)

func ReadRootSandstormApi_restore_Params

func ReadRootSandstormApi_restore_Params(msg *capnp.Message) (SandstormApi_restore_Params, error)

func (SandstormApi_restore_Params) DecodeFromPtr

func (SandstormApi_restore_Params) EncodeAsPtr

func (s SandstormApi_restore_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_restore_Params) HasToken

func (s SandstormApi_restore_Params) HasToken() bool

func (SandstormApi_restore_Params) IsValid

func (s SandstormApi_restore_Params) IsValid() bool

func (SandstormApi_restore_Params) Message

func (SandstormApi_restore_Params) Segment

func (SandstormApi_restore_Params) SetToken

func (s SandstormApi_restore_Params) SetToken(v []byte) error

func (SandstormApi_restore_Params) String

func (SandstormApi_restore_Params) ToPtr

func (SandstormApi_restore_Params) Token

func (s SandstormApi_restore_Params) Token() ([]byte, error)

type SandstormApi_restore_Params_Future

type SandstormApi_restore_Params_Future struct{ *capnp.Future }

SandstormApi_restore_Params_Future is a wrapper for a SandstormApi_restore_Params promised by a client call.

func (SandstormApi_restore_Params_Future) Struct

type SandstormApi_restore_Params_List

type SandstormApi_restore_Params_List = capnp.StructList[SandstormApi_restore_Params]

SandstormApi_restore_Params_List is a list of SandstormApi_restore_Params.

func NewSandstormApi_restore_Params_List

func NewSandstormApi_restore_Params_List(s *capnp.Segment, sz int32) (SandstormApi_restore_Params_List, error)

NewSandstormApi_restore_Params creates a new list of SandstormApi_restore_Params.

type SandstormApi_restore_Results

type SandstormApi_restore_Results capnp.Struct

func NewRootSandstormApi_restore_Results

func NewRootSandstormApi_restore_Results(s *capnp.Segment) (SandstormApi_restore_Results, error)

func NewSandstormApi_restore_Results

func NewSandstormApi_restore_Results(s *capnp.Segment) (SandstormApi_restore_Results, error)

func ReadRootSandstormApi_restore_Results

func ReadRootSandstormApi_restore_Results(msg *capnp.Message) (SandstormApi_restore_Results, error)

func (SandstormApi_restore_Results) Cap

func (SandstormApi_restore_Results) DecodeFromPtr

func (SandstormApi_restore_Results) EncodeAsPtr

func (s SandstormApi_restore_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_restore_Results) HasCap

func (SandstormApi_restore_Results) IsValid

func (s SandstormApi_restore_Results) IsValid() bool

func (SandstormApi_restore_Results) Message

func (SandstormApi_restore_Results) Segment

func (SandstormApi_restore_Results) SetCap

func (SandstormApi_restore_Results) String

func (SandstormApi_restore_Results) ToPtr

type SandstormApi_restore_Results_Future

type SandstormApi_restore_Results_Future struct{ *capnp.Future }

SandstormApi_restore_Results_Future is a wrapper for a SandstormApi_restore_Results promised by a client call.

func (SandstormApi_restore_Results_Future) Cap

func (SandstormApi_restore_Results_Future) Struct

type SandstormApi_restore_Results_List

type SandstormApi_restore_Results_List = capnp.StructList[SandstormApi_restore_Results]

SandstormApi_restore_Results_List is a list of SandstormApi_restore_Results.

func NewSandstormApi_restore_Results_List

func NewSandstormApi_restore_Results_List(s *capnp.Segment, sz int32) (SandstormApi_restore_Results_List, error)

NewSandstormApi_restore_Results creates a new list of SandstormApi_restore_Results.

type SandstormApi_save

type SandstormApi_save struct {
	*server.Call
}

SandstormApi_save holds the state for a server call to SandstormApi.save. See server.Call for documentation.

func (SandstormApi_save) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_save) Args

Args returns the call's arguments.

type SandstormApi_save_Params

type SandstormApi_save_Params capnp.Struct

func NewRootSandstormApi_save_Params

func NewRootSandstormApi_save_Params(s *capnp.Segment) (SandstormApi_save_Params, error)

func NewSandstormApi_save_Params

func NewSandstormApi_save_Params(s *capnp.Segment) (SandstormApi_save_Params, error)

func ReadRootSandstormApi_save_Params

func ReadRootSandstormApi_save_Params(msg *capnp.Message) (SandstormApi_save_Params, error)

func (SandstormApi_save_Params) Cap

func (SandstormApi_save_Params) DecodeFromPtr

func (SandstormApi_save_Params) EncodeAsPtr

func (s SandstormApi_save_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_save_Params) HasCap

func (s SandstormApi_save_Params) HasCap() bool

func (SandstormApi_save_Params) HasLabel

func (s SandstormApi_save_Params) HasLabel() bool

func (SandstormApi_save_Params) IsValid

func (s SandstormApi_save_Params) IsValid() bool

func (SandstormApi_save_Params) Label

func (SandstormApi_save_Params) Message

func (s SandstormApi_save_Params) Message() *capnp.Message

func (SandstormApi_save_Params) NewLabel

NewLabel sets the label field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (SandstormApi_save_Params) Segment

func (s SandstormApi_save_Params) Segment() *capnp.Segment

func (SandstormApi_save_Params) SetCap

func (SandstormApi_save_Params) SetLabel

func (SandstormApi_save_Params) String

func (s SandstormApi_save_Params) String() string

func (SandstormApi_save_Params) ToPtr

type SandstormApi_save_Params_Future

type SandstormApi_save_Params_Future struct{ *capnp.Future }

SandstormApi_save_Params_Future is a wrapper for a SandstormApi_save_Params promised by a client call.

func (SandstormApi_save_Params_Future) Cap

func (SandstormApi_save_Params_Future) Label

func (SandstormApi_save_Params_Future) Struct

type SandstormApi_save_Params_List

type SandstormApi_save_Params_List = capnp.StructList[SandstormApi_save_Params]

SandstormApi_save_Params_List is a list of SandstormApi_save_Params.

func NewSandstormApi_save_Params_List

func NewSandstormApi_save_Params_List(s *capnp.Segment, sz int32) (SandstormApi_save_Params_List, error)

NewSandstormApi_save_Params creates a new list of SandstormApi_save_Params.

type SandstormApi_save_Results

type SandstormApi_save_Results capnp.Struct

func NewRootSandstormApi_save_Results

func NewRootSandstormApi_save_Results(s *capnp.Segment) (SandstormApi_save_Results, error)

func NewSandstormApi_save_Results

func NewSandstormApi_save_Results(s *capnp.Segment) (SandstormApi_save_Results, error)

func ReadRootSandstormApi_save_Results

func ReadRootSandstormApi_save_Results(msg *capnp.Message) (SandstormApi_save_Results, error)

func (SandstormApi_save_Results) DecodeFromPtr

func (SandstormApi_save_Results) EncodeAsPtr

func (s SandstormApi_save_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_save_Results) HasToken

func (s SandstormApi_save_Results) HasToken() bool

func (SandstormApi_save_Results) IsValid

func (s SandstormApi_save_Results) IsValid() bool

func (SandstormApi_save_Results) Message

func (SandstormApi_save_Results) Segment

func (SandstormApi_save_Results) SetToken

func (s SandstormApi_save_Results) SetToken(v []byte) error

func (SandstormApi_save_Results) String

func (s SandstormApi_save_Results) String() string

func (SandstormApi_save_Results) ToPtr

func (SandstormApi_save_Results) Token

func (s SandstormApi_save_Results) Token() ([]byte, error)

type SandstormApi_save_Results_Future

type SandstormApi_save_Results_Future struct{ *capnp.Future }

SandstormApi_save_Results_Future is a wrapper for a SandstormApi_save_Results promised by a client call.

func (SandstormApi_save_Results_Future) Struct

type SandstormApi_save_Results_List

type SandstormApi_save_Results_List = capnp.StructList[SandstormApi_save_Results]

SandstormApi_save_Results_List is a list of SandstormApi_save_Results.

func NewSandstormApi_save_Results_List

func NewSandstormApi_save_Results_List(s *capnp.Segment, sz int32) (SandstormApi_save_Results_List, error)

NewSandstormApi_save_Results creates a new list of SandstormApi_save_Results.

type SandstormApi_schedule

type SandstormApi_schedule struct {
	*server.Call
}

SandstormApi_schedule holds the state for a server call to SandstormApi.schedule. See server.Call for documentation.

func (SandstormApi_schedule) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_schedule) Args

Args returns the call's arguments.

type SandstormApi_schedule_Results

type SandstormApi_schedule_Results capnp.Struct

func NewRootSandstormApi_schedule_Results

func NewRootSandstormApi_schedule_Results(s *capnp.Segment) (SandstormApi_schedule_Results, error)

func NewSandstormApi_schedule_Results

func NewSandstormApi_schedule_Results(s *capnp.Segment) (SandstormApi_schedule_Results, error)

func ReadRootSandstormApi_schedule_Results

func ReadRootSandstormApi_schedule_Results(msg *capnp.Message) (SandstormApi_schedule_Results, error)

func (SandstormApi_schedule_Results) DecodeFromPtr

func (SandstormApi_schedule_Results) EncodeAsPtr

func (s SandstormApi_schedule_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_schedule_Results) IsValid

func (s SandstormApi_schedule_Results) IsValid() bool

func (SandstormApi_schedule_Results) Message

func (SandstormApi_schedule_Results) Segment

func (SandstormApi_schedule_Results) String

func (SandstormApi_schedule_Results) ToPtr

type SandstormApi_schedule_Results_Future

type SandstormApi_schedule_Results_Future struct{ *capnp.Future }

SandstormApi_schedule_Results_Future is a wrapper for a SandstormApi_schedule_Results promised by a client call.

func (SandstormApi_schedule_Results_Future) Struct

type SandstormApi_schedule_Results_List

type SandstormApi_schedule_Results_List = capnp.StructList[SandstormApi_schedule_Results]

SandstormApi_schedule_Results_List is a list of SandstormApi_schedule_Results.

func NewSandstormApi_schedule_Results_List

func NewSandstormApi_schedule_Results_List(s *capnp.Segment, sz int32) (SandstormApi_schedule_Results_List, error)

NewSandstormApi_schedule_Results creates a new list of SandstormApi_schedule_Results.

type SandstormApi_shareCap

type SandstormApi_shareCap struct {
	*server.Call
}

SandstormApi_shareCap holds the state for a server call to SandstormApi.shareCap. See server.Call for documentation.

func (SandstormApi_shareCap) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_shareCap) Args

Args returns the call's arguments.

type SandstormApi_shareCap_Params

type SandstormApi_shareCap_Params capnp.Struct

func NewRootSandstormApi_shareCap_Params

func NewRootSandstormApi_shareCap_Params(s *capnp.Segment) (SandstormApi_shareCap_Params, error)

func NewSandstormApi_shareCap_Params

func NewSandstormApi_shareCap_Params(s *capnp.Segment) (SandstormApi_shareCap_Params, error)

func ReadRootSandstormApi_shareCap_Params

func ReadRootSandstormApi_shareCap_Params(msg *capnp.Message) (SandstormApi_shareCap_Params, error)

func (SandstormApi_shareCap_Params) Cap

func (SandstormApi_shareCap_Params) DecodeFromPtr

func (SandstormApi_shareCap_Params) DisplayInfo

func (SandstormApi_shareCap_Params) EncodeAsPtr

func (s SandstormApi_shareCap_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_shareCap_Params) HasCap

func (SandstormApi_shareCap_Params) HasDisplayInfo

func (s SandstormApi_shareCap_Params) HasDisplayInfo() bool

func (SandstormApi_shareCap_Params) IsValid

func (s SandstormApi_shareCap_Params) IsValid() bool

func (SandstormApi_shareCap_Params) Message

func (SandstormApi_shareCap_Params) NewDisplayInfo

NewDisplayInfo sets the displayInfo field to a newly allocated powerbox.PowerboxDisplayInfo struct, preferring placement in s's segment.

func (SandstormApi_shareCap_Params) Segment

func (SandstormApi_shareCap_Params) SetCap

func (SandstormApi_shareCap_Params) SetDisplayInfo

func (SandstormApi_shareCap_Params) String

func (SandstormApi_shareCap_Params) ToPtr

type SandstormApi_shareCap_Params_Future

type SandstormApi_shareCap_Params_Future struct{ *capnp.Future }

SandstormApi_shareCap_Params_Future is a wrapper for a SandstormApi_shareCap_Params promised by a client call.

func (SandstormApi_shareCap_Params_Future) Cap

func (SandstormApi_shareCap_Params_Future) DisplayInfo

func (SandstormApi_shareCap_Params_Future) Struct

type SandstormApi_shareCap_Params_List

type SandstormApi_shareCap_Params_List = capnp.StructList[SandstormApi_shareCap_Params]

SandstormApi_shareCap_Params_List is a list of SandstormApi_shareCap_Params.

func NewSandstormApi_shareCap_Params_List

func NewSandstormApi_shareCap_Params_List(s *capnp.Segment, sz int32) (SandstormApi_shareCap_Params_List, error)

NewSandstormApi_shareCap_Params creates a new list of SandstormApi_shareCap_Params.

type SandstormApi_shareCap_Results

type SandstormApi_shareCap_Results capnp.Struct

func NewRootSandstormApi_shareCap_Results

func NewRootSandstormApi_shareCap_Results(s *capnp.Segment) (SandstormApi_shareCap_Results, error)

func NewSandstormApi_shareCap_Results

func NewSandstormApi_shareCap_Results(s *capnp.Segment) (SandstormApi_shareCap_Results, error)

func ReadRootSandstormApi_shareCap_Results

func ReadRootSandstormApi_shareCap_Results(msg *capnp.Message) (SandstormApi_shareCap_Results, error)

func (SandstormApi_shareCap_Results) DecodeFromPtr

func (SandstormApi_shareCap_Results) EncodeAsPtr

func (s SandstormApi_shareCap_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (s SandstormApi_shareCap_Results) HasLink() bool

func (SandstormApi_shareCap_Results) HasSharedCap

func (s SandstormApi_shareCap_Results) HasSharedCap() bool

func (SandstormApi_shareCap_Results) IsValid

func (s SandstormApi_shareCap_Results) IsValid() bool

func (SandstormApi_shareCap_Results) Message

func (SandstormApi_shareCap_Results) Segment

func (SandstormApi_shareCap_Results) SetSharedCap

func (s SandstormApi_shareCap_Results) SetSharedCap(c capnp.Client) error

func (SandstormApi_shareCap_Results) SharedCap

func (SandstormApi_shareCap_Results) String

func (SandstormApi_shareCap_Results) ToPtr

type SandstormApi_shareCap_Results_Future

type SandstormApi_shareCap_Results_Future struct{ *capnp.Future }

SandstormApi_shareCap_Results_Future is a wrapper for a SandstormApi_shareCap_Results promised by a client call.

func (SandstormApi_shareCap_Results_Future) SharedCap

func (SandstormApi_shareCap_Results_Future) Struct

type SandstormApi_shareCap_Results_List

type SandstormApi_shareCap_Results_List = capnp.StructList[SandstormApi_shareCap_Results]

SandstormApi_shareCap_Results_List is a list of SandstormApi_shareCap_Results.

func NewSandstormApi_shareCap_Results_List

func NewSandstormApi_shareCap_Results_List(s *capnp.Segment, sz int32) (SandstormApi_shareCap_Results_List, error)

NewSandstormApi_shareCap_Results creates a new list of SandstormApi_shareCap_Results.

type SandstormApi_shareView

type SandstormApi_shareView struct {
	*server.Call
}

SandstormApi_shareView holds the state for a server call to SandstormApi.shareView. See server.Call for documentation.

func (SandstormApi_shareView) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_shareView) Args

Args returns the call's arguments.

type SandstormApi_shareView_Params

type SandstormApi_shareView_Params capnp.Struct

func NewRootSandstormApi_shareView_Params

func NewRootSandstormApi_shareView_Params(s *capnp.Segment) (SandstormApi_shareView_Params, error)

func NewSandstormApi_shareView_Params

func NewSandstormApi_shareView_Params(s *capnp.Segment) (SandstormApi_shareView_Params, error)

func ReadRootSandstormApi_shareView_Params

func ReadRootSandstormApi_shareView_Params(msg *capnp.Message) (SandstormApi_shareView_Params, error)

func (SandstormApi_shareView_Params) DecodeFromPtr

func (SandstormApi_shareView_Params) EncodeAsPtr

func (s SandstormApi_shareView_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_shareView_Params) HasView

func (s SandstormApi_shareView_Params) HasView() bool

func (SandstormApi_shareView_Params) IsValid

func (s SandstormApi_shareView_Params) IsValid() bool

func (SandstormApi_shareView_Params) Message

func (SandstormApi_shareView_Params) Segment

func (SandstormApi_shareView_Params) SetView

func (SandstormApi_shareView_Params) String

func (SandstormApi_shareView_Params) ToPtr

func (SandstormApi_shareView_Params) View

type SandstormApi_shareView_Params_Future

type SandstormApi_shareView_Params_Future struct{ *capnp.Future }

SandstormApi_shareView_Params_Future is a wrapper for a SandstormApi_shareView_Params promised by a client call.

func (SandstormApi_shareView_Params_Future) Struct

func (SandstormApi_shareView_Params_Future) View

type SandstormApi_shareView_Params_List

type SandstormApi_shareView_Params_List = capnp.StructList[SandstormApi_shareView_Params]

SandstormApi_shareView_Params_List is a list of SandstormApi_shareView_Params.

func NewSandstormApi_shareView_Params_List

func NewSandstormApi_shareView_Params_List(s *capnp.Segment, sz int32) (SandstormApi_shareView_Params_List, error)

NewSandstormApi_shareView_Params creates a new list of SandstormApi_shareView_Params.

type SandstormApi_shareView_Results

type SandstormApi_shareView_Results capnp.Struct

func NewRootSandstormApi_shareView_Results

func NewRootSandstormApi_shareView_Results(s *capnp.Segment) (SandstormApi_shareView_Results, error)

func NewSandstormApi_shareView_Results

func NewSandstormApi_shareView_Results(s *capnp.Segment) (SandstormApi_shareView_Results, error)

func ReadRootSandstormApi_shareView_Results

func ReadRootSandstormApi_shareView_Results(msg *capnp.Message) (SandstormApi_shareView_Results, error)

func (SandstormApi_shareView_Results) DecodeFromPtr

func (SandstormApi_shareView_Results) EncodeAsPtr

func (SandstormApi_shareView_Results) HasSharedView

func (s SandstormApi_shareView_Results) HasSharedView() bool

func (SandstormApi_shareView_Results) IsValid

func (SandstormApi_shareView_Results) Message

func (SandstormApi_shareView_Results) Segment

func (SandstormApi_shareView_Results) SetSharedView

func (s SandstormApi_shareView_Results) SetSharedView(v UiView) error

func (SandstormApi_shareView_Results) SharedView

func (s SandstormApi_shareView_Results) SharedView() UiView

func (SandstormApi_shareView_Results) String

func (SandstormApi_shareView_Results) ToPtr

type SandstormApi_shareView_Results_Future

type SandstormApi_shareView_Results_Future struct{ *capnp.Future }

SandstormApi_shareView_Results_Future is a wrapper for a SandstormApi_shareView_Results promised by a client call.

func (SandstormApi_shareView_Results_Future) SharedView

func (SandstormApi_shareView_Results_Future) Struct

type SandstormApi_shareView_Results_List

type SandstormApi_shareView_Results_List = capnp.StructList[SandstormApi_shareView_Results]

SandstormApi_shareView_Results_List is a list of SandstormApi_shareView_Results.

func NewSandstormApi_shareView_Results_List

func NewSandstormApi_shareView_Results_List(s *capnp.Segment, sz int32) (SandstormApi_shareView_Results_List, error)

NewSandstormApi_shareView_Results creates a new list of SandstormApi_shareView_Results.

type SandstormApi_stayAwake

type SandstormApi_stayAwake struct {
	*server.Call
}

SandstormApi_stayAwake holds the state for a server call to SandstormApi.stayAwake. See server.Call for documentation.

func (SandstormApi_stayAwake) AllocResults

AllocResults allocates the results struct.

func (SandstormApi_stayAwake) Args

Args returns the call's arguments.

type SandstormApi_stayAwake_Params

type SandstormApi_stayAwake_Params capnp.Struct

func NewRootSandstormApi_stayAwake_Params

func NewRootSandstormApi_stayAwake_Params(s *capnp.Segment) (SandstormApi_stayAwake_Params, error)

func NewSandstormApi_stayAwake_Params

func NewSandstormApi_stayAwake_Params(s *capnp.Segment) (SandstormApi_stayAwake_Params, error)

func ReadRootSandstormApi_stayAwake_Params

func ReadRootSandstormApi_stayAwake_Params(msg *capnp.Message) (SandstormApi_stayAwake_Params, error)

func (SandstormApi_stayAwake_Params) DecodeFromPtr

func (SandstormApi_stayAwake_Params) DisplayInfo

func (SandstormApi_stayAwake_Params) EncodeAsPtr

func (s SandstormApi_stayAwake_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SandstormApi_stayAwake_Params) HasDisplayInfo

func (s SandstormApi_stayAwake_Params) HasDisplayInfo() bool

func (SandstormApi_stayAwake_Params) HasNotification

func (s SandstormApi_stayAwake_Params) HasNotification() bool

func (SandstormApi_stayAwake_Params) IsValid

func (s SandstormApi_stayAwake_Params) IsValid() bool

func (SandstormApi_stayAwake_Params) Message

func (SandstormApi_stayAwake_Params) NewDisplayInfo

NewDisplayInfo sets the displayInfo field to a newly allocated activity.NotificationDisplayInfo struct, preferring placement in s's segment.

func (SandstormApi_stayAwake_Params) Notification

func (SandstormApi_stayAwake_Params) Segment

func (SandstormApi_stayAwake_Params) SetDisplayInfo

func (SandstormApi_stayAwake_Params) SetNotification

func (SandstormApi_stayAwake_Params) String

func (SandstormApi_stayAwake_Params) ToPtr

type SandstormApi_stayAwake_Params_Future

type SandstormApi_stayAwake_Params_Future struct{ *capnp.Future }

SandstormApi_stayAwake_Params_Future is a wrapper for a SandstormApi_stayAwake_Params promised by a client call.

func (SandstormApi_stayAwake_Params_Future) DisplayInfo

func (SandstormApi_stayAwake_Params_Future) Notification

func (SandstormApi_stayAwake_Params_Future) Struct

type SandstormApi_stayAwake_Params_List

type SandstormApi_stayAwake_Params_List = capnp.StructList[SandstormApi_stayAwake_Params]

SandstormApi_stayAwake_Params_List is a list of SandstormApi_stayAwake_Params.

func NewSandstormApi_stayAwake_Params_List

func NewSandstormApi_stayAwake_Params_List(s *capnp.Segment, sz int32) (SandstormApi_stayAwake_Params_List, error)

NewSandstormApi_stayAwake_Params creates a new list of SandstormApi_stayAwake_Params.

type SandstormApi_stayAwake_Results

type SandstormApi_stayAwake_Results capnp.Struct

func NewRootSandstormApi_stayAwake_Results

func NewRootSandstormApi_stayAwake_Results(s *capnp.Segment) (SandstormApi_stayAwake_Results, error)

func NewSandstormApi_stayAwake_Results

func NewSandstormApi_stayAwake_Results(s *capnp.Segment) (SandstormApi_stayAwake_Results, error)

func ReadRootSandstormApi_stayAwake_Results

func ReadRootSandstormApi_stayAwake_Results(msg *capnp.Message) (SandstormApi_stayAwake_Results, error)

func (SandstormApi_stayAwake_Results) DecodeFromPtr

func (SandstormApi_stayAwake_Results) EncodeAsPtr

func (SandstormApi_stayAwake_Results) Handle

func (SandstormApi_stayAwake_Results) HasHandle

func (s SandstormApi_stayAwake_Results) HasHandle() bool

func (SandstormApi_stayAwake_Results) IsValid

func (SandstormApi_stayAwake_Results) Message

func (SandstormApi_stayAwake_Results) Segment

func (SandstormApi_stayAwake_Results) SetHandle

func (SandstormApi_stayAwake_Results) String

func (SandstormApi_stayAwake_Results) ToPtr

type SandstormApi_stayAwake_Results_Future

type SandstormApi_stayAwake_Results_Future struct{ *capnp.Future }

SandstormApi_stayAwake_Results_Future is a wrapper for a SandstormApi_stayAwake_Results promised by a client call.

func (SandstormApi_stayAwake_Results_Future) Handle

func (SandstormApi_stayAwake_Results_Future) Struct

type SandstormApi_stayAwake_Results_List

type SandstormApi_stayAwake_Results_List = capnp.StructList[SandstormApi_stayAwake_Results]

SandstormApi_stayAwake_Results_List is a list of SandstormApi_stayAwake_Results.

func NewSandstormApi_stayAwake_Results_List

func NewSandstormApi_stayAwake_Results_List(s *capnp.Segment, sz int32) (SandstormApi_stayAwake_Results_List, error)

NewSandstormApi_stayAwake_Results creates a new list of SandstormApi_stayAwake_Results.

type ScheduledJob

type ScheduledJob capnp.Struct

func NewRootScheduledJob

func NewRootScheduledJob(s *capnp.Segment) (ScheduledJob, error)

func NewScheduledJob

func NewScheduledJob(s *capnp.Segment) (ScheduledJob, error)

func ReadRootScheduledJob

func ReadRootScheduledJob(msg *capnp.Message) (ScheduledJob, error)

func (ScheduledJob) Callback

func (s ScheduledJob) Callback() ScheduledJob_Callback

func (ScheduledJob) DecodeFromPtr

func (ScheduledJob) DecodeFromPtr(p capnp.Ptr) ScheduledJob

func (ScheduledJob) EncodeAsPtr

func (s ScheduledJob) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (ScheduledJob) HasCallback

func (s ScheduledJob) HasCallback() bool

func (ScheduledJob) HasName

func (s ScheduledJob) HasName() bool

func (ScheduledJob) IsValid

func (s ScheduledJob) IsValid() bool

func (ScheduledJob) Message

func (s ScheduledJob) Message() *capnp.Message

func (ScheduledJob) Name

func (s ScheduledJob) Name() (util.LocalizedText, error)

func (ScheduledJob) NewName

func (s ScheduledJob) NewName() (util.LocalizedText, error)

NewName sets the name field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (ScheduledJob) Schedule

func (s ScheduledJob) Schedule() ScheduledJob_schedule

func (ScheduledJob) Segment

func (s ScheduledJob) Segment() *capnp.Segment

func (ScheduledJob) SetCallback

func (s ScheduledJob) SetCallback(v ScheduledJob_Callback) error

func (ScheduledJob) SetName

func (s ScheduledJob) SetName(v util.LocalizedText) error

func (ScheduledJob) String

func (s ScheduledJob) String() string

func (ScheduledJob) ToPtr

func (s ScheduledJob) ToPtr() capnp.Ptr

type ScheduledJob_Callback

type ScheduledJob_Callback capnp.Client

func ScheduledJob_Callback_ServerToClient

func ScheduledJob_Callback_ServerToClient(s ScheduledJob_Callback_Server) ScheduledJob_Callback

ScheduledJob_Callback_ServerToClient creates a new Client from an implementation of ScheduledJob_Callback_Server. The caller is responsible for calling Release on the returned Client.

func (ScheduledJob_Callback) 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 (ScheduledJob_Callback) DecodeFromPtr

func (ScheduledJob_Callback) EncodeAsPtr

func (c ScheduledJob_Callback) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (ScheduledJob_Callback) GetFlowLimiter

func (c ScheduledJob_Callback) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (ScheduledJob_Callback) 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 (ScheduledJob_Callback) IsValid

func (c ScheduledJob_Callback) 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 (ScheduledJob_Callback) Release

func (c ScheduledJob_Callback) 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 (ScheduledJob_Callback) Resolve

func (c ScheduledJob_Callback) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (ScheduledJob_Callback) SetFlowLimiter

func (c ScheduledJob_Callback) 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 (ScheduledJob_Callback) String

func (c ScheduledJob_Callback) 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.

type ScheduledJob_Callback_List

type ScheduledJob_Callback_List = capnp.CapList[ScheduledJob_Callback]

ScheduledJob_Callback_List is a list of ScheduledJob_Callback.

func NewScheduledJob_Callback_List

func NewScheduledJob_Callback_List(s *capnp.Segment, sz int32) (ScheduledJob_Callback_List, error)

NewScheduledJob_Callback creates a new list of ScheduledJob_Callback.

type ScheduledJob_Callback_Server

type ScheduledJob_Callback_Server interface {
	Run(context.Context, ScheduledJob_Callback_run) error
}

type ScheduledJob_Callback_run

type ScheduledJob_Callback_run struct {
	*server.Call
}

ScheduledJob_Callback_run holds the state for a server call to ScheduledJob_Callback.run. See server.Call for documentation.

func (ScheduledJob_Callback_run) AllocResults

AllocResults allocates the results struct.

func (ScheduledJob_Callback_run) Args

Args returns the call's arguments.

type ScheduledJob_Callback_run_Params

type ScheduledJob_Callback_run_Params capnp.Struct

func NewRootScheduledJob_Callback_run_Params

func NewRootScheduledJob_Callback_run_Params(s *capnp.Segment) (ScheduledJob_Callback_run_Params, error)

func NewScheduledJob_Callback_run_Params

func NewScheduledJob_Callback_run_Params(s *capnp.Segment) (ScheduledJob_Callback_run_Params, error)

func ReadRootScheduledJob_Callback_run_Params

func ReadRootScheduledJob_Callback_run_Params(msg *capnp.Message) (ScheduledJob_Callback_run_Params, error)

func (ScheduledJob_Callback_run_Params) DecodeFromPtr

func (ScheduledJob_Callback_run_Params) EncodeAsPtr

func (ScheduledJob_Callback_run_Params) IsValid

func (ScheduledJob_Callback_run_Params) Message

func (ScheduledJob_Callback_run_Params) Segment

func (ScheduledJob_Callback_run_Params) String

func (ScheduledJob_Callback_run_Params) ToPtr

type ScheduledJob_Callback_run_Params_Future

type ScheduledJob_Callback_run_Params_Future struct{ *capnp.Future }

ScheduledJob_Callback_run_Params_Future is a wrapper for a ScheduledJob_Callback_run_Params promised by a client call.

func (ScheduledJob_Callback_run_Params_Future) Struct

type ScheduledJob_Callback_run_Params_List

type ScheduledJob_Callback_run_Params_List = capnp.StructList[ScheduledJob_Callback_run_Params]

ScheduledJob_Callback_run_Params_List is a list of ScheduledJob_Callback_run_Params.

func NewScheduledJob_Callback_run_Params_List

func NewScheduledJob_Callback_run_Params_List(s *capnp.Segment, sz int32) (ScheduledJob_Callback_run_Params_List, error)

NewScheduledJob_Callback_run_Params creates a new list of ScheduledJob_Callback_run_Params.

type ScheduledJob_Callback_run_Results

type ScheduledJob_Callback_run_Results capnp.Struct

func NewRootScheduledJob_Callback_run_Results

func NewRootScheduledJob_Callback_run_Results(s *capnp.Segment) (ScheduledJob_Callback_run_Results, error)

func NewScheduledJob_Callback_run_Results

func NewScheduledJob_Callback_run_Results(s *capnp.Segment) (ScheduledJob_Callback_run_Results, error)

func ReadRootScheduledJob_Callback_run_Results

func ReadRootScheduledJob_Callback_run_Results(msg *capnp.Message) (ScheduledJob_Callback_run_Results, error)

func (ScheduledJob_Callback_run_Results) CancelFutureRuns

func (s ScheduledJob_Callback_run_Results) CancelFutureRuns() bool

func (ScheduledJob_Callback_run_Results) DecodeFromPtr

func (ScheduledJob_Callback_run_Results) EncodeAsPtr

func (ScheduledJob_Callback_run_Results) IsValid

func (ScheduledJob_Callback_run_Results) Message

func (ScheduledJob_Callback_run_Results) Segment

func (ScheduledJob_Callback_run_Results) SetCancelFutureRuns

func (s ScheduledJob_Callback_run_Results) SetCancelFutureRuns(v bool)

func (ScheduledJob_Callback_run_Results) String

func (ScheduledJob_Callback_run_Results) ToPtr

type ScheduledJob_Callback_run_Results_Future

type ScheduledJob_Callback_run_Results_Future struct{ *capnp.Future }

ScheduledJob_Callback_run_Results_Future is a wrapper for a ScheduledJob_Callback_run_Results promised by a client call.

func (ScheduledJob_Callback_run_Results_Future) Struct

type ScheduledJob_Callback_run_Results_List

type ScheduledJob_Callback_run_Results_List = capnp.StructList[ScheduledJob_Callback_run_Results]

ScheduledJob_Callback_run_Results_List is a list of ScheduledJob_Callback_run_Results.

func NewScheduledJob_Callback_run_Results_List

func NewScheduledJob_Callback_run_Results_List(s *capnp.Segment, sz int32) (ScheduledJob_Callback_run_Results_List, error)

NewScheduledJob_Callback_run_Results creates a new list of ScheduledJob_Callback_run_Results.

type ScheduledJob_Future

type ScheduledJob_Future struct{ *capnp.Future }

ScheduledJob_Future is a wrapper for a ScheduledJob promised by a client call.

func (ScheduledJob_Future) Callback

func (ScheduledJob_Future) Name

func (ScheduledJob_Future) Schedule

func (ScheduledJob_Future) Struct

func (f ScheduledJob_Future) Struct() (ScheduledJob, error)

type ScheduledJob_List

type ScheduledJob_List = capnp.StructList[ScheduledJob]

ScheduledJob_List is a list of ScheduledJob.

func NewScheduledJob_List

func NewScheduledJob_List(s *capnp.Segment, sz int32) (ScheduledJob_List, error)

NewScheduledJob creates a new list of ScheduledJob.

type ScheduledJob_schedule

type ScheduledJob_schedule ScheduledJob

func (ScheduledJob_schedule) IsValid

func (s ScheduledJob_schedule) IsValid() bool

func (ScheduledJob_schedule) Message

func (s ScheduledJob_schedule) Message() *capnp.Message

func (ScheduledJob_schedule) OneShot

func (ScheduledJob_schedule) Periodic

func (ScheduledJob_schedule) Segment

func (s ScheduledJob_schedule) Segment() *capnp.Segment

func (ScheduledJob_schedule) SetOneShot

func (s ScheduledJob_schedule) SetOneShot()

func (ScheduledJob_schedule) SetPeriodic

func (s ScheduledJob_schedule) SetPeriodic(v SchedulingPeriod)

func (ScheduledJob_schedule) Which

type ScheduledJob_schedule_Future

type ScheduledJob_schedule_Future struct{ *capnp.Future }

ScheduledJob_schedule_Future is a wrapper for a ScheduledJob_schedule promised by a client call.

func (ScheduledJob_schedule_Future) OneShot

func (ScheduledJob_schedule_Future) Struct

type ScheduledJob_schedule_Which

type ScheduledJob_schedule_Which uint16
const (
	ScheduledJob_schedule_Which_oneShot  ScheduledJob_schedule_Which = 0
	ScheduledJob_schedule_Which_periodic ScheduledJob_schedule_Which = 1
)

func (ScheduledJob_schedule_Which) String

type ScheduledJob_schedule_oneShot

type ScheduledJob_schedule_oneShot ScheduledJob

func (ScheduledJob_schedule_oneShot) IsValid

func (s ScheduledJob_schedule_oneShot) IsValid() bool

func (ScheduledJob_schedule_oneShot) Message

func (ScheduledJob_schedule_oneShot) Segment

func (ScheduledJob_schedule_oneShot) SetSlack

func (s ScheduledJob_schedule_oneShot) SetSlack(v uint64)

func (ScheduledJob_schedule_oneShot) SetWhen

func (s ScheduledJob_schedule_oneShot) SetWhen(v int64)

func (ScheduledJob_schedule_oneShot) Slack

func (ScheduledJob_schedule_oneShot) When

type ScheduledJob_schedule_oneShot_Future

type ScheduledJob_schedule_oneShot_Future struct{ *capnp.Future }

ScheduledJob_schedule_oneShot_Future is a wrapper for a ScheduledJob_schedule_oneShot promised by a client call.

func (ScheduledJob_schedule_oneShot_Future) Struct

type SchedulingPeriod

type SchedulingPeriod uint16
const (
	SchedulingPeriod_annually SchedulingPeriod = 3
	SchedulingPeriod_monthly  SchedulingPeriod = 2
	SchedulingPeriod_weekly   SchedulingPeriod = 4
	SchedulingPeriod_daily    SchedulingPeriod = 1
	SchedulingPeriod_hourly   SchedulingPeriod = 0
)

Values of SchedulingPeriod.

func SchedulingPeriodFromString

func SchedulingPeriodFromString(c string) SchedulingPeriod

SchedulingPeriodFromString returns the enum value with a name, or the zero value if there's no such value.

func (SchedulingPeriod) String

func (c SchedulingPeriod) String() string

String returns the enum's constant name.

type SchedulingPeriod_List

type SchedulingPeriod_List = capnp.EnumList[SchedulingPeriod]

func NewSchedulingPeriod_List

func NewSchedulingPeriod_List(s *capnp.Segment, sz int32) (SchedulingPeriod_List, error)

type SessionContext

type SessionContext capnp.Client

func SessionContext_ServerToClient

func SessionContext_ServerToClient(s SessionContext_Server) SessionContext

SessionContext_ServerToClient creates a new Client from an implementation of SessionContext_Server. The caller is responsible for calling Release on the returned Client.

func (SessionContext) Activity

func (SessionContext) AddRef

func (c SessionContext) AddRef() SessionContext

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 (SessionContext) ClaimRequest

func (SessionContext) DecodeFromPtr

func (SessionContext) DecodeFromPtr(p capnp.Ptr) SessionContext

func (SessionContext) EncodeAsPtr

func (c SessionContext) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SessionContext) FulfillRequest

func (SessionContext) GetFlowLimiter

func (c SessionContext) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (SessionContext) GetSharedPermissions

func (SessionContext) IsSame

func (c SessionContext) IsSame(other SessionContext) 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 (SessionContext) IsValid

func (c SessionContext) 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 (SessionContext) OpenView

func (SessionContext) Release

func (c SessionContext) 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 (SessionContext) Request

func (SessionContext) Resolve

func (c SessionContext) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (SessionContext) SetFlowLimiter

func (c SessionContext) 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 (SessionContext) String

func (c SessionContext) 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 (SessionContext) TieToUser

type SessionContext_List

type SessionContext_List = capnp.CapList[SessionContext]

SessionContext_List is a list of SessionContext.

func NewSessionContext_List

func NewSessionContext_List(s *capnp.Segment, sz int32) (SessionContext_List, error)

NewSessionContext creates a new list of SessionContext.

type SessionContext_activity

type SessionContext_activity struct {
	*server.Call
}

SessionContext_activity holds the state for a server call to SessionContext.activity. See server.Call for documentation.

func (SessionContext_activity) AllocResults

AllocResults allocates the results struct.

func (SessionContext_activity) Args

Args returns the call's arguments.

type SessionContext_activity_Params

type SessionContext_activity_Params capnp.Struct

func NewRootSessionContext_activity_Params

func NewRootSessionContext_activity_Params(s *capnp.Segment) (SessionContext_activity_Params, error)

func NewSessionContext_activity_Params

func NewSessionContext_activity_Params(s *capnp.Segment) (SessionContext_activity_Params, error)

func ReadRootSessionContext_activity_Params

func ReadRootSessionContext_activity_Params(msg *capnp.Message) (SessionContext_activity_Params, error)

func (SessionContext_activity_Params) DecodeFromPtr

func (SessionContext_activity_Params) EncodeAsPtr

func (SessionContext_activity_Params) Event

func (SessionContext_activity_Params) HasEvent

func (s SessionContext_activity_Params) HasEvent() bool

func (SessionContext_activity_Params) IsValid

func (SessionContext_activity_Params) Message

func (SessionContext_activity_Params) NewEvent

NewEvent sets the event field to a newly allocated activity.ActivityEvent struct, preferring placement in s's segment.

func (SessionContext_activity_Params) Segment

func (SessionContext_activity_Params) SetEvent

func (SessionContext_activity_Params) String

func (SessionContext_activity_Params) ToPtr

type SessionContext_activity_Params_Future

type SessionContext_activity_Params_Future struct{ *capnp.Future }

SessionContext_activity_Params_Future is a wrapper for a SessionContext_activity_Params promised by a client call.

func (SessionContext_activity_Params_Future) Event

func (SessionContext_activity_Params_Future) Struct

type SessionContext_activity_Params_List

type SessionContext_activity_Params_List = capnp.StructList[SessionContext_activity_Params]

SessionContext_activity_Params_List is a list of SessionContext_activity_Params.

func NewSessionContext_activity_Params_List

func NewSessionContext_activity_Params_List(s *capnp.Segment, sz int32) (SessionContext_activity_Params_List, error)

NewSessionContext_activity_Params creates a new list of SessionContext_activity_Params.

type SessionContext_activity_Results

type SessionContext_activity_Results capnp.Struct

func NewRootSessionContext_activity_Results

func NewRootSessionContext_activity_Results(s *capnp.Segment) (SessionContext_activity_Results, error)

func NewSessionContext_activity_Results

func NewSessionContext_activity_Results(s *capnp.Segment) (SessionContext_activity_Results, error)

func ReadRootSessionContext_activity_Results

func ReadRootSessionContext_activity_Results(msg *capnp.Message) (SessionContext_activity_Results, error)

func (SessionContext_activity_Results) DecodeFromPtr

func (SessionContext_activity_Results) EncodeAsPtr

func (SessionContext_activity_Results) IsValid

func (SessionContext_activity_Results) Message

func (SessionContext_activity_Results) Segment

func (SessionContext_activity_Results) String

func (SessionContext_activity_Results) ToPtr

type SessionContext_activity_Results_Future

type SessionContext_activity_Results_Future struct{ *capnp.Future }

SessionContext_activity_Results_Future is a wrapper for a SessionContext_activity_Results promised by a client call.

func (SessionContext_activity_Results_Future) Struct

type SessionContext_activity_Results_List

type SessionContext_activity_Results_List = capnp.StructList[SessionContext_activity_Results]

SessionContext_activity_Results_List is a list of SessionContext_activity_Results.

func NewSessionContext_activity_Results_List

func NewSessionContext_activity_Results_List(s *capnp.Segment, sz int32) (SessionContext_activity_Results_List, error)

NewSessionContext_activity_Results creates a new list of SessionContext_activity_Results.

type SessionContext_claimRequest

type SessionContext_claimRequest struct {
	*server.Call
}

SessionContext_claimRequest holds the state for a server call to SessionContext.claimRequest. See server.Call for documentation.

func (SessionContext_claimRequest) AllocResults

AllocResults allocates the results struct.

func (SessionContext_claimRequest) Args

Args returns the call's arguments.

type SessionContext_claimRequest_Params

type SessionContext_claimRequest_Params capnp.Struct

func NewRootSessionContext_claimRequest_Params

func NewRootSessionContext_claimRequest_Params(s *capnp.Segment) (SessionContext_claimRequest_Params, error)

func NewSessionContext_claimRequest_Params

func NewSessionContext_claimRequest_Params(s *capnp.Segment) (SessionContext_claimRequest_Params, error)

func ReadRootSessionContext_claimRequest_Params

func ReadRootSessionContext_claimRequest_Params(msg *capnp.Message) (SessionContext_claimRequest_Params, error)

func (SessionContext_claimRequest_Params) DecodeFromPtr

func (SessionContext_claimRequest_Params) EncodeAsPtr

func (SessionContext_claimRequest_Params) HasRequestToken

func (s SessionContext_claimRequest_Params) HasRequestToken() bool

func (SessionContext_claimRequest_Params) HasRequiredPermissions

func (s SessionContext_claimRequest_Params) HasRequiredPermissions() bool

func (SessionContext_claimRequest_Params) IsValid

func (SessionContext_claimRequest_Params) Message

func (SessionContext_claimRequest_Params) NewRequiredPermissions

func (s SessionContext_claimRequest_Params) NewRequiredPermissions(n int32) (capnp.BitList, error)

NewRequiredPermissions sets the requiredPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (SessionContext_claimRequest_Params) RequestToken

func (s SessionContext_claimRequest_Params) RequestToken() (string, error)

func (SessionContext_claimRequest_Params) RequestTokenBytes

func (s SessionContext_claimRequest_Params) RequestTokenBytes() ([]byte, error)

func (SessionContext_claimRequest_Params) RequiredPermissions

func (s SessionContext_claimRequest_Params) RequiredPermissions() (capnp.BitList, error)

func (SessionContext_claimRequest_Params) Segment

func (SessionContext_claimRequest_Params) SetRequestToken

func (s SessionContext_claimRequest_Params) SetRequestToken(v string) error

func (SessionContext_claimRequest_Params) SetRequiredPermissions

func (s SessionContext_claimRequest_Params) SetRequiredPermissions(v capnp.BitList) error

func (SessionContext_claimRequest_Params) String

func (SessionContext_claimRequest_Params) ToPtr

type SessionContext_claimRequest_Params_Future

type SessionContext_claimRequest_Params_Future struct{ *capnp.Future }

SessionContext_claimRequest_Params_Future is a wrapper for a SessionContext_claimRequest_Params promised by a client call.

func (SessionContext_claimRequest_Params_Future) Struct

type SessionContext_claimRequest_Params_List

type SessionContext_claimRequest_Params_List = capnp.StructList[SessionContext_claimRequest_Params]

SessionContext_claimRequest_Params_List is a list of SessionContext_claimRequest_Params.

func NewSessionContext_claimRequest_Params_List

func NewSessionContext_claimRequest_Params_List(s *capnp.Segment, sz int32) (SessionContext_claimRequest_Params_List, error)

NewSessionContext_claimRequest_Params creates a new list of SessionContext_claimRequest_Params.

type SessionContext_claimRequest_Results

type SessionContext_claimRequest_Results capnp.Struct

func NewRootSessionContext_claimRequest_Results

func NewRootSessionContext_claimRequest_Results(s *capnp.Segment) (SessionContext_claimRequest_Results, error)

func NewSessionContext_claimRequest_Results

func NewSessionContext_claimRequest_Results(s *capnp.Segment) (SessionContext_claimRequest_Results, error)

func ReadRootSessionContext_claimRequest_Results

func ReadRootSessionContext_claimRequest_Results(msg *capnp.Message) (SessionContext_claimRequest_Results, error)

func (SessionContext_claimRequest_Results) Cap

func (SessionContext_claimRequest_Results) DecodeFromPtr

func (SessionContext_claimRequest_Results) EncodeAsPtr

func (SessionContext_claimRequest_Results) HasCap

func (SessionContext_claimRequest_Results) IsValid

func (SessionContext_claimRequest_Results) Message

func (SessionContext_claimRequest_Results) Segment

func (SessionContext_claimRequest_Results) SetCap

func (SessionContext_claimRequest_Results) String

func (SessionContext_claimRequest_Results) ToPtr

type SessionContext_claimRequest_Results_Future

type SessionContext_claimRequest_Results_Future struct{ *capnp.Future }

SessionContext_claimRequest_Results_Future is a wrapper for a SessionContext_claimRequest_Results promised by a client call.

func (SessionContext_claimRequest_Results_Future) Cap

func (SessionContext_claimRequest_Results_Future) Struct

type SessionContext_claimRequest_Results_List

type SessionContext_claimRequest_Results_List = capnp.StructList[SessionContext_claimRequest_Results]

SessionContext_claimRequest_Results_List is a list of SessionContext_claimRequest_Results.

func NewSessionContext_claimRequest_Results_List

func NewSessionContext_claimRequest_Results_List(s *capnp.Segment, sz int32) (SessionContext_claimRequest_Results_List, error)

NewSessionContext_claimRequest_Results creates a new list of SessionContext_claimRequest_Results.

type SessionContext_close

type SessionContext_close struct {
	*server.Call
}

SessionContext_close holds the state for a server call to SessionContext.close. See server.Call for documentation.

func (SessionContext_close) AllocResults

AllocResults allocates the results struct.

func (SessionContext_close) Args

Args returns the call's arguments.

type SessionContext_close_Params

type SessionContext_close_Params capnp.Struct

func NewRootSessionContext_close_Params

func NewRootSessionContext_close_Params(s *capnp.Segment) (SessionContext_close_Params, error)

func NewSessionContext_close_Params

func NewSessionContext_close_Params(s *capnp.Segment) (SessionContext_close_Params, error)

func ReadRootSessionContext_close_Params

func ReadRootSessionContext_close_Params(msg *capnp.Message) (SessionContext_close_Params, error)

func (SessionContext_close_Params) DecodeFromPtr

func (SessionContext_close_Params) EncodeAsPtr

func (s SessionContext_close_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SessionContext_close_Params) IsValid

func (s SessionContext_close_Params) IsValid() bool

func (SessionContext_close_Params) Message

func (SessionContext_close_Params) Segment

func (SessionContext_close_Params) String

func (SessionContext_close_Params) ToPtr

type SessionContext_close_Params_Future

type SessionContext_close_Params_Future struct{ *capnp.Future }

SessionContext_close_Params_Future is a wrapper for a SessionContext_close_Params promised by a client call.

func (SessionContext_close_Params_Future) Struct

type SessionContext_close_Params_List

type SessionContext_close_Params_List = capnp.StructList[SessionContext_close_Params]

SessionContext_close_Params_List is a list of SessionContext_close_Params.

func NewSessionContext_close_Params_List

func NewSessionContext_close_Params_List(s *capnp.Segment, sz int32) (SessionContext_close_Params_List, error)

NewSessionContext_close_Params creates a new list of SessionContext_close_Params.

type SessionContext_close_Results

type SessionContext_close_Results capnp.Struct

func NewRootSessionContext_close_Results

func NewRootSessionContext_close_Results(s *capnp.Segment) (SessionContext_close_Results, error)

func NewSessionContext_close_Results

func NewSessionContext_close_Results(s *capnp.Segment) (SessionContext_close_Results, error)

func ReadRootSessionContext_close_Results

func ReadRootSessionContext_close_Results(msg *capnp.Message) (SessionContext_close_Results, error)

func (SessionContext_close_Results) DecodeFromPtr

func (SessionContext_close_Results) EncodeAsPtr

func (s SessionContext_close_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SessionContext_close_Results) IsValid

func (s SessionContext_close_Results) IsValid() bool

func (SessionContext_close_Results) Message

func (SessionContext_close_Results) Segment

func (SessionContext_close_Results) String

func (SessionContext_close_Results) ToPtr

type SessionContext_close_Results_Future

type SessionContext_close_Results_Future struct{ *capnp.Future }

SessionContext_close_Results_Future is a wrapper for a SessionContext_close_Results promised by a client call.

func (SessionContext_close_Results_Future) Struct

type SessionContext_close_Results_List

type SessionContext_close_Results_List = capnp.StructList[SessionContext_close_Results]

SessionContext_close_Results_List is a list of SessionContext_close_Results.

func NewSessionContext_close_Results_List

func NewSessionContext_close_Results_List(s *capnp.Segment, sz int32) (SessionContext_close_Results_List, error)

NewSessionContext_close_Results creates a new list of SessionContext_close_Results.

type SessionContext_fulfillRequest

type SessionContext_fulfillRequest struct {
	*server.Call
}

SessionContext_fulfillRequest holds the state for a server call to SessionContext.fulfillRequest. See server.Call for documentation.

func (SessionContext_fulfillRequest) AllocResults

AllocResults allocates the results struct.

func (SessionContext_fulfillRequest) Args

Args returns the call's arguments.

type SessionContext_fulfillRequest_Params

type SessionContext_fulfillRequest_Params capnp.Struct

func NewRootSessionContext_fulfillRequest_Params

func NewRootSessionContext_fulfillRequest_Params(s *capnp.Segment) (SessionContext_fulfillRequest_Params, error)

func NewSessionContext_fulfillRequest_Params

func NewSessionContext_fulfillRequest_Params(s *capnp.Segment) (SessionContext_fulfillRequest_Params, error)

func ReadRootSessionContext_fulfillRequest_Params

func ReadRootSessionContext_fulfillRequest_Params(msg *capnp.Message) (SessionContext_fulfillRequest_Params, error)

func (SessionContext_fulfillRequest_Params) Cap

func (SessionContext_fulfillRequest_Params) DecodeFromPtr

func (SessionContext_fulfillRequest_Params) Descriptor

func (SessionContext_fulfillRequest_Params) DisplayInfo

func (SessionContext_fulfillRequest_Params) EncodeAsPtr

func (SessionContext_fulfillRequest_Params) HasCap

func (SessionContext_fulfillRequest_Params) HasDescriptor

func (s SessionContext_fulfillRequest_Params) HasDescriptor() bool

func (SessionContext_fulfillRequest_Params) HasDisplayInfo

func (s SessionContext_fulfillRequest_Params) HasDisplayInfo() bool

func (SessionContext_fulfillRequest_Params) HasRequiredPermissions

func (s SessionContext_fulfillRequest_Params) HasRequiredPermissions() bool

func (SessionContext_fulfillRequest_Params) IsValid

func (SessionContext_fulfillRequest_Params) Message

func (SessionContext_fulfillRequest_Params) NewDescriptor

NewDescriptor sets the descriptor field to a newly allocated powerbox.PowerboxDescriptor struct, preferring placement in s's segment.

func (SessionContext_fulfillRequest_Params) NewDisplayInfo

NewDisplayInfo sets the displayInfo field to a newly allocated powerbox.PowerboxDisplayInfo struct, preferring placement in s's segment.

func (SessionContext_fulfillRequest_Params) NewRequiredPermissions

func (s SessionContext_fulfillRequest_Params) NewRequiredPermissions(n int32) (capnp.BitList, error)

NewRequiredPermissions sets the requiredPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (SessionContext_fulfillRequest_Params) RequiredPermissions

func (s SessionContext_fulfillRequest_Params) RequiredPermissions() (capnp.BitList, error)

func (SessionContext_fulfillRequest_Params) Segment

func (SessionContext_fulfillRequest_Params) SetCap

func (SessionContext_fulfillRequest_Params) SetDescriptor

func (SessionContext_fulfillRequest_Params) SetDisplayInfo

func (SessionContext_fulfillRequest_Params) SetRequiredPermissions

func (s SessionContext_fulfillRequest_Params) SetRequiredPermissions(v capnp.BitList) error

func (SessionContext_fulfillRequest_Params) String

func (SessionContext_fulfillRequest_Params) ToPtr

type SessionContext_fulfillRequest_Params_Future

type SessionContext_fulfillRequest_Params_Future struct{ *capnp.Future }

SessionContext_fulfillRequest_Params_Future is a wrapper for a SessionContext_fulfillRequest_Params promised by a client call.

func (SessionContext_fulfillRequest_Params_Future) Cap

func (SessionContext_fulfillRequest_Params_Future) Descriptor

func (SessionContext_fulfillRequest_Params_Future) DisplayInfo

func (SessionContext_fulfillRequest_Params_Future) Struct

type SessionContext_fulfillRequest_Params_List

type SessionContext_fulfillRequest_Params_List = capnp.StructList[SessionContext_fulfillRequest_Params]

SessionContext_fulfillRequest_Params_List is a list of SessionContext_fulfillRequest_Params.

func NewSessionContext_fulfillRequest_Params_List

func NewSessionContext_fulfillRequest_Params_List(s *capnp.Segment, sz int32) (SessionContext_fulfillRequest_Params_List, error)

NewSessionContext_fulfillRequest_Params creates a new list of SessionContext_fulfillRequest_Params.

type SessionContext_fulfillRequest_Results

type SessionContext_fulfillRequest_Results capnp.Struct

func NewRootSessionContext_fulfillRequest_Results

func NewRootSessionContext_fulfillRequest_Results(s *capnp.Segment) (SessionContext_fulfillRequest_Results, error)

func NewSessionContext_fulfillRequest_Results

func NewSessionContext_fulfillRequest_Results(s *capnp.Segment) (SessionContext_fulfillRequest_Results, error)

func ReadRootSessionContext_fulfillRequest_Results

func ReadRootSessionContext_fulfillRequest_Results(msg *capnp.Message) (SessionContext_fulfillRequest_Results, error)

func (SessionContext_fulfillRequest_Results) DecodeFromPtr

func (SessionContext_fulfillRequest_Results) EncodeAsPtr

func (SessionContext_fulfillRequest_Results) IsValid

func (SessionContext_fulfillRequest_Results) Message

func (SessionContext_fulfillRequest_Results) Segment

func (SessionContext_fulfillRequest_Results) String

func (SessionContext_fulfillRequest_Results) ToPtr

type SessionContext_fulfillRequest_Results_Future

type SessionContext_fulfillRequest_Results_Future struct{ *capnp.Future }

SessionContext_fulfillRequest_Results_Future is a wrapper for a SessionContext_fulfillRequest_Results promised by a client call.

func (SessionContext_fulfillRequest_Results_Future) Struct

type SessionContext_fulfillRequest_Results_List

type SessionContext_fulfillRequest_Results_List = capnp.StructList[SessionContext_fulfillRequest_Results]

SessionContext_fulfillRequest_Results_List is a list of SessionContext_fulfillRequest_Results.

func NewSessionContext_fulfillRequest_Results_List

func NewSessionContext_fulfillRequest_Results_List(s *capnp.Segment, sz int32) (SessionContext_fulfillRequest_Results_List, error)

NewSessionContext_fulfillRequest_Results creates a new list of SessionContext_fulfillRequest_Results.

type SessionContext_getSharedPermissions

type SessionContext_getSharedPermissions struct {
	*server.Call
}

SessionContext_getSharedPermissions holds the state for a server call to SessionContext.getSharedPermissions. See server.Call for documentation.

func (SessionContext_getSharedPermissions) AllocResults

AllocResults allocates the results struct.

func (SessionContext_getSharedPermissions) Args

Args returns the call's arguments.

type SessionContext_getSharedPermissions_Params

type SessionContext_getSharedPermissions_Params capnp.Struct

func NewRootSessionContext_getSharedPermissions_Params

func NewRootSessionContext_getSharedPermissions_Params(s *capnp.Segment) (SessionContext_getSharedPermissions_Params, error)

func NewSessionContext_getSharedPermissions_Params

func NewSessionContext_getSharedPermissions_Params(s *capnp.Segment) (SessionContext_getSharedPermissions_Params, error)

func ReadRootSessionContext_getSharedPermissions_Params

func ReadRootSessionContext_getSharedPermissions_Params(msg *capnp.Message) (SessionContext_getSharedPermissions_Params, error)

func (SessionContext_getSharedPermissions_Params) DecodeFromPtr

func (SessionContext_getSharedPermissions_Params) EncodeAsPtr

func (SessionContext_getSharedPermissions_Params) IsValid

func (SessionContext_getSharedPermissions_Params) Message

func (SessionContext_getSharedPermissions_Params) Segment

func (SessionContext_getSharedPermissions_Params) String

func (SessionContext_getSharedPermissions_Params) ToPtr

type SessionContext_getSharedPermissions_Params_Future

type SessionContext_getSharedPermissions_Params_Future struct{ *capnp.Future }

SessionContext_getSharedPermissions_Params_Future is a wrapper for a SessionContext_getSharedPermissions_Params promised by a client call.

func (SessionContext_getSharedPermissions_Params_Future) Struct

type SessionContext_getSharedPermissions_Params_List

type SessionContext_getSharedPermissions_Params_List = capnp.StructList[SessionContext_getSharedPermissions_Params]

SessionContext_getSharedPermissions_Params_List is a list of SessionContext_getSharedPermissions_Params.

func NewSessionContext_getSharedPermissions_Params_List

func NewSessionContext_getSharedPermissions_Params_List(s *capnp.Segment, sz int32) (SessionContext_getSharedPermissions_Params_List, error)

NewSessionContext_getSharedPermissions_Params creates a new list of SessionContext_getSharedPermissions_Params.

type SessionContext_getSharedPermissions_Results

type SessionContext_getSharedPermissions_Results capnp.Struct

func NewRootSessionContext_getSharedPermissions_Results

func NewRootSessionContext_getSharedPermissions_Results(s *capnp.Segment) (SessionContext_getSharedPermissions_Results, error)

func NewSessionContext_getSharedPermissions_Results

func NewSessionContext_getSharedPermissions_Results(s *capnp.Segment) (SessionContext_getSharedPermissions_Results, error)

func ReadRootSessionContext_getSharedPermissions_Results

func ReadRootSessionContext_getSharedPermissions_Results(msg *capnp.Message) (SessionContext_getSharedPermissions_Results, error)

func (SessionContext_getSharedPermissions_Results) DecodeFromPtr

func (SessionContext_getSharedPermissions_Results) EncodeAsPtr

func (SessionContext_getSharedPermissions_Results) HasVar

func (SessionContext_getSharedPermissions_Results) IsValid

func (SessionContext_getSharedPermissions_Results) Message

func (SessionContext_getSharedPermissions_Results) Segment

func (SessionContext_getSharedPermissions_Results) SetVar

func (SessionContext_getSharedPermissions_Results) String

func (SessionContext_getSharedPermissions_Results) ToPtr

func (SessionContext_getSharedPermissions_Results) Var

type SessionContext_getSharedPermissions_Results_Future

type SessionContext_getSharedPermissions_Results_Future struct{ *capnp.Future }

SessionContext_getSharedPermissions_Results_Future is a wrapper for a SessionContext_getSharedPermissions_Results promised by a client call.

func (SessionContext_getSharedPermissions_Results_Future) Struct

func (SessionContext_getSharedPermissions_Results_Future) Var

type SessionContext_getSharedPermissions_Results_List

type SessionContext_getSharedPermissions_Results_List = capnp.StructList[SessionContext_getSharedPermissions_Results]

SessionContext_getSharedPermissions_Results_List is a list of SessionContext_getSharedPermissions_Results.

func NewSessionContext_getSharedPermissions_Results_List

func NewSessionContext_getSharedPermissions_Results_List(s *capnp.Segment, sz int32) (SessionContext_getSharedPermissions_Results_List, error)

NewSessionContext_getSharedPermissions_Results creates a new list of SessionContext_getSharedPermissions_Results.

type SessionContext_offer

type SessionContext_offer struct {
	*server.Call
}

SessionContext_offer holds the state for a server call to SessionContext.offer. See server.Call for documentation.

func (SessionContext_offer) AllocResults

AllocResults allocates the results struct.

func (SessionContext_offer) Args

Args returns the call's arguments.

type SessionContext_offer_Params

type SessionContext_offer_Params capnp.Struct

func NewRootSessionContext_offer_Params

func NewRootSessionContext_offer_Params(s *capnp.Segment) (SessionContext_offer_Params, error)

func NewSessionContext_offer_Params

func NewSessionContext_offer_Params(s *capnp.Segment) (SessionContext_offer_Params, error)

func ReadRootSessionContext_offer_Params

func ReadRootSessionContext_offer_Params(msg *capnp.Message) (SessionContext_offer_Params, error)

func (SessionContext_offer_Params) Cap

func (SessionContext_offer_Params) DecodeFromPtr

func (SessionContext_offer_Params) Descriptor

func (SessionContext_offer_Params) DisplayInfo

func (SessionContext_offer_Params) EncodeAsPtr

func (s SessionContext_offer_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SessionContext_offer_Params) HasCap

func (s SessionContext_offer_Params) HasCap() bool

func (SessionContext_offer_Params) HasDescriptor

func (s SessionContext_offer_Params) HasDescriptor() bool

func (SessionContext_offer_Params) HasDisplayInfo

func (s SessionContext_offer_Params) HasDisplayInfo() bool

func (SessionContext_offer_Params) HasRequiredPermissions

func (s SessionContext_offer_Params) HasRequiredPermissions() bool

func (SessionContext_offer_Params) IsValid

func (s SessionContext_offer_Params) IsValid() bool

func (SessionContext_offer_Params) Message

func (SessionContext_offer_Params) NewDescriptor

NewDescriptor sets the descriptor field to a newly allocated powerbox.PowerboxDescriptor struct, preferring placement in s's segment.

func (SessionContext_offer_Params) NewDisplayInfo

NewDisplayInfo sets the displayInfo field to a newly allocated powerbox.PowerboxDisplayInfo struct, preferring placement in s's segment.

func (SessionContext_offer_Params) NewRequiredPermissions

func (s SessionContext_offer_Params) NewRequiredPermissions(n int32) (capnp.BitList, error)

NewRequiredPermissions sets the requiredPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (SessionContext_offer_Params) RequiredPermissions

func (s SessionContext_offer_Params) RequiredPermissions() (capnp.BitList, error)

func (SessionContext_offer_Params) Segment

func (SessionContext_offer_Params) SetCap

func (SessionContext_offer_Params) SetDescriptor

func (SessionContext_offer_Params) SetDisplayInfo

func (SessionContext_offer_Params) SetRequiredPermissions

func (s SessionContext_offer_Params) SetRequiredPermissions(v capnp.BitList) error

func (SessionContext_offer_Params) String

func (SessionContext_offer_Params) ToPtr

type SessionContext_offer_Params_Future

type SessionContext_offer_Params_Future struct{ *capnp.Future }

SessionContext_offer_Params_Future is a wrapper for a SessionContext_offer_Params promised by a client call.

func (SessionContext_offer_Params_Future) Cap

func (SessionContext_offer_Params_Future) Descriptor

func (SessionContext_offer_Params_Future) DisplayInfo

func (SessionContext_offer_Params_Future) Struct

type SessionContext_offer_Params_List

type SessionContext_offer_Params_List = capnp.StructList[SessionContext_offer_Params]

SessionContext_offer_Params_List is a list of SessionContext_offer_Params.

func NewSessionContext_offer_Params_List

func NewSessionContext_offer_Params_List(s *capnp.Segment, sz int32) (SessionContext_offer_Params_List, error)

NewSessionContext_offer_Params creates a new list of SessionContext_offer_Params.

type SessionContext_offer_Results

type SessionContext_offer_Results capnp.Struct

func NewRootSessionContext_offer_Results

func NewRootSessionContext_offer_Results(s *capnp.Segment) (SessionContext_offer_Results, error)

func NewSessionContext_offer_Results

func NewSessionContext_offer_Results(s *capnp.Segment) (SessionContext_offer_Results, error)

func ReadRootSessionContext_offer_Results

func ReadRootSessionContext_offer_Results(msg *capnp.Message) (SessionContext_offer_Results, error)

func (SessionContext_offer_Results) DecodeFromPtr

func (SessionContext_offer_Results) EncodeAsPtr

func (s SessionContext_offer_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SessionContext_offer_Results) IsValid

func (s SessionContext_offer_Results) IsValid() bool

func (SessionContext_offer_Results) Message

func (SessionContext_offer_Results) Segment

func (SessionContext_offer_Results) String

func (SessionContext_offer_Results) ToPtr

type SessionContext_offer_Results_Future

type SessionContext_offer_Results_Future struct{ *capnp.Future }

SessionContext_offer_Results_Future is a wrapper for a SessionContext_offer_Results promised by a client call.

func (SessionContext_offer_Results_Future) Struct

type SessionContext_offer_Results_List

type SessionContext_offer_Results_List = capnp.StructList[SessionContext_offer_Results]

SessionContext_offer_Results_List is a list of SessionContext_offer_Results.

func NewSessionContext_offer_Results_List

func NewSessionContext_offer_Results_List(s *capnp.Segment, sz int32) (SessionContext_offer_Results_List, error)

NewSessionContext_offer_Results creates a new list of SessionContext_offer_Results.

type SessionContext_openView

type SessionContext_openView struct {
	*server.Call
}

SessionContext_openView holds the state for a server call to SessionContext.openView. See server.Call for documentation.

func (SessionContext_openView) AllocResults

AllocResults allocates the results struct.

func (SessionContext_openView) Args

Args returns the call's arguments.

type SessionContext_openView_Params

type SessionContext_openView_Params capnp.Struct

func NewRootSessionContext_openView_Params

func NewRootSessionContext_openView_Params(s *capnp.Segment) (SessionContext_openView_Params, error)

func NewSessionContext_openView_Params

func NewSessionContext_openView_Params(s *capnp.Segment) (SessionContext_openView_Params, error)

func ReadRootSessionContext_openView_Params

func ReadRootSessionContext_openView_Params(msg *capnp.Message) (SessionContext_openView_Params, error)

func (SessionContext_openView_Params) DecodeFromPtr

func (SessionContext_openView_Params) EncodeAsPtr

func (SessionContext_openView_Params) HasPath

func (SessionContext_openView_Params) HasView

func (SessionContext_openView_Params) IsValid

func (SessionContext_openView_Params) Message

func (SessionContext_openView_Params) NewTab

func (SessionContext_openView_Params) Path

func (SessionContext_openView_Params) PathBytes

func (s SessionContext_openView_Params) PathBytes() ([]byte, error)

func (SessionContext_openView_Params) Segment

func (SessionContext_openView_Params) SetNewTab

func (s SessionContext_openView_Params) SetNewTab(v bool)

func (SessionContext_openView_Params) SetPath

func (SessionContext_openView_Params) SetView

func (SessionContext_openView_Params) String

func (SessionContext_openView_Params) ToPtr

func (SessionContext_openView_Params) View

type SessionContext_openView_Params_Future

type SessionContext_openView_Params_Future struct{ *capnp.Future }

SessionContext_openView_Params_Future is a wrapper for a SessionContext_openView_Params promised by a client call.

func (SessionContext_openView_Params_Future) Struct

func (SessionContext_openView_Params_Future) View

type SessionContext_openView_Params_List

type SessionContext_openView_Params_List = capnp.StructList[SessionContext_openView_Params]

SessionContext_openView_Params_List is a list of SessionContext_openView_Params.

func NewSessionContext_openView_Params_List

func NewSessionContext_openView_Params_List(s *capnp.Segment, sz int32) (SessionContext_openView_Params_List, error)

NewSessionContext_openView_Params creates a new list of SessionContext_openView_Params.

type SessionContext_openView_Results

type SessionContext_openView_Results capnp.Struct

func NewRootSessionContext_openView_Results

func NewRootSessionContext_openView_Results(s *capnp.Segment) (SessionContext_openView_Results, error)

func NewSessionContext_openView_Results

func NewSessionContext_openView_Results(s *capnp.Segment) (SessionContext_openView_Results, error)

func ReadRootSessionContext_openView_Results

func ReadRootSessionContext_openView_Results(msg *capnp.Message) (SessionContext_openView_Results, error)

func (SessionContext_openView_Results) DecodeFromPtr

func (SessionContext_openView_Results) EncodeAsPtr

func (SessionContext_openView_Results) IsValid

func (SessionContext_openView_Results) Message

func (SessionContext_openView_Results) Segment

func (SessionContext_openView_Results) String

func (SessionContext_openView_Results) ToPtr

type SessionContext_openView_Results_Future

type SessionContext_openView_Results_Future struct{ *capnp.Future }

SessionContext_openView_Results_Future is a wrapper for a SessionContext_openView_Results promised by a client call.

func (SessionContext_openView_Results_Future) Struct

type SessionContext_openView_Results_List

type SessionContext_openView_Results_List = capnp.StructList[SessionContext_openView_Results]

SessionContext_openView_Results_List is a list of SessionContext_openView_Results.

func NewSessionContext_openView_Results_List

func NewSessionContext_openView_Results_List(s *capnp.Segment, sz int32) (SessionContext_openView_Results_List, error)

NewSessionContext_openView_Results creates a new list of SessionContext_openView_Results.

type SessionContext_request

type SessionContext_request struct {
	*server.Call
}

SessionContext_request holds the state for a server call to SessionContext.request. See server.Call for documentation.

func (SessionContext_request) AllocResults

AllocResults allocates the results struct.

func (SessionContext_request) Args

Args returns the call's arguments.

type SessionContext_request_Params

type SessionContext_request_Params capnp.Struct

func NewRootSessionContext_request_Params

func NewRootSessionContext_request_Params(s *capnp.Segment) (SessionContext_request_Params, error)

func NewSessionContext_request_Params

func NewSessionContext_request_Params(s *capnp.Segment) (SessionContext_request_Params, error)

func ReadRootSessionContext_request_Params

func ReadRootSessionContext_request_Params(msg *capnp.Message) (SessionContext_request_Params, error)

func (SessionContext_request_Params) DecodeFromPtr

func (SessionContext_request_Params) EncodeAsPtr

func (s SessionContext_request_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SessionContext_request_Params) HasQuery

func (s SessionContext_request_Params) HasQuery() bool

func (SessionContext_request_Params) HasRequiredPermissions

func (s SessionContext_request_Params) HasRequiredPermissions() bool

func (SessionContext_request_Params) IsValid

func (s SessionContext_request_Params) IsValid() bool

func (SessionContext_request_Params) Message

func (SessionContext_request_Params) NewQuery

NewQuery sets the query field to a newly allocated powerbox.PowerboxDescriptor_List, preferring placement in s's segment.

func (SessionContext_request_Params) NewRequiredPermissions

func (s SessionContext_request_Params) NewRequiredPermissions(n int32) (capnp.BitList, error)

NewRequiredPermissions sets the requiredPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (SessionContext_request_Params) Query

func (SessionContext_request_Params) RequiredPermissions

func (s SessionContext_request_Params) RequiredPermissions() (capnp.BitList, error)

func (SessionContext_request_Params) Segment

func (SessionContext_request_Params) SetQuery

func (SessionContext_request_Params) SetRequiredPermissions

func (s SessionContext_request_Params) SetRequiredPermissions(v capnp.BitList) error

func (SessionContext_request_Params) String

func (SessionContext_request_Params) ToPtr

type SessionContext_request_Params_Future

type SessionContext_request_Params_Future struct{ *capnp.Future }

SessionContext_request_Params_Future is a wrapper for a SessionContext_request_Params promised by a client call.

func (SessionContext_request_Params_Future) Struct

type SessionContext_request_Params_List

type SessionContext_request_Params_List = capnp.StructList[SessionContext_request_Params]

SessionContext_request_Params_List is a list of SessionContext_request_Params.

func NewSessionContext_request_Params_List

func NewSessionContext_request_Params_List(s *capnp.Segment, sz int32) (SessionContext_request_Params_List, error)

NewSessionContext_request_Params creates a new list of SessionContext_request_Params.

type SessionContext_request_Results

type SessionContext_request_Results capnp.Struct

func NewRootSessionContext_request_Results

func NewRootSessionContext_request_Results(s *capnp.Segment) (SessionContext_request_Results, error)

func NewSessionContext_request_Results

func NewSessionContext_request_Results(s *capnp.Segment) (SessionContext_request_Results, error)

func ReadRootSessionContext_request_Results

func ReadRootSessionContext_request_Results(msg *capnp.Message) (SessionContext_request_Results, error)

func (SessionContext_request_Results) Cap

func (SessionContext_request_Results) DecodeFromPtr

func (SessionContext_request_Results) Descriptor

func (SessionContext_request_Results) EncodeAsPtr

func (SessionContext_request_Results) HasCap

func (SessionContext_request_Results) HasDescriptor

func (s SessionContext_request_Results) HasDescriptor() bool

func (SessionContext_request_Results) IsValid

func (SessionContext_request_Results) Message

func (SessionContext_request_Results) NewDescriptor

NewDescriptor sets the descriptor field to a newly allocated powerbox.PowerboxDescriptor struct, preferring placement in s's segment.

func (SessionContext_request_Results) Segment

func (SessionContext_request_Results) SetCap

func (SessionContext_request_Results) SetDescriptor

func (SessionContext_request_Results) String

func (SessionContext_request_Results) ToPtr

type SessionContext_request_Results_Future

type SessionContext_request_Results_Future struct{ *capnp.Future }

SessionContext_request_Results_Future is a wrapper for a SessionContext_request_Results promised by a client call.

func (SessionContext_request_Results_Future) Cap

func (SessionContext_request_Results_Future) Descriptor

func (SessionContext_request_Results_Future) Struct

type SessionContext_request_Results_List

type SessionContext_request_Results_List = capnp.StructList[SessionContext_request_Results]

SessionContext_request_Results_List is a list of SessionContext_request_Results.

func NewSessionContext_request_Results_List

func NewSessionContext_request_Results_List(s *capnp.Segment, sz int32) (SessionContext_request_Results_List, error)

NewSessionContext_request_Results creates a new list of SessionContext_request_Results.

type SessionContext_tieToUser

type SessionContext_tieToUser struct {
	*server.Call
}

SessionContext_tieToUser holds the state for a server call to SessionContext.tieToUser. See server.Call for documentation.

func (SessionContext_tieToUser) AllocResults

AllocResults allocates the results struct.

func (SessionContext_tieToUser) Args

Args returns the call's arguments.

type SessionContext_tieToUser_Params

type SessionContext_tieToUser_Params capnp.Struct

func NewRootSessionContext_tieToUser_Params

func NewRootSessionContext_tieToUser_Params(s *capnp.Segment) (SessionContext_tieToUser_Params, error)

func NewSessionContext_tieToUser_Params

func NewSessionContext_tieToUser_Params(s *capnp.Segment) (SessionContext_tieToUser_Params, error)

func ReadRootSessionContext_tieToUser_Params

func ReadRootSessionContext_tieToUser_Params(msg *capnp.Message) (SessionContext_tieToUser_Params, error)

func (SessionContext_tieToUser_Params) Cap

func (SessionContext_tieToUser_Params) DecodeFromPtr

func (SessionContext_tieToUser_Params) DisplayInfo

func (SessionContext_tieToUser_Params) EncodeAsPtr

func (SessionContext_tieToUser_Params) HasCap

func (SessionContext_tieToUser_Params) HasDisplayInfo

func (s SessionContext_tieToUser_Params) HasDisplayInfo() bool

func (SessionContext_tieToUser_Params) HasRequiredPermissions

func (s SessionContext_tieToUser_Params) HasRequiredPermissions() bool

func (SessionContext_tieToUser_Params) IsValid

func (SessionContext_tieToUser_Params) Message

func (SessionContext_tieToUser_Params) NewDisplayInfo

NewDisplayInfo sets the displayInfo field to a newly allocated powerbox.PowerboxDisplayInfo struct, preferring placement in s's segment.

func (SessionContext_tieToUser_Params) NewRequiredPermissions

func (s SessionContext_tieToUser_Params) NewRequiredPermissions(n int32) (capnp.BitList, error)

NewRequiredPermissions sets the requiredPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (SessionContext_tieToUser_Params) RequiredPermissions

func (s SessionContext_tieToUser_Params) RequiredPermissions() (capnp.BitList, error)

func (SessionContext_tieToUser_Params) Segment

func (SessionContext_tieToUser_Params) SetCap

func (SessionContext_tieToUser_Params) SetDisplayInfo

func (SessionContext_tieToUser_Params) SetRequiredPermissions

func (s SessionContext_tieToUser_Params) SetRequiredPermissions(v capnp.BitList) error

func (SessionContext_tieToUser_Params) String

func (SessionContext_tieToUser_Params) ToPtr

type SessionContext_tieToUser_Params_Future

type SessionContext_tieToUser_Params_Future struct{ *capnp.Future }

SessionContext_tieToUser_Params_Future is a wrapper for a SessionContext_tieToUser_Params promised by a client call.

func (SessionContext_tieToUser_Params_Future) Cap

func (SessionContext_tieToUser_Params_Future) DisplayInfo

func (SessionContext_tieToUser_Params_Future) Struct

type SessionContext_tieToUser_Params_List

type SessionContext_tieToUser_Params_List = capnp.StructList[SessionContext_tieToUser_Params]

SessionContext_tieToUser_Params_List is a list of SessionContext_tieToUser_Params.

func NewSessionContext_tieToUser_Params_List

func NewSessionContext_tieToUser_Params_List(s *capnp.Segment, sz int32) (SessionContext_tieToUser_Params_List, error)

NewSessionContext_tieToUser_Params creates a new list of SessionContext_tieToUser_Params.

type SessionContext_tieToUser_Results

type SessionContext_tieToUser_Results capnp.Struct

func NewRootSessionContext_tieToUser_Results

func NewRootSessionContext_tieToUser_Results(s *capnp.Segment) (SessionContext_tieToUser_Results, error)

func NewSessionContext_tieToUser_Results

func NewSessionContext_tieToUser_Results(s *capnp.Segment) (SessionContext_tieToUser_Results, error)

func ReadRootSessionContext_tieToUser_Results

func ReadRootSessionContext_tieToUser_Results(msg *capnp.Message) (SessionContext_tieToUser_Results, error)

func (SessionContext_tieToUser_Results) DecodeFromPtr

func (SessionContext_tieToUser_Results) EncodeAsPtr

func (SessionContext_tieToUser_Results) HasTiedCap

func (s SessionContext_tieToUser_Results) HasTiedCap() bool

func (SessionContext_tieToUser_Results) IsValid

func (SessionContext_tieToUser_Results) Message

func (SessionContext_tieToUser_Results) Segment

func (SessionContext_tieToUser_Results) SetTiedCap

func (SessionContext_tieToUser_Results) String

func (SessionContext_tieToUser_Results) TiedCap

func (SessionContext_tieToUser_Results) ToPtr

type SessionContext_tieToUser_Results_Future

type SessionContext_tieToUser_Results_Future struct{ *capnp.Future }

SessionContext_tieToUser_Results_Future is a wrapper for a SessionContext_tieToUser_Results promised by a client call.

func (SessionContext_tieToUser_Results_Future) Struct

func (SessionContext_tieToUser_Results_Future) TiedCap

type SessionContext_tieToUser_Results_List

type SessionContext_tieToUser_Results_List = capnp.StructList[SessionContext_tieToUser_Results]

SessionContext_tieToUser_Results_List is a list of SessionContext_tieToUser_Results.

func NewSessionContext_tieToUser_Results_List

func NewSessionContext_tieToUser_Results_List(s *capnp.Segment, sz int32) (SessionContext_tieToUser_Results_List, error)

NewSessionContext_tieToUser_Results creates a new list of SessionContext_tieToUser_Results.

type SharingLink capnp.Client
func SharingLink_ServerToClient(s SharingLink_Server) SharingLink

SharingLink_ServerToClient creates a new Client from an implementation of SharingLink_Server. The caller is responsible for calling Release on the returned Client.

func (SharingLink) AddRef

func (c SharingLink) AddRef() SharingLink

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 (SharingLink) DecodeFromPtr

func (SharingLink) DecodeFromPtr(p capnp.Ptr) SharingLink

func (SharingLink) EncodeAsPtr

func (c SharingLink) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (SharingLink) GetFlowLimiter

func (c SharingLink) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (SharingLink) GetPetname

func (SharingLink) IsSame

func (c SharingLink) IsSame(other SharingLink) 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 (SharingLink) IsValid

func (c SharingLink) 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 (SharingLink) Release

func (c SharingLink) 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 (SharingLink) Resolve

func (c SharingLink) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (SharingLink) SetFlowLimiter

func (c SharingLink) 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 (SharingLink) String

func (c SharingLink) 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.

type SharingLink_List = capnp.CapList[SharingLink]

SharingLink_List is a list of SharingLink.

func NewSharingLink_List(s *capnp.Segment, sz int32) (SharingLink_List, error)

NewSharingLink creates a new list of SharingLink.

type SharingLink_Server interface {
	GetPetname(context.Context, SharingLink_getPetname) error
}
type SharingLink_getPetname struct {
	*server.Call
}

SharingLink_getPetname holds the state for a server call to SharingLink.getPetname. See server.Call for documentation.

AllocResults allocates the results struct.

Args returns the call's arguments.

type SharingLink_getPetname_Params capnp.Struct
func NewRootSharingLink_getPetname_Params(s *capnp.Segment) (SharingLink_getPetname_Params, error)
func NewSharingLink_getPetname_Params(s *capnp.Segment) (SharingLink_getPetname_Params, error)
func ReadRootSharingLink_getPetname_Params(msg *capnp.Message) (SharingLink_getPetname_Params, error)
func (s SharingLink_getPetname_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (s SharingLink_getPetname_Params) IsValid() bool
type SharingLink_getPetname_Params_Future struct{ *capnp.Future }

SharingLink_getPetname_Params_Future is a wrapper for a SharingLink_getPetname_Params promised by a client call.

type SharingLink_getPetname_Params_List = capnp.StructList[SharingLink_getPetname_Params]

SharingLink_getPetname_Params_List is a list of SharingLink_getPetname_Params.

func NewSharingLink_getPetname_Params_List(s *capnp.Segment, sz int32) (SharingLink_getPetname_Params_List, error)

NewSharingLink_getPetname_Params creates a new list of SharingLink_getPetname_Params.

type SharingLink_getPetname_Results capnp.Struct
func NewRootSharingLink_getPetname_Results(s *capnp.Segment) (SharingLink_getPetname_Results, error)
func NewSharingLink_getPetname_Results(s *capnp.Segment) (SharingLink_getPetname_Results, error)
func ReadRootSharingLink_getPetname_Results(msg *capnp.Message) (SharingLink_getPetname_Results, error)
type SharingLink_getPetname_Results_Future struct{ *capnp.Future }

SharingLink_getPetname_Results_Future is a wrapper for a SharingLink_getPetname_Results promised by a client call.

type SharingLink_getPetname_Results_List = capnp.StructList[SharingLink_getPetname_Results]

SharingLink_getPetname_Results_List is a list of SharingLink_getPetname_Results.

func NewSharingLink_getPetname_Results_List(s *capnp.Segment, sz int32) (SharingLink_getPetname_Results_List, error)

NewSharingLink_getPetname_Results creates a new list of SharingLink_getPetname_Results.

type UiSession

type UiSession capnp.Client

func UiSession_ServerToClient

func UiSession_ServerToClient(s UiSession_Server) UiSession

UiSession_ServerToClient creates a new Client from an implementation of UiSession_Server. The caller is responsible for calling Release on the returned Client.

func (UiSession) AddRef

func (c UiSession) AddRef() UiSession

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 (UiSession) DecodeFromPtr

func (UiSession) DecodeFromPtr(p capnp.Ptr) UiSession

func (UiSession) EncodeAsPtr

func (c UiSession) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiSession) GetFlowLimiter

func (c UiSession) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (UiSession) IsSame

func (c UiSession) IsSame(other UiSession) 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 (UiSession) IsValid

func (c UiSession) 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 (UiSession) Release

func (c UiSession) 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 (UiSession) Resolve

func (c UiSession) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (UiSession) SetFlowLimiter

func (c UiSession) 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 (UiSession) String

func (c UiSession) 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.

type UiSession_List

type UiSession_List = capnp.CapList[UiSession]

UiSession_List is a list of UiSession.

func NewUiSession_List

func NewUiSession_List(s *capnp.Segment, sz int32) (UiSession_List, error)

NewUiSession creates a new list of UiSession.

type UiSession_Server

type UiSession_Server interface {
}

type UiView

type UiView capnp.Client

func UiView_ServerToClient

func UiView_ServerToClient(s UiView_Server) UiView

UiView_ServerToClient creates a new Client from an implementation of UiView_Server. The caller is responsible for calling Release on the returned Client.

func (UiView) AddRef

func (c UiView) AddRef() UiView

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 (UiView) DecodeFromPtr

func (UiView) DecodeFromPtr(p capnp.Ptr) UiView

func (UiView) EncodeAsPtr

func (c UiView) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView) GetFlowLimiter

func (c UiView) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (UiView) GetViewInfo

func (UiView) IsSame

func (c UiView) IsSame(other UiView) 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 (UiView) IsValid

func (c UiView) 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 (UiView) NewOfferSession

func (UiView) NewRequestSession

func (UiView) NewSession

func (UiView) Release

func (c UiView) 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 (UiView) Resolve

func (c UiView) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (UiView) SetFlowLimiter

func (c UiView) 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 (UiView) String

func (c UiView) 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.

type UiView_List

type UiView_List = capnp.CapList[UiView]

UiView_List is a list of UiView.

func NewUiView_List

func NewUiView_List(s *capnp.Segment, sz int32) (UiView_List, error)

NewUiView creates a new list of UiView.

type UiView_PowerboxTag

type UiView_PowerboxTag capnp.Struct

func NewRootUiView_PowerboxTag

func NewRootUiView_PowerboxTag(s *capnp.Segment) (UiView_PowerboxTag, error)

func NewUiView_PowerboxTag

func NewUiView_PowerboxTag(s *capnp.Segment) (UiView_PowerboxTag, error)

func ReadRootUiView_PowerboxTag

func ReadRootUiView_PowerboxTag(msg *capnp.Message) (UiView_PowerboxTag, error)

func (UiView_PowerboxTag) DecodeFromPtr

func (UiView_PowerboxTag) EncodeAsPtr

func (s UiView_PowerboxTag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView_PowerboxTag) HasTitle

func (s UiView_PowerboxTag) HasTitle() bool

func (UiView_PowerboxTag) IsValid

func (s UiView_PowerboxTag) IsValid() bool

func (UiView_PowerboxTag) Message

func (s UiView_PowerboxTag) Message() *capnp.Message

func (UiView_PowerboxTag) Segment

func (s UiView_PowerboxTag) Segment() *capnp.Segment

func (UiView_PowerboxTag) SetTitle

func (s UiView_PowerboxTag) SetTitle(v string) error

func (UiView_PowerboxTag) String

func (s UiView_PowerboxTag) String() string

func (UiView_PowerboxTag) Title

func (s UiView_PowerboxTag) Title() (string, error)

func (UiView_PowerboxTag) TitleBytes

func (s UiView_PowerboxTag) TitleBytes() ([]byte, error)

func (UiView_PowerboxTag) ToPtr

func (s UiView_PowerboxTag) ToPtr() capnp.Ptr

type UiView_PowerboxTag_Future

type UiView_PowerboxTag_Future struct{ *capnp.Future }

UiView_PowerboxTag_Future is a wrapper for a UiView_PowerboxTag promised by a client call.

func (UiView_PowerboxTag_Future) Struct

type UiView_PowerboxTag_List

type UiView_PowerboxTag_List = capnp.StructList[UiView_PowerboxTag]

UiView_PowerboxTag_List is a list of UiView_PowerboxTag.

func NewUiView_PowerboxTag_List

func NewUiView_PowerboxTag_List(s *capnp.Segment, sz int32) (UiView_PowerboxTag_List, error)

NewUiView_PowerboxTag creates a new list of UiView_PowerboxTag.

type UiView_Server

type UiView_Server interface {
	GetViewInfo(context.Context, UiView_getViewInfo) error

	NewSession(context.Context, UiView_newSession) error

	NewRequestSession(context.Context, UiView_newRequestSession) error

	NewOfferSession(context.Context, UiView_newOfferSession) error
}

type UiView_ViewInfo

type UiView_ViewInfo capnp.Struct

func NewRootUiView_ViewInfo

func NewRootUiView_ViewInfo(s *capnp.Segment) (UiView_ViewInfo, error)

func NewUiView_ViewInfo

func NewUiView_ViewInfo(s *capnp.Segment) (UiView_ViewInfo, error)

func ReadRootUiView_ViewInfo

func ReadRootUiView_ViewInfo(msg *capnp.Message) (UiView_ViewInfo, error)

func (UiView_ViewInfo) AppTitle

func (s UiView_ViewInfo) AppTitle() (util.LocalizedText, error)

func (UiView_ViewInfo) DecodeFromPtr

func (UiView_ViewInfo) DecodeFromPtr(p capnp.Ptr) UiView_ViewInfo

func (UiView_ViewInfo) DeniedPermissions

func (s UiView_ViewInfo) DeniedPermissions() (capnp.BitList, error)

func (UiView_ViewInfo) EncodeAsPtr

func (s UiView_ViewInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView_ViewInfo) EventTypes

func (UiView_ViewInfo) GrainIcon

func (s UiView_ViewInfo) GrainIcon() util.StaticAsset

func (UiView_ViewInfo) HasAppTitle

func (s UiView_ViewInfo) HasAppTitle() bool

func (UiView_ViewInfo) HasDeniedPermissions

func (s UiView_ViewInfo) HasDeniedPermissions() bool

func (UiView_ViewInfo) HasEventTypes

func (s UiView_ViewInfo) HasEventTypes() bool

func (UiView_ViewInfo) HasGrainIcon

func (s UiView_ViewInfo) HasGrainIcon() bool

func (UiView_ViewInfo) HasMatchOffers

func (s UiView_ViewInfo) HasMatchOffers() bool

func (UiView_ViewInfo) HasMatchRequests

func (s UiView_ViewInfo) HasMatchRequests() bool

func (UiView_ViewInfo) HasPermissions

func (s UiView_ViewInfo) HasPermissions() bool

func (UiView_ViewInfo) HasRoles

func (s UiView_ViewInfo) HasRoles() bool

func (UiView_ViewInfo) IsValid

func (s UiView_ViewInfo) IsValid() bool

func (UiView_ViewInfo) MatchOffers

func (UiView_ViewInfo) MatchRequests

func (UiView_ViewInfo) Message

func (s UiView_ViewInfo) Message() *capnp.Message

func (UiView_ViewInfo) NewAppTitle

func (s UiView_ViewInfo) NewAppTitle() (util.LocalizedText, error)

NewAppTitle sets the appTitle field to a newly allocated util.LocalizedText struct, preferring placement in s's segment.

func (UiView_ViewInfo) NewDeniedPermissions

func (s UiView_ViewInfo) NewDeniedPermissions(n int32) (capnp.BitList, error)

NewDeniedPermissions sets the deniedPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (UiView_ViewInfo) NewEventTypes

NewEventTypes sets the eventTypes field to a newly allocated activity.ActivityTypeDef_List, preferring placement in s's segment.

func (UiView_ViewInfo) NewMatchOffers

NewMatchOffers sets the matchOffers field to a newly allocated powerbox.PowerboxDescriptor_List, preferring placement in s's segment.

func (UiView_ViewInfo) NewMatchRequests

func (s UiView_ViewInfo) NewMatchRequests(n int32) (powerbox.PowerboxDescriptor_List, error)

NewMatchRequests sets the matchRequests field to a newly allocated powerbox.PowerboxDescriptor_List, preferring placement in s's segment.

func (UiView_ViewInfo) NewPermissions

func (s UiView_ViewInfo) NewPermissions(n int32) (PermissionDef_List, error)

NewPermissions sets the permissions field to a newly allocated PermissionDef_List, preferring placement in s's segment.

func (UiView_ViewInfo) NewRoles

func (s UiView_ViewInfo) NewRoles(n int32) (RoleDef_List, error)

NewRoles sets the roles field to a newly allocated RoleDef_List, preferring placement in s's segment.

func (UiView_ViewInfo) Permissions

func (s UiView_ViewInfo) Permissions() (PermissionDef_List, error)

func (UiView_ViewInfo) Roles

func (s UiView_ViewInfo) Roles() (RoleDef_List, error)

func (UiView_ViewInfo) Segment

func (s UiView_ViewInfo) Segment() *capnp.Segment

func (UiView_ViewInfo) SetAppTitle

func (s UiView_ViewInfo) SetAppTitle(v util.LocalizedText) error

func (UiView_ViewInfo) SetDeniedPermissions

func (s UiView_ViewInfo) SetDeniedPermissions(v capnp.BitList) error

func (UiView_ViewInfo) SetEventTypes

func (UiView_ViewInfo) SetGrainIcon

func (s UiView_ViewInfo) SetGrainIcon(v util.StaticAsset) error

func (UiView_ViewInfo) SetMatchOffers

func (UiView_ViewInfo) SetMatchRequests

func (s UiView_ViewInfo) SetMatchRequests(v powerbox.PowerboxDescriptor_List) error

func (UiView_ViewInfo) SetPermissions

func (s UiView_ViewInfo) SetPermissions(v PermissionDef_List) error

func (UiView_ViewInfo) SetRoles

func (s UiView_ViewInfo) SetRoles(v RoleDef_List) error

func (UiView_ViewInfo) String

func (s UiView_ViewInfo) String() string

func (UiView_ViewInfo) ToPtr

func (s UiView_ViewInfo) ToPtr() capnp.Ptr

type UiView_ViewInfo_Future

type UiView_ViewInfo_Future struct{ *capnp.Future }

UiView_ViewInfo_Future is a wrapper for a UiView_ViewInfo promised by a client call.

func (UiView_ViewInfo_Future) AppTitle

func (UiView_ViewInfo_Future) GrainIcon

func (p UiView_ViewInfo_Future) GrainIcon() util.StaticAsset

func (UiView_ViewInfo_Future) Struct

type UiView_ViewInfo_List

type UiView_ViewInfo_List = capnp.StructList[UiView_ViewInfo]

UiView_ViewInfo_List is a list of UiView_ViewInfo.

func NewUiView_ViewInfo_List

func NewUiView_ViewInfo_List(s *capnp.Segment, sz int32) (UiView_ViewInfo_List, error)

NewUiView_ViewInfo creates a new list of UiView_ViewInfo.

type UiView_getViewInfo

type UiView_getViewInfo struct {
	*server.Call
}

UiView_getViewInfo holds the state for a server call to UiView.getViewInfo. See server.Call for documentation.

func (UiView_getViewInfo) AllocResults

func (c UiView_getViewInfo) AllocResults() (UiView_ViewInfo, error)

AllocResults allocates the results struct.

func (UiView_getViewInfo) Args

Args returns the call's arguments.

type UiView_getViewInfo_Params

type UiView_getViewInfo_Params capnp.Struct

func NewRootUiView_getViewInfo_Params

func NewRootUiView_getViewInfo_Params(s *capnp.Segment) (UiView_getViewInfo_Params, error)

func NewUiView_getViewInfo_Params

func NewUiView_getViewInfo_Params(s *capnp.Segment) (UiView_getViewInfo_Params, error)

func ReadRootUiView_getViewInfo_Params

func ReadRootUiView_getViewInfo_Params(msg *capnp.Message) (UiView_getViewInfo_Params, error)

func (UiView_getViewInfo_Params) DecodeFromPtr

func (UiView_getViewInfo_Params) EncodeAsPtr

func (s UiView_getViewInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView_getViewInfo_Params) IsValid

func (s UiView_getViewInfo_Params) IsValid() bool

func (UiView_getViewInfo_Params) Message

func (UiView_getViewInfo_Params) Segment

func (UiView_getViewInfo_Params) String

func (s UiView_getViewInfo_Params) String() string

func (UiView_getViewInfo_Params) ToPtr

type UiView_getViewInfo_Params_Future

type UiView_getViewInfo_Params_Future struct{ *capnp.Future }

UiView_getViewInfo_Params_Future is a wrapper for a UiView_getViewInfo_Params promised by a client call.

func (UiView_getViewInfo_Params_Future) Struct

type UiView_getViewInfo_Params_List

type UiView_getViewInfo_Params_List = capnp.StructList[UiView_getViewInfo_Params]

UiView_getViewInfo_Params_List is a list of UiView_getViewInfo_Params.

func NewUiView_getViewInfo_Params_List

func NewUiView_getViewInfo_Params_List(s *capnp.Segment, sz int32) (UiView_getViewInfo_Params_List, error)

NewUiView_getViewInfo_Params creates a new list of UiView_getViewInfo_Params.

type UiView_newOfferSession

type UiView_newOfferSession struct {
	*server.Call
}

UiView_newOfferSession holds the state for a server call to UiView.newOfferSession. See server.Call for documentation.

func (UiView_newOfferSession) AllocResults

AllocResults allocates the results struct.

func (UiView_newOfferSession) Args

Args returns the call's arguments.

type UiView_newOfferSession_Params

type UiView_newOfferSession_Params capnp.Struct

func NewRootUiView_newOfferSession_Params

func NewRootUiView_newOfferSession_Params(s *capnp.Segment) (UiView_newOfferSession_Params, error)

func NewUiView_newOfferSession_Params

func NewUiView_newOfferSession_Params(s *capnp.Segment) (UiView_newOfferSession_Params, error)

func ReadRootUiView_newOfferSession_Params

func ReadRootUiView_newOfferSession_Params(msg *capnp.Message) (UiView_newOfferSession_Params, error)

func (UiView_newOfferSession_Params) Context

func (UiView_newOfferSession_Params) DecodeFromPtr

func (UiView_newOfferSession_Params) Descriptor

func (UiView_newOfferSession_Params) EncodeAsPtr

func (s UiView_newOfferSession_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView_newOfferSession_Params) HasContext

func (s UiView_newOfferSession_Params) HasContext() bool

func (UiView_newOfferSession_Params) HasDescriptor

func (s UiView_newOfferSession_Params) HasDescriptor() bool

func (UiView_newOfferSession_Params) HasOffer

func (s UiView_newOfferSession_Params) HasOffer() bool

func (UiView_newOfferSession_Params) HasSessionParams

func (s UiView_newOfferSession_Params) HasSessionParams() bool

func (UiView_newOfferSession_Params) HasTabId

func (s UiView_newOfferSession_Params) HasTabId() bool

func (UiView_newOfferSession_Params) HasUserInfo

func (s UiView_newOfferSession_Params) HasUserInfo() bool

func (UiView_newOfferSession_Params) IsValid

func (s UiView_newOfferSession_Params) IsValid() bool

func (UiView_newOfferSession_Params) Message

func (UiView_newOfferSession_Params) NewDescriptor

NewDescriptor sets the descriptor field to a newly allocated powerbox.PowerboxDescriptor struct, preferring placement in s's segment.

func (UiView_newOfferSession_Params) NewUserInfo

NewUserInfo sets the userInfo field to a newly allocated identity.UserInfo struct, preferring placement in s's segment.

func (UiView_newOfferSession_Params) Offer

func (UiView_newOfferSession_Params) Segment

func (UiView_newOfferSession_Params) SessionParams

func (s UiView_newOfferSession_Params) SessionParams() (capnp.Ptr, error)

func (UiView_newOfferSession_Params) SessionType

func (s UiView_newOfferSession_Params) SessionType() uint64

func (UiView_newOfferSession_Params) SetContext

func (UiView_newOfferSession_Params) SetDescriptor

func (UiView_newOfferSession_Params) SetOffer

func (UiView_newOfferSession_Params) SetSessionParams

func (s UiView_newOfferSession_Params) SetSessionParams(v capnp.Ptr) error

func (UiView_newOfferSession_Params) SetSessionType

func (s UiView_newOfferSession_Params) SetSessionType(v uint64)

func (UiView_newOfferSession_Params) SetTabId

func (s UiView_newOfferSession_Params) SetTabId(v []byte) error

func (UiView_newOfferSession_Params) SetUserInfo

func (UiView_newOfferSession_Params) String

func (UiView_newOfferSession_Params) TabId

func (s UiView_newOfferSession_Params) TabId() ([]byte, error)

func (UiView_newOfferSession_Params) ToPtr

func (UiView_newOfferSession_Params) UserInfo

type UiView_newOfferSession_Params_Future

type UiView_newOfferSession_Params_Future struct{ *capnp.Future }

UiView_newOfferSession_Params_Future is a wrapper for a UiView_newOfferSession_Params promised by a client call.

func (UiView_newOfferSession_Params_Future) Context

func (UiView_newOfferSession_Params_Future) Descriptor

func (UiView_newOfferSession_Params_Future) Offer

func (UiView_newOfferSession_Params_Future) SessionParams

func (UiView_newOfferSession_Params_Future) Struct

func (UiView_newOfferSession_Params_Future) UserInfo

type UiView_newOfferSession_Params_List

type UiView_newOfferSession_Params_List = capnp.StructList[UiView_newOfferSession_Params]

UiView_newOfferSession_Params_List is a list of UiView_newOfferSession_Params.

func NewUiView_newOfferSession_Params_List

func NewUiView_newOfferSession_Params_List(s *capnp.Segment, sz int32) (UiView_newOfferSession_Params_List, error)

NewUiView_newOfferSession_Params creates a new list of UiView_newOfferSession_Params.

type UiView_newOfferSession_Results

type UiView_newOfferSession_Results capnp.Struct

func NewRootUiView_newOfferSession_Results

func NewRootUiView_newOfferSession_Results(s *capnp.Segment) (UiView_newOfferSession_Results, error)

func NewUiView_newOfferSession_Results

func NewUiView_newOfferSession_Results(s *capnp.Segment) (UiView_newOfferSession_Results, error)

func ReadRootUiView_newOfferSession_Results

func ReadRootUiView_newOfferSession_Results(msg *capnp.Message) (UiView_newOfferSession_Results, error)

func (UiView_newOfferSession_Results) DecodeFromPtr

func (UiView_newOfferSession_Results) EncodeAsPtr

func (UiView_newOfferSession_Results) HasSession

func (s UiView_newOfferSession_Results) HasSession() bool

func (UiView_newOfferSession_Results) IsValid

func (UiView_newOfferSession_Results) Message

func (UiView_newOfferSession_Results) Segment

func (UiView_newOfferSession_Results) Session

func (UiView_newOfferSession_Results) SetSession

func (UiView_newOfferSession_Results) String

func (UiView_newOfferSession_Results) ToPtr

type UiView_newOfferSession_Results_Future

type UiView_newOfferSession_Results_Future struct{ *capnp.Future }

UiView_newOfferSession_Results_Future is a wrapper for a UiView_newOfferSession_Results promised by a client call.

func (UiView_newOfferSession_Results_Future) Session

func (UiView_newOfferSession_Results_Future) Struct

type UiView_newOfferSession_Results_List

type UiView_newOfferSession_Results_List = capnp.StructList[UiView_newOfferSession_Results]

UiView_newOfferSession_Results_List is a list of UiView_newOfferSession_Results.

func NewUiView_newOfferSession_Results_List

func NewUiView_newOfferSession_Results_List(s *capnp.Segment, sz int32) (UiView_newOfferSession_Results_List, error)

NewUiView_newOfferSession_Results creates a new list of UiView_newOfferSession_Results.

type UiView_newRequestSession

type UiView_newRequestSession struct {
	*server.Call
}

UiView_newRequestSession holds the state for a server call to UiView.newRequestSession. See server.Call for documentation.

func (UiView_newRequestSession) AllocResults

AllocResults allocates the results struct.

func (UiView_newRequestSession) Args

Args returns the call's arguments.

type UiView_newRequestSession_Params

type UiView_newRequestSession_Params capnp.Struct

func NewRootUiView_newRequestSession_Params

func NewRootUiView_newRequestSession_Params(s *capnp.Segment) (UiView_newRequestSession_Params, error)

func NewUiView_newRequestSession_Params

func NewUiView_newRequestSession_Params(s *capnp.Segment) (UiView_newRequestSession_Params, error)

func ReadRootUiView_newRequestSession_Params

func ReadRootUiView_newRequestSession_Params(msg *capnp.Message) (UiView_newRequestSession_Params, error)

func (UiView_newRequestSession_Params) Context

func (UiView_newRequestSession_Params) DecodeFromPtr

func (UiView_newRequestSession_Params) EncodeAsPtr

func (UiView_newRequestSession_Params) HasContext

func (s UiView_newRequestSession_Params) HasContext() bool

func (UiView_newRequestSession_Params) HasRequestInfo

func (s UiView_newRequestSession_Params) HasRequestInfo() bool

func (UiView_newRequestSession_Params) HasSessionParams

func (s UiView_newRequestSession_Params) HasSessionParams() bool

func (UiView_newRequestSession_Params) HasTabId

func (UiView_newRequestSession_Params) HasUserInfo

func (s UiView_newRequestSession_Params) HasUserInfo() bool

func (UiView_newRequestSession_Params) IsValid

func (UiView_newRequestSession_Params) Message

func (UiView_newRequestSession_Params) NewRequestInfo

NewRequestInfo sets the requestInfo field to a newly allocated powerbox.PowerboxDescriptor_List, preferring placement in s's segment.

func (UiView_newRequestSession_Params) NewUserInfo

NewUserInfo sets the userInfo field to a newly allocated identity.UserInfo struct, preferring placement in s's segment.

func (UiView_newRequestSession_Params) RequestInfo

func (UiView_newRequestSession_Params) Segment

func (UiView_newRequestSession_Params) SessionParams

func (s UiView_newRequestSession_Params) SessionParams() (capnp.Ptr, error)

func (UiView_newRequestSession_Params) SessionType

func (s UiView_newRequestSession_Params) SessionType() uint64

func (UiView_newRequestSession_Params) SetContext

func (UiView_newRequestSession_Params) SetRequestInfo

func (UiView_newRequestSession_Params) SetSessionParams

func (s UiView_newRequestSession_Params) SetSessionParams(v capnp.Ptr) error

func (UiView_newRequestSession_Params) SetSessionType

func (s UiView_newRequestSession_Params) SetSessionType(v uint64)

func (UiView_newRequestSession_Params) SetTabId

func (s UiView_newRequestSession_Params) SetTabId(v []byte) error

func (UiView_newRequestSession_Params) SetUserInfo

func (UiView_newRequestSession_Params) String

func (UiView_newRequestSession_Params) TabId

func (UiView_newRequestSession_Params) ToPtr

func (UiView_newRequestSession_Params) UserInfo

type UiView_newRequestSession_Params_Future

type UiView_newRequestSession_Params_Future struct{ *capnp.Future }

UiView_newRequestSession_Params_Future is a wrapper for a UiView_newRequestSession_Params promised by a client call.

func (UiView_newRequestSession_Params_Future) Context

func (UiView_newRequestSession_Params_Future) SessionParams

func (UiView_newRequestSession_Params_Future) Struct

func (UiView_newRequestSession_Params_Future) UserInfo

type UiView_newRequestSession_Params_List

type UiView_newRequestSession_Params_List = capnp.StructList[UiView_newRequestSession_Params]

UiView_newRequestSession_Params_List is a list of UiView_newRequestSession_Params.

func NewUiView_newRequestSession_Params_List

func NewUiView_newRequestSession_Params_List(s *capnp.Segment, sz int32) (UiView_newRequestSession_Params_List, error)

NewUiView_newRequestSession_Params creates a new list of UiView_newRequestSession_Params.

type UiView_newRequestSession_Results

type UiView_newRequestSession_Results capnp.Struct

func NewRootUiView_newRequestSession_Results

func NewRootUiView_newRequestSession_Results(s *capnp.Segment) (UiView_newRequestSession_Results, error)

func NewUiView_newRequestSession_Results

func NewUiView_newRequestSession_Results(s *capnp.Segment) (UiView_newRequestSession_Results, error)

func ReadRootUiView_newRequestSession_Results

func ReadRootUiView_newRequestSession_Results(msg *capnp.Message) (UiView_newRequestSession_Results, error)

func (UiView_newRequestSession_Results) DecodeFromPtr

func (UiView_newRequestSession_Results) EncodeAsPtr

func (UiView_newRequestSession_Results) HasSession

func (s UiView_newRequestSession_Results) HasSession() bool

func (UiView_newRequestSession_Results) IsValid

func (UiView_newRequestSession_Results) Message

func (UiView_newRequestSession_Results) Segment

func (UiView_newRequestSession_Results) Session

func (UiView_newRequestSession_Results) SetSession

func (UiView_newRequestSession_Results) String

func (UiView_newRequestSession_Results) ToPtr

type UiView_newRequestSession_Results_Future

type UiView_newRequestSession_Results_Future struct{ *capnp.Future }

UiView_newRequestSession_Results_Future is a wrapper for a UiView_newRequestSession_Results promised by a client call.

func (UiView_newRequestSession_Results_Future) Session

func (UiView_newRequestSession_Results_Future) Struct

type UiView_newRequestSession_Results_List

type UiView_newRequestSession_Results_List = capnp.StructList[UiView_newRequestSession_Results]

UiView_newRequestSession_Results_List is a list of UiView_newRequestSession_Results.

func NewUiView_newRequestSession_Results_List

func NewUiView_newRequestSession_Results_List(s *capnp.Segment, sz int32) (UiView_newRequestSession_Results_List, error)

NewUiView_newRequestSession_Results creates a new list of UiView_newRequestSession_Results.

type UiView_newSession

type UiView_newSession struct {
	*server.Call
}

UiView_newSession holds the state for a server call to UiView.newSession. See server.Call for documentation.

func (UiView_newSession) AllocResults

AllocResults allocates the results struct.

func (UiView_newSession) Args

Args returns the call's arguments.

type UiView_newSession_Params

type UiView_newSession_Params capnp.Struct

func NewRootUiView_newSession_Params

func NewRootUiView_newSession_Params(s *capnp.Segment) (UiView_newSession_Params, error)

func NewUiView_newSession_Params

func NewUiView_newSession_Params(s *capnp.Segment) (UiView_newSession_Params, error)

func ReadRootUiView_newSession_Params

func ReadRootUiView_newSession_Params(msg *capnp.Message) (UiView_newSession_Params, error)

func (UiView_newSession_Params) Context

func (UiView_newSession_Params) DecodeFromPtr

func (UiView_newSession_Params) EncodeAsPtr

func (s UiView_newSession_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView_newSession_Params) HasContext

func (s UiView_newSession_Params) HasContext() bool

func (UiView_newSession_Params) HasSessionParams

func (s UiView_newSession_Params) HasSessionParams() bool

func (UiView_newSession_Params) HasTabId

func (s UiView_newSession_Params) HasTabId() bool

func (UiView_newSession_Params) HasUserInfo

func (s UiView_newSession_Params) HasUserInfo() bool

func (UiView_newSession_Params) IsValid

func (s UiView_newSession_Params) IsValid() bool

func (UiView_newSession_Params) Message

func (s UiView_newSession_Params) Message() *capnp.Message

func (UiView_newSession_Params) NewUserInfo

func (s UiView_newSession_Params) NewUserInfo() (identity.UserInfo, error)

NewUserInfo sets the userInfo field to a newly allocated identity.UserInfo struct, preferring placement in s's segment.

func (UiView_newSession_Params) Segment

func (s UiView_newSession_Params) Segment() *capnp.Segment

func (UiView_newSession_Params) SessionParams

func (s UiView_newSession_Params) SessionParams() (capnp.Ptr, error)

func (UiView_newSession_Params) SessionType

func (s UiView_newSession_Params) SessionType() uint64

func (UiView_newSession_Params) SetContext

func (UiView_newSession_Params) SetSessionParams

func (s UiView_newSession_Params) SetSessionParams(v capnp.Ptr) error

func (UiView_newSession_Params) SetSessionType

func (s UiView_newSession_Params) SetSessionType(v uint64)

func (UiView_newSession_Params) SetTabId

func (s UiView_newSession_Params) SetTabId(v []byte) error

func (UiView_newSession_Params) SetUserInfo

func (UiView_newSession_Params) String

func (s UiView_newSession_Params) String() string

func (UiView_newSession_Params) TabId

func (s UiView_newSession_Params) TabId() ([]byte, error)

func (UiView_newSession_Params) ToPtr

func (UiView_newSession_Params) UserInfo

type UiView_newSession_Params_Future

type UiView_newSession_Params_Future struct{ *capnp.Future }

UiView_newSession_Params_Future is a wrapper for a UiView_newSession_Params promised by a client call.

func (UiView_newSession_Params_Future) Context

func (UiView_newSession_Params_Future) SessionParams

func (p UiView_newSession_Params_Future) SessionParams() *capnp.Future

func (UiView_newSession_Params_Future) Struct

func (UiView_newSession_Params_Future) UserInfo

type UiView_newSession_Params_List

type UiView_newSession_Params_List = capnp.StructList[UiView_newSession_Params]

UiView_newSession_Params_List is a list of UiView_newSession_Params.

func NewUiView_newSession_Params_List

func NewUiView_newSession_Params_List(s *capnp.Segment, sz int32) (UiView_newSession_Params_List, error)

NewUiView_newSession_Params creates a new list of UiView_newSession_Params.

type UiView_newSession_Results

type UiView_newSession_Results capnp.Struct

func NewRootUiView_newSession_Results

func NewRootUiView_newSession_Results(s *capnp.Segment) (UiView_newSession_Results, error)

func NewUiView_newSession_Results

func NewUiView_newSession_Results(s *capnp.Segment) (UiView_newSession_Results, error)

func ReadRootUiView_newSession_Results

func ReadRootUiView_newSession_Results(msg *capnp.Message) (UiView_newSession_Results, error)

func (UiView_newSession_Results) DecodeFromPtr

func (UiView_newSession_Results) EncodeAsPtr

func (s UiView_newSession_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (UiView_newSession_Results) HasSession

func (s UiView_newSession_Results) HasSession() bool

func (UiView_newSession_Results) IsValid

func (s UiView_newSession_Results) IsValid() bool

func (UiView_newSession_Results) Message

func (UiView_newSession_Results) Segment

func (UiView_newSession_Results) Session

func (UiView_newSession_Results) SetSession

func (s UiView_newSession_Results) SetSession(v UiSession) error

func (UiView_newSession_Results) String

func (s UiView_newSession_Results) String() string

func (UiView_newSession_Results) ToPtr

type UiView_newSession_Results_Future

type UiView_newSession_Results_Future struct{ *capnp.Future }

UiView_newSession_Results_Future is a wrapper for a UiView_newSession_Results promised by a client call.

func (UiView_newSession_Results_Future) Session

func (UiView_newSession_Results_Future) Struct

type UiView_newSession_Results_List

type UiView_newSession_Results_List = capnp.StructList[UiView_newSession_Results]

UiView_newSession_Results_List is a list of UiView_newSession_Results.

func NewUiView_newSession_Results_List

func NewUiView_newSession_Results_List(s *capnp.Segment, sz int32) (UiView_newSession_Results_List, error)

NewUiView_newSession_Results creates a new list of UiView_newSession_Results.

type ViewSharingLink capnp.Client
func ViewSharingLink_ServerToClient(s ViewSharingLink_Server) ViewSharingLink

ViewSharingLink_ServerToClient creates a new Client from an implementation of ViewSharingLink_Server. The caller is responsible for calling Release on the returned Client.

func (ViewSharingLink) AddRef

func (c ViewSharingLink) AddRef() ViewSharingLink

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 (ViewSharingLink) DecodeFromPtr

func (ViewSharingLink) DecodeFromPtr(p capnp.Ptr) ViewSharingLink

func (ViewSharingLink) EncodeAsPtr

func (c ViewSharingLink) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (ViewSharingLink) GetFlowLimiter

func (c ViewSharingLink) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (ViewSharingLink) GetPetname

func (ViewSharingLink) GetRoleAssignment

func (ViewSharingLink) IsSame

func (c ViewSharingLink) IsSame(other ViewSharingLink) 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 (ViewSharingLink) IsValid

func (c ViewSharingLink) 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 (ViewSharingLink) Release

func (c ViewSharingLink) 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 (ViewSharingLink) Resolve

func (c ViewSharingLink) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (ViewSharingLink) SetFlowLimiter

func (c ViewSharingLink) 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 (ViewSharingLink) String

func (c ViewSharingLink) 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.

type ViewSharingLink_List = capnp.CapList[ViewSharingLink]

ViewSharingLink_List is a list of ViewSharingLink.

func NewViewSharingLink_List(s *capnp.Segment, sz int32) (ViewSharingLink_List, error)

NewViewSharingLink creates a new list of ViewSharingLink.

type ViewSharingLink_RoleAssignment capnp.Struct
func NewRootViewSharingLink_RoleAssignment(s *capnp.Segment) (ViewSharingLink_RoleAssignment, error)
func NewViewSharingLink_RoleAssignment(s *capnp.Segment) (ViewSharingLink_RoleAssignment, error)
func ReadRootViewSharingLink_RoleAssignment(msg *capnp.Message) (ViewSharingLink_RoleAssignment, error)
func (s ViewSharingLink_RoleAssignment) AddPermissions() (capnp.BitList, error)
func (s ViewSharingLink_RoleAssignment) HasAddPermissions() bool
func (s ViewSharingLink_RoleAssignment) HasRemovePermissions() bool
func (s ViewSharingLink_RoleAssignment) NewAddPermissions(n int32) (capnp.BitList, error)

NewAddPermissions sets the addPermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (s ViewSharingLink_RoleAssignment) NewRemovePermissions(n int32) (capnp.BitList, error)

NewRemovePermissions sets the removePermissions field to a newly allocated capnp.BitList, preferring placement in s's segment.

func (s ViewSharingLink_RoleAssignment) RemovePermissions() (capnp.BitList, error)
func (s ViewSharingLink_RoleAssignment) SetAddPermissions(v capnp.BitList) error
func (s ViewSharingLink_RoleAssignment) SetAllAccess()
func (s ViewSharingLink_RoleAssignment) SetNone()
func (s ViewSharingLink_RoleAssignment) SetRemovePermissions(v capnp.BitList) error
func (s ViewSharingLink_RoleAssignment) SetRoleId(v uint16)
type ViewSharingLink_RoleAssignment_Future struct{ *capnp.Future }

ViewSharingLink_RoleAssignment_Future is a wrapper for a ViewSharingLink_RoleAssignment promised by a client call.

type ViewSharingLink_RoleAssignment_List = capnp.StructList[ViewSharingLink_RoleAssignment]

ViewSharingLink_RoleAssignment_List is a list of ViewSharingLink_RoleAssignment.

func NewViewSharingLink_RoleAssignment_List(s *capnp.Segment, sz int32) (ViewSharingLink_RoleAssignment_List, error)

NewViewSharingLink_RoleAssignment creates a new list of ViewSharingLink_RoleAssignment.

type ViewSharingLink_RoleAssignment_Which uint16
const (
	ViewSharingLink_RoleAssignment_Which_none      ViewSharingLink_RoleAssignment_Which = 0
	ViewSharingLink_RoleAssignment_Which_allAccess ViewSharingLink_RoleAssignment_Which = 1
	ViewSharingLink_RoleAssignment_Which_roleId    ViewSharingLink_RoleAssignment_Which = 2
)
type ViewSharingLink_Server interface {
	GetRoleAssignment(context.Context, ViewSharingLink_getRoleAssignment) error

	GetPetname(context.Context, SharingLink_getPetname) error
}
type ViewSharingLink_getRoleAssignment struct {
	*server.Call
}

ViewSharingLink_getRoleAssignment holds the state for a server call to ViewSharingLink.getRoleAssignment. See server.Call for documentation.

AllocResults allocates the results struct.

Args returns the call's arguments.

type ViewSharingLink_getRoleAssignment_Params capnp.Struct
func NewRootViewSharingLink_getRoleAssignment_Params(s *capnp.Segment) (ViewSharingLink_getRoleAssignment_Params, error)
func NewViewSharingLink_getRoleAssignment_Params(s *capnp.Segment) (ViewSharingLink_getRoleAssignment_Params, error)
func ReadRootViewSharingLink_getRoleAssignment_Params(msg *capnp.Message) (ViewSharingLink_getRoleAssignment_Params, error)
type ViewSharingLink_getRoleAssignment_Params_Future struct{ *capnp.Future }

ViewSharingLink_getRoleAssignment_Params_Future is a wrapper for a ViewSharingLink_getRoleAssignment_Params promised by a client call.

type ViewSharingLink_getRoleAssignment_Params_List = capnp.StructList[ViewSharingLink_getRoleAssignment_Params]

ViewSharingLink_getRoleAssignment_Params_List is a list of ViewSharingLink_getRoleAssignment_Params.

func NewViewSharingLink_getRoleAssignment_Params_List(s *capnp.Segment, sz int32) (ViewSharingLink_getRoleAssignment_Params_List, error)

NewViewSharingLink_getRoleAssignment_Params creates a new list of ViewSharingLink_getRoleAssignment_Params.

type ViewSharingLink_getRoleAssignment_Results capnp.Struct
func NewRootViewSharingLink_getRoleAssignment_Results(s *capnp.Segment) (ViewSharingLink_getRoleAssignment_Results, error)
func NewViewSharingLink_getRoleAssignment_Results(s *capnp.Segment) (ViewSharingLink_getRoleAssignment_Results, error)
func ReadRootViewSharingLink_getRoleAssignment_Results(msg *capnp.Message) (ViewSharingLink_getRoleAssignment_Results, error)
type ViewSharingLink_getRoleAssignment_Results_Future struct{ *capnp.Future }

ViewSharingLink_getRoleAssignment_Results_Future is a wrapper for a ViewSharingLink_getRoleAssignment_Results promised by a client call.

type ViewSharingLink_getRoleAssignment_Results_List = capnp.StructList[ViewSharingLink_getRoleAssignment_Results]

ViewSharingLink_getRoleAssignment_Results_List is a list of ViewSharingLink_getRoleAssignment_Results.

func NewViewSharingLink_getRoleAssignment_Results_List(s *capnp.Segment, sz int32) (ViewSharingLink_getRoleAssignment_Results_List, error)

NewViewSharingLink_getRoleAssignment_Results creates a new list of ViewSharingLink_getRoleAssignment_Results.

Jump to

Keyboard shortcuts

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