config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationConfiguration

type ApplicationConfiguration struct {
	ListenPort  int
	LogFilePath string
}

type Configuration

type Configuration struct {
	Application ApplicationConfiguration
	Queue       QueueConfiguration
	GDrive      GDriveConfiguration
	Download    DownloadConfiguration
	// contains filtered or unexported fields
}

func NewConfigurationFromFile

func NewConfigurationFromFile() (*Configuration, error)

func (*Configuration) GetConfigurationFolderPath added in v0.0.3

func (config *Configuration) GetConfigurationFolderPath() string

type DownloadConfiguration added in v0.0.3

type DownloadConfiguration struct {
	RetryThreeshold uint
}

type GDriveConfiguration added in v0.0.3

type GDriveConfiguration struct {
	Query string
}

type QueueConfiguration added in v0.0.3

type QueueConfiguration struct {
	Size       int
	MaxWorkers int
}

Jump to

Keyboard shortcuts

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