configs

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CESS token precision
	CESSTokenPrecision = 1_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"
	TokenDated        = 60 * 60 * 24 * 30
)

http

View Source
const (
	// Time out waiting for transaction completion
	TimeOut_WaitBlock = time.Duration(time.Second * 15)
	//
	DefaultConfig = "conf.yaml"
)
View Source
const (
	// name
	Name = "deoss"
	// Name space
	NameSpace = Name
	// version
	Version = Name + " " + "v0.2.5"
	// 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"
)
View Source
const (
	//
	FileCacheExpirationTime = 720
)

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