config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 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 Environment

type Environment string

type TankerKoenigFuelMachineryConfig

type TankerKoenigFuelMachineryConfig struct {
	Environment         Environment `required:"true" split_words:"true"`
	ApiBaseUrl          string      `required:"true" split_words:"true"`
	ApiToken            string      `required:"true" split_words:"true"`
	ApiSearchRadius     float64     `required:"true" split_words:"true"`
	OrionBaseUrl        string      `required:"true" split_words:"true"`
	OrionService        string      `required:"false" split_words:"true"`
	OrionServicePath    string      `required:"false" split_words:"true"`
	CityName            string      `required:"true" split_words:"true"`
	CityLat             float64     `required:"true" split_words:"true"`
	CityLon             float64     `required:"true" split_words:"true"`
	ExtractOpeningTimes bool        `default:"false" split_words:"true"`
}

func LoadTankerKoenigFuelMachineryConfig

func LoadTankerKoenigFuelMachineryConfig() (*TankerKoenigFuelMachineryConfig, error)

func (TankerKoenigFuelMachineryConfig) String

Jump to

Keyboard shortcuts

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