# Functions
NewEncryptedUploadManager is used to generate our db helper.
NewHostedNetworkManager is used to initialize our database connection.
NewIPNSManager is used to generate our model manager.
NewOrgManager instantiates an OrgManager.
NewPaymentManager is used to generate our payment manager helper.
NewRecordManager is used to generate our record manager.
NewUploadManager is used to generate an upload manager interface.
NewUsageManager is used to instantiate a Usage manager.
NewUserManager is used to generate our user manager helper.
NewZoneManager is used to generate our zone manager helper to interact with the db.
# Constants
ErrAlreadyExistingUpload is an error triggered when attempting to insert a new row into the database for a content that already exists in the database for a user.
ErrShorterGCD is an error triggered when updating to update an upload for a user with a hold time that would result in a shorter garbage collection date.
# Variables
AdminAddress is the eth address of the admin account.
EmptyCustomerObjectHash is an empty customer object published to ipfs.
Free is what every signed up user is automatically registered as Restrictions of free: * No on-demand data encryption * 3GB/month max * IPNS limit of 5, with no automatic republishes * 5 keys.
FreeIPNSLimit defines how many ipns records free accounts can publish.
FreeKeyLimit defines how many keys free accounts can create.
FreePubSubLimit defines how many pubsub messages free accounts can send.
FreeUploadLimit is the maximum data usage for free accounts Currrently set to 3GB.
NonFreeUploadLimit is the maximum data usage for non-free accounts Currently set to 1000TB or 1PB.
Paid is the non-free tier of Temporal Maximum data-limit is 1TB/month * on-demand data encryption.
PaidIPNSRecordLimit defines how many ipns records plus accounts can publish.
PaidKeyLimit defines how many keys plus accounts can create.
PaidPubSubLimit defines how many pubsub messages plus accounts can send.
Partner is for partners of RTrade partners have 100GB/month free * on-demand data encryption * 0.16GB/month after 100GB limit.
PartnerIPNSLimit defines how many ipns records partner accounts can publish.
PartnerKeyLimit defines how many keys partner accounts can create.
PartnerPubSubLimit defines how many pubsub messages partner accounts can send.
Unverified is the default tier you get placed into before validating your email address.
UnverifiedIPNSLimit prevents unverified account access to IPNS.
UnverifiedKeyLimit prevents unverified account access to keys.
UnverifiedPubSubLimit prevents unverified account access to pubsub.
UnverifiedUploadLimit is the maximum data usage for unverified accounts Currently set to 0MB.
WhiteLabeled is a special billing system that enables resellers, and customized billing scenarios without having to modify much code.
WhiteLabeledLimits is a generalized limitation for white-labeled accounts.
# Structs
APIDetails provides data about IPFS API connection.
BillingItem is an individual user's billing history.
BillingReport contains a summary of an organizations entire active user base in the last 30 days along with the USD value currently owned by the account.
EncryptedUpload is an uploaded that has been encrypted by Temporal.
EncryptedUploadManager is used to manipulate encrypted uplaods.
HostedNetwork is a private network for which we are responsible of the infrastructure.
HostedNetworkManager is used to manipulate IPFS network models in the database.
IPNS will hold all of the IPNS entries in our system.
IpnsManager is used for manipulating IPNS records in our database.
NetworkAccessOptions configures access to a hosted private network.
Organization represents a company using white-labeled Temporal.
OrgManager is an organization model manager.
PaymentManager is used to interact with payment information in our database.
Payments is our payment model.
Record is an entry within a tns zone.
RecordManager is used to manipulate records in our db.
SwarmDetails provides data about IPFS swarm connection.
Upload is a file or pin based upload to temporal.
UploadManager is used to manipulate upload objects in the database.
UploadOptions is used to configure an upload.
Usage is used to handle Usage of Temporal accounts.
UsageManager is used to manage Usage models.
User is our user model for anyone who signs up with Temporal.
UserManager is our helper to interact with our database.
Zone is a TNS zone.
ZoneManager is used to manipulate zone entries in the database.
# Type aliases
DataUsageTier is a type of usage tier which governs the price per gb ratio.