package
1.2.6
Repository: https://github.com/textileio/powergate.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateClientConn creates a gRPC connection with sensible defaults and the provided overrides.
NewClient creates a client.
WithAddressType specifies the type of address to create.
WithAscending specifies to sort the results in ascending order.
WithDataCids limits the results to deals for the provided data cids.
WithFromAddrs limits the results deals initiated from the provided wallet addresses.
WithHistory indicates that prior history logs should be sent in the channel before getting real time logs.
WithIncludeFinal specifies whether or not to include final deals in the results.
WithIncludePending specifies whether or not to include pending deals in the results.
WithJobIDFilter filters only log messages of a Cid related to the Job with id jid.
WithMakeDefault specifies if the new address should become the default.
WithOverride allows a new push configuration to override an existing one.
WithStorageConfig overrides the Api default Cid configuration.

# Constants

AdminKey is the key that should be used to set the admin auth token in a Context.
AuthKey is the key that should be used to set the auth token in a Context.

# Structs

Client provides the client api.
Data provides access to Powergate general data APIs.
Deals provides access to Powergate deals APIs.
StorageConfig provides access to Powergate storage config APIs.
StorageJobs provides access to Powergate jobs APIs.
TokenAuth provides token based auth.
Wallet provides an API for managing filecoin wallets.
WatchLogsEvent represents an event for watching cid logs.
WatchStorageJobsEvent represents an event for Watching a job.

# Type aliases

ApplyOption mutates a push request.
DealRecordsOption updates a ListDealRecordsConfig.
NewAddressOption is a function that changes a NewAddressConfig.
WatchLogsOption is a function that changes GetLogsConfig.