# Functions
DetectContentType by file file extension, or fallback to content sniff.
DoACT is a helper function to the CLI API that handles the entire business logic for creating a access key, access entry and ACT manifest (including uploading it) given the cli context, ec keys, password grantees and salt.
DoPassword is a helper function to the CLI API that handles the entire business logic for creating a session key and an access entry given the cli context, password and salt.
DoPK is a helper function to the CLI API that handles the entire business logic for creating a session key and access entry given the cli context, ec keys and salt.
No description provided by the author
MultiResolverOptionWithResolver adds a Resolver to a list of resolvers for a specific TLD.
NewAccessEntryACT creates a manifest AccessEntry in order to create an ACT protected by a combination of EC keys and passwords.
NewAccessEntryPassword creates a manifest AccessEntry in order to create an ACT protected by a password.
NewAccessEntryPK creates a manifest AccessEntry in order to create an ACT protected by a pair of Elliptic Curve keys.
NewAPI the api constructor initialises a new API instance.
create a default config with all parameters to set to defaults.
No description provided by the author
No description provided by the author
NewKdfParams returns a KdfParams struct with the given scrypt params.
NewMultiResolver creates a new instance of MultiResolver.
NewNoResolverError creates a NoResolverError for the given top level domain.
No description provided by the author
NewSessionKeyPassword creates a session key based on a shared secret (password) and the given salt and kdf parameters in the access entry.
NewSessionKeyPK creates a new ACT Session Key using an ECDH shared secret for the given key pair and the given salt value.
No description provided by the author
NOOPDecrypt is a generic decrypt function that is passed into the API in places where real ACT decryption capabilities are either unwanted, or alternatively, cannot be implemented in the immediate scope.
Parse parses rawuri into a URI struct, where rawuri is expected to have one of the following formats:
* <scheme>:/ * <scheme>:/<addr> * <scheme>:/<addr>/<path> * <scheme>:// * <scheme>://<addr> * <scheme>://<addr>/<path>
with scheme one of bzz, bzz-raw, bzz-immutable, bzz-list or bzz-hash.
file system manifest always contains regularized paths no leading or trailing slashes, only single slashes inside.
# 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
MimeOctetStream default value of http Content-Type header.
# Variables
No description provided by the author
No description provided by the author
ErrCannotLoadFeedManifest is returned when looking up a feeds manifest fails.
ErrCannotResolveFeed is returned when values provided are not enough or invalid to recreate a feed out of them.
ErrCannotResolveFeedURI is returned when the ENS resolver is not able to translate a name to a Swarm feed.
No description provided by the author
No description provided by the author
ErrNotAFeedManifest is returned when the address provided returned something other than a valid manifest.
ErrSkipManifest is used as a return value from WalkFn to indicate that the manifest should be skipped.
No description provided by the author
# Structs
No description provided by the author
API implements webserver/file system related content storage and retrieval
on top of the FileStore
it is the public interface of the FileStore which is included in the severeum stack
*/.
separate bzz directories allow etheral bzz nodes running in parallel.
No description provided by the author
No description provided by the author
No description provided by the author
Manifest represents a swarm manifest.
ManifestEntry represents an entry in a swarm manifest.
ManifestList represents the result of listing files in a manifest.
ManifestWalker is used to recursively walk the entries in the manifest and all of its submanifests.
ManifestWriter is used to add and remove entries from an underlying manifest.
MultiResolver is used to resolve URL addresses based on their TLDs.
NoResolverError is returned by MultiResolver.Resolve if no resolver can be found for the address.
No description provided by the author
No description provided by the author
implements a service
DEPRECATED: Use the HTTP API instead.
URI is a reference to content stored in swarm.
# Interfaces
Resolver interface resolve a domain name to a hash using ENS.
ResolveValidator is used to validate the contained Resolver.
# Type aliases
No description provided by the author
No description provided by the author
MultiResolverOption sets options for MultiResolver and is used as arguments for its constructor.
WalkFn is the type of function called for each entry visited by a recursive manifest walk.