models

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL