config

package
v0.0.0-...-8cfa0df Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Application = new(server)

Functions

func InitConfig

func InitConfig() error

Types

type JWT

type JWT struct {
	SigningKey      string `json:"signingKey" yaml:"signingKey"`
	TokenExpiration int64  `json:"tokenExpiration",yaml:"tokenExpiration"`
}

type Log

type Log struct {
	Prefix   string `json:"prefix" yaml:"prefix"`
	Level    string `json:"level" yaml:"level"`
	SaveFile bool   `json:"saveFile" yaml:"saveFile"`
}

Jump to

Keyboard shortcuts

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