config

package
v0.0.0-...-e02ec02 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Extensions []ExtensionConfig `toml:"extensions"`
}

func LoadConfig

func LoadConfig(fs afero.Fs, fname string) (*AppConfig, error)

type BrowserType

type BrowserType int32
const (
	FIREFOX  BrowserType = 0
	CHROMIUM BrowserType = 1
)

func (*BrowserType) UnmarshalText

func (bt *BrowserType) UnmarshalText(text []byte) error

type ExtensionConfig

type ExtensionConfig struct {
	Browser BrowserType `toml:"browser"`
	Profile string      `toml:"profile"`
	Names   []string    `toml:"names"`
}

Jump to

Keyboard shortcuts

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