services

package
v0.0.0-...-511fc9c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServices

type AppServices struct {
	Downloader *Downloader
	Exporter   *Exporter
	Scanner    *Scanner
	Prefs      *Prefs
}

func NewAppServices

func NewAppServices(ctx context.Context, a fyne.App) *AppServices

type Downloader

type Downloader struct {
	BoundSourceDir binding.String
	// contains filtered or unexported fields
}

func NewDownloader

func NewDownloader(ctx context.Context, srcDir binding.String) *Downloader

func (*Downloader) Download

func (d *Downloader) Download(sourceDir, username, password string) error

type Exporter

type Exporter struct {
	BoundSourceDir binding.String
	BoundExportDir binding.String
	// contains filtered or unexported fields
}

func NewExporter

func NewExporter(ctx context.Context, src, export binding.String) *Exporter

func (*Exporter) Export

func (e *Exporter) Export(stories []*api2.Story, filename string) error

type Prefs

type Prefs struct {
	// contains filtered or unexported fields
}

func NewPrefs

func NewPrefs(a fyne.App) *Prefs

func (*Prefs) RebellionDetails

func (p *Prefs) RebellionDetails() (string, string)

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func NewScanner

func NewScanner(ctx context.Context) *Scanner

func (*Scanner) Scan

func (s *Scanner) Scan(path string) []*api2.Story

Jump to

Keyboard shortcuts

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