Documentation ¶
Index ¶
- Constants
- Variables
- func AddDigestFlag(cmd *cobra.Command)
- func AddLateHook(f func())
- func Fail(err error) error
- func GetDigest() (hash crypto.Hash, err error)
- func InitClientConfig() error
- func InitConfig() error
- func Main()
- func OpenFile(path string) (*os.File, error)
- func OpenForPatching(inpath, outpath string) (*os.File, error)
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 AddLateHook ¶
func AddLateHook(f func())
func InitClientConfig ¶
func InitClientConfig() error
func InitConfig ¶
func InitConfig() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.