configs

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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