core

package
v0.0.0-...-4ec974a Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfDir

func GetConfDir() string

Types

type Config

type Config struct {
	ClientID               string `json:"ClientID"`
	ClientSecret           string `json:"ClientSecret"`
	BackupLinksSecret      string `json:"BackupLinksSecret"`
	DownloadDir            string `json:"DownloadDir"`
	MaxConcurrentDownloads uint   `json:"MaxConcurrentDownloads"`
}

type Kanna

type Kanna struct {
	Client *tohru.TohruClient
	Fafnir *fafnir.Fafnir

	TView      *tview.Application
	PageHolder *tview.Pages

	Config  *Config
	LogFile *os.File
}

func (*Kanna) Initialise

func (t *Kanna) Initialise() error

func (*Kanna) Shutdown

func (t *Kanna) Shutdown()

Jump to

Keyboard shortcuts

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