app

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer() *cli.Command

Types

type Config

type Config struct {
	MySQLHost     string `loader:"env,key=MYSQL_HOST"`
	MySQLUsername string `loader:"env,key=MYSQL_USERNAME"`
	MySQLPassword string `loader:"env,key=MYSQL_PASSWORD"`
	MySQLDatabase string `loader:"env,key=MYSQL_DATABASE"`

	AdminUsername string `loader:"env,key=ADMIN_USERNAME"`
	AdminPassword string `loader:"env,key=ADMIN_PASSWORD"`
}

func (*Config) DSN

func (conf *Config) DSN() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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