1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

propagate handshake error + NetworkCompatibilityStatus method

This commit is contained in:
Sergey Cherepanov 2023-05-22 17:57:00 +02:00 committed by Mikhail Iudin
parent 698507d363
commit d04e55bc9c
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
12 changed files with 289 additions and 38 deletions

View file

@ -1,5 +1,11 @@
package net
import "errors"
var (
ErrUnableToConnect = errors.New("unable to connect")
)
type ConfigGetter interface {
GetNet() Config
}