package
0.0.0-20240228064701-d32eb8632635
Repository: https://github.com/skeleton1231/gotal.git
Documentation: pkg.go.dev

# Functions

LoadConfig loads the API server configuration from a given file or a default location.
No description provided by the author
NewConfig creates and returns a new Config instance with default settings.

# Constants

ProjectName defines the name of this API server project.
ProjectName defines the name of this API server project.
ProjectName defines the name of this API server project.

# Structs

APIServer wraps the gin.Engine with specific configurations and capabilities.
CertKey represents the certificate and key configuration for secure serving.
CompletedConfig represents a configuration that has been finalized and is ready for use.
Config represents the main configuration structure for the API server.
DefaultConfig contains default values for server configurations.
InsecureServingInfo contains the configuration for serving the API over HTTP.
JwtInfo defines configuration parameters for JWT-based authentication.
RateLimitConfig represents the configuration for rate limiting.
SecureServingInfo encapsulates the configuration for serving the API over HTTPS.