Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CESS token precision CESSTokenPrecision = 1_000_000_000_000_000_000 // MinimumBalance is the minimum balance required for the program to run // The unit is pico MinimumBalance = 2 * CESSTokenPrecision )
account
View Source
const ( Header_Auth = "Authorization" Header_BucketName = "BucketName" Header_Account = "Account" Header_Operation = "Operation" )
http
View Source
const ( Access_Public = "public" Access_Private = "private" )
View Source
const ( // name Name = "DeOSS" // Name space NameSpace = Name // version Version = Name + " " + "v0.3.6" // description Description = "Object storage service based on CESS network" )
system
View Source
const ( // log file dir Log = "log" // database dir Db = "db" // tracked files Track = "track" // Feedback = "feedback" // Ufile = "ufile" // Dfile = "dfile" )
View Source
const DefaultConfig = "conf.yaml"
View Source
const FileCacheExpirationTime = 720
View Source
const MaxTrackThread = 10
View Source
const TimeOut_WaitBlock = time.Duration(time.Second * 30)
Time out waiting for transaction completion
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.