config

package
v0.0.0-...-7e99c83 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "muzlag"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Token    string        `required:"true"`
	Prefix   string        `required:"true"`
	LogLevel slog.Level    `required:"true" split_words:"true"`
	DL       ytdl.Config   `required:"true"`
	Ffmpeg   ffmpeg.Config `required:"true"`
	PCM      PCMConfig     `required:"true" split_words:"true"`
}

func NewConfig

func NewConfig() (Config, error)

type PCMConfig

type PCMConfig struct {
	FrameSize int `required:"true" split_words:"true"`
}

Jump to

Keyboard shortcuts

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