cmd

package
v0.0.0-...-fb4adf4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2019 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is our top line function for all CLI commands

Types

type ArweaveFile

type ArweaveFile struct {
	Version  string                `json:"version"`
	Releases map[int64]ReleaseInfo `json:"releases"`
}

ArweaveFile is the structure of the .arweave file saved in the repository's directory

type ArweaveRelease

type ArweaveRelease struct {
	Version     string   `json:"version"`
	Repository  string   `json:"repository"`
	LastCommit  string   `json:"last_commit"`
	LastRelease string   `json:"last_release"`
	Data        string   `json:"data"`
	Encoding    []string `json:"encoding"`
}

ArweaveRelease is the structure of the saved data on the arweave blockchain

type ReleaseInfo

type ReleaseInfo struct {
	Hash   string `json:"hash"`
	Commit string `json:"Commit"`
}

ReleaseInfo contains the arweave hash and the git commit of the release

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL