# Functions
LookupLatest generates lookup parameters that look for the latest version of a resource.
LookupLatestVersionInPeriod generates lookup parameters that look for the latest version of a resource in a given period.
LookupVersion generates lookup parameters that look for a specific version of a resource.
NewCreateRequest returns a request to create a new resource.
NewCreateUpdateRequest returns a ready to sign request to create and initialize a resource with data.
NewDefaultTimestampProvider creates a system clock based timestamp provider.
NewError creates a new Mutable Resource Error object with the specified code and custom error message.
NewErrorf is a convenience version of NewError that incorporates printf-style formatting.
NewGenericSigner builds a signer that will sign everything with the provided private key.
NewHandler creates a new Mutable Resource API.
No description provided by the author
NewTestHandler creates Handler object to be used for testing purposes.
# Constants
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
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
No description provided by the author
No description provided by the author
# Variables
TimestampProvider sets the time source of the mru package.
# Structs
No description provided by the author
Error is a the typed error object used for Mutable Resources.
GenericSigner implements the Signer interface It is the vanilla signer that probably should be used in most cases.
No description provided by the author
HandlerParams pass parameters to the Handler constructor NewHandler Signer and TimestampProvider are mandatory parameters.
LookupParams is used to specify constraints when performing an update lookup Limit defines whether or not the lookup should be limited If Limit is set to true then Max defines the amount of hops that can be performed.
Request represents an update and/or resource create message.
ResourceMetadata encapsulates the immutable information about a mutable resource :) once serialized into a chunk, the resource can be retrieved by knowing its content-addressed rootAddr.
SignedResourceUpdate represents a resource update with all the necessary information to prove ownership of the resource.
No description provided by the author
Encodes a point in time as a Unix epoch.
UpdateLookup represents the components of a resource update search key.
# Interfaces
Signer signs Mutable Resource update payloads.
# Type aliases
Signature is an alias for a static byte array with the size of a signature.