config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: GPL-3.0 Imports: 2 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 {
	Colors  colorscheme.Colorscheme
	Backend backend.Backend
}

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

func (Config) Close

func (c Config) Close() error

Close closes the config

Jump to

Keyboard shortcuts

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