config

package
v0.0.0-...-8ecc595 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 0 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 {
	Server struct {
		Port    int    `yaml:"port"`
		Host    string `yaml:"host"`
		TLS     bool   `yaml:"tls"`
		Crt     string `yaml:"crt"`
		Key     string `yaml:"key"`
		KeySize int    `yaml:"keySize"`
	} `yaml:"server"`
	Gateway struct {
		Internal struct {
			Port int    `yaml:"port"`
			Host string `yaml:"host"`
		} `yaml:"internal"`
		External struct {
			Port int    `yaml:"port"`
			Host string `yaml:"host"`
		} `yaml:"external"`
	} `yaml:"gateway"`
	Strategy struct {
		Port int    `yaml:"port"`
		Host string `yaml:"host"`
	} `yaml:"strategy"`
	Rates []RatesModules `yaml:"rates"`
}

Config -

type RatesModules

type RatesModules struct {
	Name    string `yaml:"name"`
	Bin     string `yaml:"bin"`
	Managed bool   `yaml:"managed"`
}

RatesModules -

Jump to

Keyboard shortcuts

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