NodeInfo server implemented in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
232 B

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