config

package
v0.0.0-...-9782d59 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CalibreCollection string
	KindleCC          string
	Mode              Mode
	Source            Source
	Meta              MetaConfig
}

func NewConfig

func NewConfig() (*Config, error)

type MetaConfig

type MetaConfig struct {
	Path     string
	BySeries int
	ByAuthor int
	ByTags   int
	Tags     map[string]string
}

type Mode

type Mode int64
const (
	Uknown Mode = iota
	Update
	Rebuild
	Purge
)

type Source

type Source int64
const (
	Collection Source = iota
	Meta
)

Jump to

Keyboard shortcuts

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