package
0.16.0
Repository: https://github.com/privacybydesign/irmago.git
Documentation: pkg.go.dev

# Functions

AssertPathExists returns nil only if it has been successfully verified that all specified paths exists.
No description provided by the author
Base64Decode decodes the specified bytes as any of the Base64 dialects: standard encoding (+, /) and URL encoding (-, _), with or without padding.
Close is a helper for absorbing errors in the `defer x.Close()` pattern.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IterateSubfolders iterates over the subfolders of the specified path, calling the specified handler each time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathExists checks if the specified path exists.
No description provided by the author
ReadKey returns either the content of the file specified at path, if it exists, or []byte(key) otherwise.
SaveFile saves the file contents at the specified path atomically: - first save the content in a temp file with a random filename in the same dir - then rename the temp file to the specified filepath, overwriting the old file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WalkDir recursively walks the file tree rooted at path, following symlinks (unlike filepath.Walk).

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ForceHTTPS disables HTTP forcing in irma.HTTPTransport for all instances, regardless of the instance's ForceHTTPS member.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author