package
0.0.0-20240726205954-93d05801347e
Repository: https://github.com/wplapper/restic.git
Documentation: pkg.go.dev
# Functions
Create creates a new REST on server configured in config.
NewConfig returns a new Config with the default values filled in.
No description provided by the author
Open opens the REST backend with the given config.
ParseConfig parses the string s and extracts the REST server URL.
StripPassword removes the password from the URL If the repository location cannot be parsed as a valid URL, it will be returned as is (it's because this function is used for logging errors).
# Constants
the REST API protocol version is decided by HTTP request headers, these are the constants.
the REST API protocol version is decided by HTTP request headers, these are the constants.