model

package
v0.0.0-...-981b013 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 2 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 {
	ConfVersion    string            `yaml:"version"`
	Address        string            `yaml:"address"`
	Apollo         string            `yaml:"apollo"`
	DB             []string          `yaml:"db"`
	Cache          string            `yaml:"cache"`
	InstrumentConf map[string]string `yaml:"instrument"`
}

func ConfigFile

func ConfigFile(n ...string) (*Config, error)

type Meridian

type Meridian struct {
	Conf Config `yaml:"meridian"`
}

Jump to

Keyboard shortcuts

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