settings

package
v1.6.12 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CServiceName     = "HLF"
	CServiceFullName = "hidden-lake-filesharer"
)
View Source
const (
	CPathYML = "hlf.yml"
	CPathSTG = "hlf.stg"
)
View Source
const (
	CDefaultInterfaceAddress = "127.0.0.1:9541"
	CDefaultIncomingAddress  = "127.0.0.1:9542"
)
View Source
const (
	CDefaultRetryNum   = 2
	CDefaultPageOffset = 10
)
View Source
const (
	CHandleIndexPath          = "/"
	CHandleAboutPath          = "/about"
	CHandleFaviconPath        = "/favicon.ico"
	CHandleSettingsPath       = "/settings"
	CHandleFriendsPath        = "/friends"
	CHandleFriendsStoragePath = "/friends/storage"
	CStaticPath               = "/static/"
)
View Source
const (
	CListPath = "/list"
	CLoadPath = "/load"
)
View Source
const (
	CDefaultLanguage = "ENG"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SFileInfo

type SFileInfo struct {
	FName string `json:"name"`
	FHash string `json:"hash"`
	FSize uint64 `json:"size"`
}

Jump to

Keyboard shortcuts

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