config

package
v0.0.0-...-e43e367 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConverterByConfig

func ConverterByConfig(config *Config) (converter.Converter, error)

Types

type Config

type Config struct {
	Port                    int
	ConverterName           string
	Signature               string
	OptimizedSizeToleration float64
	AreaWeight              float64
	Height                  int
	Width                   int
	MaxZoom                 int
	MaximalArea             float64
	GeoDatMultiplier        float64
	Cache                   bool
	Parallel                bool
}

func (*Config) Default

func (c *Config) Default()

Jump to

Keyboard shortcuts

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