config

package
v0.0.0-...-245a412 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 3 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 {
	Prefix            string            `yaml:"prefix"`
	Sizes             []image.ImageSize `yaml:"sizes"`
	Algorithm         image.Algorithm   `yaml:"algorithm"`
	MaxConcurrency    int               `yaml:"max_concurrency"`
	DeleteAfterUpload bool              `yaml:"delete_after_upload"`
	TargetFormat      image.ImageFormat `yaml:"target_format"`
}

func Load

func Load(path string) (*Config, error)

Jump to

Keyboard shortcuts

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