mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
16 lines
285 B
Go
16 lines
285 B
Go
package syncobjectgetter
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/anyproto/any-sync/commonspace/sync/syncdeps"
|
|
)
|
|
|
|
type SyncObject interface {
|
|
Id() string
|
|
syncdeps.ObjectSyncHandler
|
|
}
|
|
|
|
type SyncObjectGetter interface {
|
|
GetObject(ctx context.Context, objectId string) (SyncObject, error)
|
|
}
|