Documentation
¶
Index ¶
Constants ¶
View Source
const ( BackendWeb = "web" BackendCache = "cache" )
Define the basic backend types
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Colors colorscheme.Colorscheme
Backend backend.Backend
// contains filtered or unexported fields
}
Config is the configuration for the program
func New ¶
func New(colors colorscheme.Colorscheme, urlPath, cachePath string, resetCache bool) (Config, error)
New returns a new Config
Click to show internal directories.
Click to hide internal directories.