Documentation ¶
Index ¶
- func CheckVersionAndDB(dataDir string) (int64, dbm.BackendType, error)
- func Compress(homeDir string, chainID string, backendType dbm.BackendType, blockHeight int64, ...) error
- func GetChainID(homeDir string) (string, error)
- func LoadConfig() (aws.Config, error)
- type GCSUploader
- type ProgressReader
- type S3Uploader
- type Uploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckVersionAndDB ¶
func CheckVersionAndDB( dataDir string, ) (int64, dbm.BackendType, error)
CheckVersion gets the height of this node
func GetChainID ¶
GetChainID returns the chain ID of the chain
func LoadConfig ¶
Types ¶
type GCSUploader ¶ added in v0.1.2
type GCSUploader struct {
// contains filtered or unexported fields
}
func NewGCSUploader ¶ added in v0.1.2
func NewGCSUploader(bucket string) (*GCSUploader, error)
type ProgressReader ¶ added in v0.1.1
type ProgressReader struct {
// contains filtered or unexported fields
}
type S3Uploader ¶
type S3Uploader struct {
// contains filtered or unexported fields
}
func NewS3Uploader ¶
func NewS3Uploader(bucket string, cfg aws.Config) (*S3Uploader, error)
Click to show internal directories.
Click to hide internal directories.