Documentation ¶
Index ¶
- Constants
- func CleanForStartup() error
- func CleanupLbrynet() error
- func CleanupMetadata() error
- func CreateTarball(tarballFilePath string, filePaths []string) error
- func DirSize(path string) (int64, error)
- func GetBlobsDir() string
- func GetBlockchainDBPath() string
- func GetBlockchainDirectoryName() string
- func GetDefaultWalletPath() string
- func GetLBRYNetContainer(all bool) (*types.Container, error)
- func GetLBRYNetDir() string
- func GetLbrycrdClient(lbrycrdString string) (*lbrycrd.Client, error)
- func GetLbryumDir() string
- func GetVideoMetadataDir() string
- func IsBlobReflectionOff() bool
- func IsLbrynetRunning() (bool, error)
- func IsRegTest() bool
- func IsUsingDocker() bool
- func SendErrorToSlack(format string, a ...interface{})
- func SendInfoToSlack(format string, a ...interface{})
- func ShouldCleanOnStartup() bool
- func SleepUntilQuotaReset()
- func StartDaemon() error
- func StopDaemon() error
- func Untar(tarball, target string) error
Constants ¶
View Source
const ALL = true
View Source
const ONLINE = false
Variables ¶
This section is empty.
Functions ¶
func CleanForStartup ¶
func CleanForStartup() error
func CleanupLbrynet ¶
func CleanupLbrynet() error
func CleanupMetadata ¶ added in v5.7.0
func CleanupMetadata() error
func CreateTarball ¶ added in v5.8.0
func GetBlobsDir ¶
func GetBlobsDir() string
func GetBlockchainDBPath ¶ added in v5.6.0
func GetBlockchainDBPath() string
func GetBlockchainDirectoryName ¶ added in v5.6.0
func GetBlockchainDirectoryName() string
func GetDefaultWalletPath ¶
func GetDefaultWalletPath() string
func GetLBRYNetDir ¶
func GetLBRYNetDir() string
func GetLbryumDir ¶
func GetLbryumDir() string
func GetVideoMetadataDir ¶ added in v5.7.0
func GetVideoMetadataDir() string
func IsBlobReflectionOff ¶
func IsBlobReflectionOff() bool
func IsLbrynetRunning ¶
func IsUsingDocker ¶
func IsUsingDocker() bool
func SendErrorToSlack ¶
func SendErrorToSlack(format string, a ...interface{})
SendErrorToSlack Sends an error message to the default channel and to the process log.
func SendInfoToSlack ¶
func SendInfoToSlack(format string, a ...interface{})
SendInfoToSlack Sends an info message to the default channel and to the process log.
func ShouldCleanOnStartup ¶
func ShouldCleanOnStartup() bool
func SleepUntilQuotaReset ¶
func SleepUntilQuotaReset()
func StartDaemon ¶
func StartDaemon() error
func StopDaemon ¶
func StopDaemon() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.