cmd

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppName = "sewaddle"
View Source
var Commit = "no-commit"
View Source
var Version = "no-version"

Functions

func Execute

func Execute()

Types

type BookmarkedChapter

type BookmarkedChapter struct {
	SerieTitle    string `json:"serieTitle"`
	ChapterNumber int    `json:"chapterNumber"`
	Page          int    `json:"page"`
}

type Config

type Config struct {
	ListenAddr string `mapstructure:"listen_addr"`
	DataDir    string `mapstructure:"data_dir"`
	LibraryDir string `mapstructure:"library_dir"`
}

func (*Config) BootstrapDataDir

func (c *Config) BootstrapDataDir() (types.WorkDir, error)

func (*Config) WorkDir

func (c *Config) WorkDir() types.WorkDir

type MarkedChapter

type MarkedChapter struct {
	SerieTitle    string `json:"serieTitle"`
	ChapterNumber int    `json:"chapterNumber"`
}

type User

type User struct {
	Username string `json:"username"`

	MarkedChapters     []MarkedChapter     `json:"markedChapters"`
	BookmarkedChapters []BookmarkedChapter `json:"bookmarkedChapters"`
}

Jump to

Keyboard shortcuts

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