Documentation ¶
Index ¶
- func TryToMigrate(repoPath string) error
- func Version10Upgrade(repoPath string) (err error)
- func Version11Upgrade(repoPath string) (err error)
- func Version12Upgrade(repoPath string) (err error)
- func Version13Upgrade(repoPath string) (err error)
- func Version3Upgrade(repoPath string) error
- func Version4Upgrade(repoPath string) (err error)
- func Version5Upgrade(repoPath string) (err error)
- func Version6Upgrade(repoPath string) (err error)
- func Version7Upgrade(repoPath string) (err error)
- func Version8Upgrade(repoPath string) (err error)
- func Version9Upgrade(repoPath string) (err error)
- type UpgradeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TryToMigrate ¶
TryToMigrate used to migrate data(db,config,file,etc) in local repo
func Version10Upgrade ¶ added in v1.9.0
Version10Upgrade will ignore some fields in the parameters structure of the config.json file
func Version11Upgrade ¶ added in v1.10.0
Version11Upgrade will add actor event config
func Version12Upgrade ¶ added in v1.14.0
Version12Upgrade will modify mainnet bootstrap
func Version13Upgrade ¶ added in v1.16.0
Version13Upgrade will modify mainnet bootstrap
func Version3Upgrade ¶
Version3Upgrade 3 for a config filed named apiAuthUrl
func Version4Upgrade ¶ added in v1.0.4
func Version5Upgrade ¶ added in v1.1.0
Version5Upgrade
func Version6Upgrade ¶ added in v1.1.0
Version6Upgrade
func Version7Upgrade ¶ added in v1.2.0
Version7Upgrade
func Version8Upgrade ¶ added in v1.6.0
Version8Upgrade
func Version9Upgrade ¶ added in v1.8.0
Version9Upgrade
Types ¶
type UpgradeFunc ¶
Click to show internal directories.
Click to hide internal directories.