application

package
v0.0.0-...-0870280 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	ServerPath  string
	SystemIP    string
	Logger      *logger.Logger
	Config      Config
	MongoClient *mongo.Client
}

func Init

func Init(config Config) *Application

type Config

type Config struct {
	HttpAddress  string
	HttpsAddress string
	WebTlsCert   string
	WebTlsKey    string
	WebDirectory string
	LogDirectory string
	MongoURL     string
}

Jump to

Keyboard shortcuts

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