model

package
v0.0.0-...-7b19788 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 Apollo

type Apollo struct {
	Conf Config `yaml:"apollo"`
}

type Config

type Config struct {
	ConfVersion    string            `yaml:"version"`
	Address        string            `yaml:"address"`
	Meridian       string            `yaml:"meridian"`
	SEndpoints     []string          `yaml:"sdb"`
	DB             []string          `yaml:"db"`
	Cache          string            `yaml:"cache"`
	InstrumentConf map[string]string `yaml:"instrument"`
}

func ConfigFile

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

Jump to

Keyboard shortcuts

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