powergate: github.com/textileio/powergate/lotus Index | Files

package lotus

import "github.com/textileio/powergate/lotus"


Package Files

client.go metrics.go

func MonitorLotusSync Uses

func MonitorLotusSync(clientBuilder ClientBuilder)

MonitorLotusSync fires a goroutine that will generate metrics with Lotus node height.

type ClientBuilder Uses

type ClientBuilder func() (*apistruct.FullNodeStruct, func(), error)

ClientBuilder creates a new Lotus client.

func NewBuilder Uses

func NewBuilder(maddr ma.Multiaddr, authToken string, connRetries int) (ClientBuilder, error)

NewBuilder creates a new ClientBuilder.

Package lotus imports 11 packages (graph) and is imported by 6 packages. Updated 2020-09-21. Refresh now. Tools for package owners.