config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiInfo

type ApiInfo struct {
	ApiKey     string `yaml:"ApiKey"`
	SecretKey  string `yaml:"SecretKey"`
	Passphrase string `yaml:"Passphrase"`
}

func (*ApiInfo) String

func (s *ApiInfo) String() string

type Config

type Config struct {
	MetaData `yaml:"MetaData"`
	Env      `yaml:"Env"`
	ApiInfo  `yaml:"ApiInfo"`
}

type Env

type Env struct {
	RestEndpoint string `yaml:"RestEndpoint"`
	WsEndpoint   string `yaml:"WsEndpoint"`
	IsSimulation bool   `yaml:"IsSimulation"`
}

type MetaData

type MetaData struct {
	Description string `yaml:"Description"`
}

Jump to

Keyboard shortcuts

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