mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Add new version
This commit is contained in:
parent
70214fec8a
commit
387671a5e7
1 changed files with 5 additions and 3 deletions
|
@ -29,12 +29,14 @@ var (
|
||||||
// ProtoVersion 2 - acl compatible version
|
// ProtoVersion 2 - acl compatible version
|
||||||
// ProtoVersion 3 - acl with breaking changes / multiplayer
|
// ProtoVersion 3 - acl with breaking changes / multiplayer
|
||||||
// ProtoVersion 4 - new sync compatible version
|
// ProtoVersion 4 - new sync compatible version
|
||||||
CompatibleVersion = uint32(3)
|
// ProtoVersion 5 - sync with no entry space
|
||||||
ProtoVersion = uint32(4)
|
CompatibleVersion = uint32(3)
|
||||||
|
ProtoVersion = uint32(4)
|
||||||
|
NoEntrySpaceVersion = uint32(5)
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
compatibleVersions = []uint32{CompatibleVersion, ProtoVersion}
|
compatibleVersions = []uint32{CompatibleVersion, ProtoVersion, NoEntrySpaceVersion}
|
||||||
)
|
)
|
||||||
|
|
||||||
func New() SecureService {
|
func New() SecureService {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue