Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreSnashotInput ¶
type CoreToolsSnapshot ¶
type CoreToolsSnapshot struct { Height int `json:"height"` Version int `json:"version"` Size int `json:"size"` Hash string `json:"hash"` }
{"snapshots":[{"height":5648600,"version":18830,"size":71,"hash":"80bedacff88b8069f3abfff49d42930c553632ce48ecc6f675339955edd8f24a"},
func LatestCoreSnapshot ¶
func LatestCoreSnapshot(vegaBinary string, input CoreSnashotInput) (*CoreToolsSnapshot, error)
type CoreToolsSnapshots ¶
type CoreToolsSnapshots struct {
Snapshots []CoreToolsSnapshot `json:"snapshots"`
}
func ListCoreSnapshots ¶
func ListCoreSnapshots(vegaBinary string, input CoreSnashotInput) (*CoreToolsSnapshots, error)
Click to show internal directories.
Click to hide internal directories.