Documentation
¶
Index ¶
- Variables
- func RandJWTConfig() (*config.JWTConfig, error)
- type FsRepo
- func (fsr *FsRepo) APIEndpoint() (string, error)
- func (fsr *FsRepo) APISecret() (*common.APIAlg, error)
- func (fsr *FsRepo) APIStrategyToken(password string) (string, error)
- func (fsr *FsRepo) APIToken() ([]byte, error)
- func (fsr *FsRepo) AppendSupportAccount(newAccount string) error
- func (fsr *FsRepo) Config() *config.Config
- type OverrideParams
- type Repo
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RandJWTConfig ¶
Random generation of JWT config
Types ¶
type FsRepo ¶
type FsRepo struct {
// contains filtered or unexported fields
}
FsRepo is struct for repo, use NewFS to create
func (*FsRepo) APIEndpoint ¶
APIEndpoint returns endpoint of API in this repo
func (*FsRepo) APIStrategyToken ¶
func (*FsRepo) AppendSupportAccount ¶ added in v1.2.0
type OverrideParams ¶
type Repo ¶
type Repo interface { // APIEndpoint returns multiaddress for communication with venus wallet API APIEndpoint() (string, error) // APIToken returns JWT API Token for use in operations that require auth APIToken() ([]byte, error) APISecret() (*common.APIAlg, error) // APIStrategyToken cli pwd convert root token APIStrategyToken(password string) (string, error) Config() *config.Config AppendSupportAccount(newAccount string) error }
file system
Click to show internal directories.
Click to hide internal directories.