Documentation ¶
Index ¶
- func CheckConfigFileName(filename string) string
- func ConfigFilename() string
- func EntryCost(b []byte) (uint8, error)
- func GetChangeAcksHeight(filename string) (change uint32, err error)
- func GetConfigFilename(dir string) string
- func GetHomeDir() string
- func ReadConfig(filename string) *dcntConfig
- func Trace(params ...string)
- type ByABlockIDAscending
- type ByByteArray
- type ByDBlockIDAscending
- type ByDirBlockInfoIDAscending
- type ByDirBlockInfoTimestamp
- type ByEBlockIDAscending
- type ByECBlockIDAscending
- type ByFBlockIDAscending
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckConfigFileName ¶
func ConfigFilename ¶
func ConfigFilename() string
func GetChangeAcksHeight ¶
func GetConfigFilename ¶
func GetHomeDir ¶
func GetHomeDir() string
func ReadConfig ¶
func ReadConfig(filename string) *dcntConfig
Types ¶
type ByABlockIDAscending ¶
type ByABlockIDAscending []IAdminBlock
------------------------------------------------ ABlock array sorting implementation - ascending
func (ByABlockIDAscending) Len ¶
func (f ByABlockIDAscending) Len() int
func (ByABlockIDAscending) Less ¶
func (f ByABlockIDAscending) Less(i, j int) bool
func (ByABlockIDAscending) Swap ¶
func (f ByABlockIDAscending) Swap(i, j int)
type ByByteArray ¶
type ByByteArray [][]byte
------------------------------------------------ Byte array sorting - ascending
func (ByByteArray) Len ¶
func (f ByByteArray) Len() int
func (ByByteArray) Less ¶
func (f ByByteArray) Less(i, j int) bool
func (ByByteArray) Swap ¶
func (f ByByteArray) Swap(i, j int)
type ByDBlockIDAscending ¶
type ByDBlockIDAscending []IDirectoryBlock
------------------------------------------------ DBlock array sorting implementation - ascending
func (ByDBlockIDAscending) Len ¶
func (f ByDBlockIDAscending) Len() int
func (ByDBlockIDAscending) Less ¶
func (f ByDBlockIDAscending) Less(i, j int) bool
func (ByDBlockIDAscending) Swap ¶
func (f ByDBlockIDAscending) Swap(i, j int)
type ByDirBlockInfoIDAscending ¶
type ByDirBlockInfoIDAscending []IDirBlockInfo
------------------------------------------------ DirBlock Info array sorting implementation - ascending
func (ByDirBlockInfoIDAscending) Len ¶
func (f ByDirBlockInfoIDAscending) Len() int
func (ByDirBlockInfoIDAscending) Less ¶
func (f ByDirBlockInfoIDAscending) Less(i, j int) bool
func (ByDirBlockInfoIDAscending) Swap ¶
func (f ByDirBlockInfoIDAscending) Swap(i, j int)
type ByDirBlockInfoTimestamp ¶
type ByDirBlockInfoTimestamp []IDirBlockInfo
ByDirBlockInfoTimestamp defines the methods needed to satisify sort.Interface to sort a slice of DirBlockInfo by their Timestamp.
func (ByDirBlockInfoTimestamp) Len ¶
func (u ByDirBlockInfoTimestamp) Len() int
func (ByDirBlockInfoTimestamp) Less ¶
func (u ByDirBlockInfoTimestamp) Less(i, j int) bool
func (ByDirBlockInfoTimestamp) Swap ¶
func (u ByDirBlockInfoTimestamp) Swap(i, j int)
type ByEBlockIDAscending ¶
type ByEBlockIDAscending []IEntryBlock
------------------------------------------------ EBlock array sorting implementation - ascending
func (ByEBlockIDAscending) Len ¶
func (f ByEBlockIDAscending) Len() int
func (ByEBlockIDAscending) Less ¶
func (f ByEBlockIDAscending) Less(i, j int) bool
func (ByEBlockIDAscending) Swap ¶
func (f ByEBlockIDAscending) Swap(i, j int)
type ByECBlockIDAscending ¶
type ByECBlockIDAscending []IEntryCreditBlock
------------------------------------------------ CBlock array sorting implementation - ascending
func (ByECBlockIDAscending) Len ¶
func (f ByECBlockIDAscending) Len() int
func (ByECBlockIDAscending) Less ¶
func (f ByECBlockIDAscending) Less(i, j int) bool
func (ByECBlockIDAscending) Swap ¶
func (f ByECBlockIDAscending) Swap(i, j int)
type ByFBlockIDAscending ¶
type ByFBlockIDAscending []IFBlock
------------------------------------------------ ABlock array sorting implementation - ascending
func (ByFBlockIDAscending) Len ¶
func (f ByFBlockIDAscending) Len() int
func (ByFBlockIDAscending) Less ¶
func (f ByFBlockIDAscending) Less(i, j int) bool
func (ByFBlockIDAscending) Swap ¶
func (f ByFBlockIDAscending) Swap(i, j int)