mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
21 lines
491 B
Go
21 lines
491 B
Go
package syncacl
|
|
|
|
import (
|
|
"github.com/anyproto/any-sync/commonspace/object/acl/list"
|
|
"github.com/anyproto/any-sync/commonspace/objectsync"
|
|
"github.com/anyproto/any-sync/commonspace/objectsync/synchandler"
|
|
)
|
|
|
|
type SyncAcl struct {
|
|
list.AclList
|
|
synchandler.SyncHandler
|
|
messagePool objectsync.MessagePool
|
|
}
|
|
|
|
func NewSyncAcl(aclList list.AclList, messagePool objectsync.MessagePool) *SyncAcl {
|
|
return &SyncAcl{
|
|
AclList: aclList,
|
|
SyncHandler: nil,
|
|
messagePool: messagePool,
|
|
}
|
|
}
|