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:
parent
698507d363
commit
d04e55bc9c
12 changed files with 289 additions and 38 deletions
|
@ -1,5 +1,11 @@
|
|||
package net
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrUnableToConnect = errors.New("unable to connect")
|
||||
)
|
||||
|
||||
type ConfigGetter interface {
|
||||
GetNet() Config
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue