config

package
v0.0.0-...-53aeb52 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: GPL-3.0 Imports: 7 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 {
	ClientID       string `yaml:"client-id"`
	InputFilePath  string `yaml:"input-file-path"`
	OutputFilePath string `yaml:"output-file-path"`
	RedirectURL    string `yaml:"redirect-url"`
	PlaylistName   string `yaml:"playlist-name"`
}

func ReadConfig

func ReadConfig() (*Config, error)

func (*Config) GetCallback

func (cfg *Config) GetCallback() string

func (*Config) GetPort

func (cfg *Config) GetPort() int

Jump to

Keyboard shortcuts

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