gitlab.com/jokerrs1/Sia@v1.3.2/node/api/client/hostdb.go (about)

     1  package client
     2  
     3  import "github.com/NebulousLabs/Sia/node/api"
     4  
     5  // HostDbActiveGet requests the /hostdb/active endpoint's resources
     6  func (c *Client) HostDbActiveGet() (hdag api.HostdbActiveGET, err error) {
     7  	err = c.get("/hostdb/active", &hdag)
     8  	return
     9  }