config

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of the application
	AppName = "whoami-go"

	// Internal GCP Load Balancer IP
	GCPTrustedProxyIP = "169.254.8.129"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*viper.Viper
	// contains filtered or unexported fields
}

func New

func New(errorHandler fiber.ErrorHandler) *Config

func (*Config) GetFiberConfig

func (config *Config) GetFiberConfig() *fiber.Config

func (*Config) GetZapConfig

func (config *Config) GetZapConfig() *zap.Config

Jump to

Keyboard shortcuts

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