configs

package
v0.0.0-...-fe9e027 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 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   *Server   `yaml:"server"`
	Database *Database `yaml:"database"`
	Token    *Token    `yaml:"token"`
	Logger   *Logger   `yaml:"logger"`
}

type Database

type Database struct {
	Uri string `yaml:"uri"`
}

type Logger

type Logger struct {
	LogLevel string `yaml:"log_level"`
}

type Server

type Server struct {
	Host string `yaml:"host"`
	Port string `yaml:"port"`
}

type Token

type Token struct {
	SecretKey string `yaml:"secret_key"`
	PublicKey string `yaml:"public_key"`
	Salt      string `yaml:"salt"`
}

Jump to

Keyboard shortcuts

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