1
0
mirror of https://github.com/writeas/go-nodeinfo.git synced 2025-07-18 21:08:17 +00:00
go-nodeinfo/resolver.go

9 lines
232 B
Go

package nodeinfo
type Resolver interface {
// IsOpenRegistration returns whether or not registration is open on this node.
IsOpenRegistration() (bool, error)
// Usage returns usage stats for this node.
Usage() (Usage, error)
}