config

package
v0.0.0-...-a99a530 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Hash string = "N/A"
View Source
var Port string = "3000"
View Source
var Release string = "development"
View Source
var Time string = time.Now().Format(time.RFC3339)
View Source
var User string = "Anon"

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTP    `yaml:"http"`
	Coins   []string `yaml:"coins"`
	Hash    string
	Time    string
	User    string
	Release string
}

func NewConfig

func NewConfig() (*Config, error)

type HTTP

type HTTP struct {
	Port string
}

Jump to

Keyboard shortcuts

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