Documentation
¶
Index ¶
Constants ¶
View Source
const DataPath = "./data"
DataPath is where all data is held.
View Source
const MaxFileSize int = 1000
MaxFileSize is the maximum size a file on the network can be (in bytes).
View Source
const ShardCount int = 3
ShardCount is amount of shards a file should be split into.
Variables ¶
View Source
var DBPath = path.Join(DataPath, "db")
DBPath represents the path for all databases.
View Source
var FileDBPath = path.Join(DataPath, "file_db")
FileDBPath is the path of the FileDB.
View Source
var NodeDBPath = path.Join(DataPath, "node_db")
NodeDBPath is the path of the NodeDB.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.