Merge pull request #3 from openrelayxyz/feature/isSynced-improvement
Feature/is synced improvement
This commit is contained in:
commit
816fa6ef71
@ -141,6 +141,11 @@ type Node interface {
|
||||
HTTPEndpoint() string
|
||||
WSEndpoint() string
|
||||
ResolvePath(x string) string
|
||||
Attach() (Client, error)
|
||||
}
|
||||
|
||||
type Client interface {
|
||||
Call(interface{}, string, ...interface{}) error
|
||||
}
|
||||
|
||||
type Server interface {
|
||||
@ -161,7 +166,6 @@ type PluginLoader interface {
|
||||
GetFeed() Feed
|
||||
}
|
||||
|
||||
|
||||
type Subscription interface {
|
||||
Err() <-chan error // returns the error channel
|
||||
Unsubscribe() // cancels sending of events, closing the error channel
|
||||
|
Loading…
Reference in New Issue
Block a user