app

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 4 Imported by: 0

README

app Directory

The app directory contains foundational types and structures that define the core application context and its related components. These types serve as a central hub for managing configuration, database connections, logging, and other global application states.

Contents

application.go

This file defines key types and structures that encapsulate the application's shared resources and metadata.

Purpose

The app package acts as the backbone of the project, providing centralized access to shared resources and configurations. It helps maintain a clean and modular codebase by encapsulating common functionality in reusable types.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cert

type Cert struct {
	Path string
	Key  string
}

type Info

type Info struct {
	ServerVersion           string
	GinVersion              string
	GoVersion               string
	ServerStartTime         time.Time
	CertificatePath         string
	NumGoroutinesInParallel int
	NumCPU                  int
	MemStatsInMB            float64
}

type VirtualHost

type VirtualHost struct {
	HostName    string
	SiteName    string
	ConfigPath  string
	BasePath    string
	SiteGroup   *gin.RouterGroup
	Proxy       bool
	ProxyTarget string
	Security    loaders.Security
	SMTP        loaders.SMTP
}

Jump to

Keyboard shortcuts

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