server

package
v0.0.0-...-b2d045a Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(runFlags []string)

Types

type Configuration

type Configuration struct {
	Port     string `json:"port"`
	SSL      bool   `json:"ssl"`
	Cert     string `json:"cert,omitempty"`
	Key      string `json:"key,omitempty"`
	Database struct {
		DBProvider     string `json:"dbprovider"`
		DBHost         string `json:"dbhost"`
		DBPort         string `json:"dbport"`
		DBUser         string `json:"dbuser"`
		DBPass         string `json:"dbpass"`
		DBName         string `json:"dbname"`
		DBMaxOpenConns int    `json:"dbmaxopenconns"`
		DBMaxIdleTime  string `json:"dbmaxidletime"`
	} `json:"database"`
	AuthProvider string `json:"authprovider"`
}

Jump to

Keyboard shortcuts

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