config

package
v1.2.0-stable Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 {
	SeleniumPath     string `yaml:"seleniumPath"`
	ChromeDriverPath string `yaml:"chromeDriverPath"`
	Port             int    `yaml:"port"`
	YoutubeSearchURL string `yaml:"youtubeSearchURL"`
	TiktokSearchURL  string `yaml:"tiktokSearchURL"`
}

func LoadConfig

func LoadConfig(filename string) (*Config, error)

Jump to

Keyboard shortcuts

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