app

package
v0.8.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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register() *cli.Command

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"`
}

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