Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
A Provider contains the information necessary to communicate with the renters.
func New ¶
func New(db *sql.DB, g modules.Gateway, m modules.Manager, satelliteAddr string, muxAddr string, dir string) (*Provider, <-chan error)
New returns an initialized Provider.
func (*Provider) SecretKey ¶
func (p *Provider) SecretKey() types.PrivateKey
SecretKey returns the provider's secret key.
Click to show internal directories.
Click to hide internal directories.