Documentation
¶
Index ¶
- type ClientCallback
- type SearchId
- type SharedData
- type SharedDataId
- type SharedDataManager
- type SharedDataProxy
- type TestClientCallback
- func (cb *TestClientCallback) OnInviteAccepted(sharedData SharedData, contact common.Contact)
- func (cb *TestClientCallback) OnInvited(sharedDataId SharedDataId, me string, contact common.Contact) bool
- func (cb *TestClientCallback) OnSearch(id SearchId, query string) bool
- func (cb *TestClientCallback) OnSearchResult(id SearchId, result string, contact common.Contact)
- func (cb *TestClientCallback) OnSharedDataAvailable(sharedData SharedData)
- type ValueHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCallback ¶
type SharedData ¶
type SharedData interface {}
func NewSharedData ¶
func NewSharedData(creator common.Contact, id SharedDataId) SharedData
type SharedDataId ¶
type SharedDataId string
type SharedDataManager ¶
type SharedDataManager interface {}
func NewSharedDataManager ¶
func NewSharedDataManager(ctx common.CallCtx, myself common.Myself, cb ClientCallback, clientCache client.GrapevineClientCache) SharedDataManager
type SharedDataProxy ¶
type SharedDataProxy interface { SharedData }
func NewSharedDataProxy ¶
func NewSharedDataProxy(origin SharedData, sdm *sharedDataManager) SharedDataProxy
type TestClientCallback ¶
type TestClientCallback struct {
// contains filtered or unexported fields
}
func NewTestClientCb ¶
func NewTestClientCb(name string) *TestClientCallback
func (*TestClientCallback) OnInviteAccepted ¶
func (cb *TestClientCallback) OnInviteAccepted(sharedData SharedData, contact common.Contact)
func (*TestClientCallback) OnInvited ¶
func (cb *TestClientCallback) OnInvited(sharedDataId SharedDataId, me string, contact common.Contact) bool
func (*TestClientCallback) OnSearch ¶
func (cb *TestClientCallback) OnSearch(id SearchId, query string) bool
func (*TestClientCallback) OnSearchResult ¶
func (cb *TestClientCallback) OnSearchResult(id SearchId, result string, contact common.Contact)
func (*TestClientCallback) OnSharedDataAvailable ¶
func (cb *TestClientCallback) OnSharedDataAvailable(sharedData SharedData)
type ValueHolder ¶
type ValueHolder struct {
Value interface{}
}
Click to show internal directories.
Click to hide internal directories.