shared

package
v7.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 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 InitClientConfig

func InitClientConfig() 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