2023-01-19 15:17:04 +03:00

22 lines
491 B
Go

package syncacl
import (
"github.com/anytypeio/any-sync/commonspace/object/acl/list"
"github.com/anytypeio/any-sync/commonspace/objectsync"
"github.com/anytypeio/any-sync/commonspace/objectsync/synchandler"
)
type SyncAcl struct {
list.AclList
synchandler.SyncHandler
streamPool objectsync.MessagePool
}
func NewSyncAcl(aclList list.AclList, streamPool objectsync.MessagePool) *SyncAcl {
return &SyncAcl{
AclList: aclList,
SyncHandler: nil,
streamPool: streamPool,
}
}