NodeInfo server implemented in Go.
25개 이상의 토픽을 선택하실 수 없습니다. 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. }