shared

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHash = "SHA-256"

Variables

View Source
var (
	ArgConfig     string
	ArgDebug      uint32
	CurrentConfig *config.Config
)
View Source
var ArgDigest string
View Source
var RootCmd = &cobra.Command{
	Use:              "relic",
	PersistentPreRun: showVersion,
	RunE:             bailUnlessVersion,
}

Functions

func AddDigestFlag

func AddDigestFlag(cmd *cobra.Command)

func AddLateHook

func AddLateHook(f func())

func Fail

func Fail(err error) error

func GetDigest

func GetDigest() (hash crypto.Hash, err error)

func InitConfig

func InitConfig() error

func Main

func Main()

func OpenFile

func OpenFile(path string) (*os.File, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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