pkg

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProofAction

func ProofAction(ctx *cli.Context) error

ProofAction contains the logic for the `proof` subcommand.

func ProofCmd

func ProofCmd() *cli.Command

ProofCmd defines the `proof` subcommand

func Run

func Run()

Run initializes the stamp command line app

func StampAction

func StampAction(ctx *cli.Context) error

StampAction contains the logic for the `stamp` subcommand.

func StatusAction

func StatusAction(ctx *cli.Context) error

StatusAction contains the logic for the `status` subcommand.

func StatusCmd

func StatusCmd() *cli.Command

StatusCmd defines the `status` subcommand

func UsageAction

func UsageAction(ctx *cli.Context) error

UsageAction contains the logic for the `usage` subcommand.

func UsageCmd

func UsageCmd() *cli.Command

UsageCmd defines the `proof` subcommand

Types

type EnumValue

type EnumValue struct {
	Enum    []string
	Default string
	// contains filtered or unexported fields
}

EnumValue is used for command line flags that can only hold certain values

func (*EnumValue) Set

func (e *EnumValue) Set(value string) error

Set is used to make sure only allowed values are set

func (EnumValue) String

func (e EnumValue) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳