conf

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package conf supports environment variable-based application configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Cache      ristretto.Config
	DomainName string
	HTTP       HTTPConfig
}

func GetConfig

func GetConfig() (c Config, err error)

type HTTPConfig

type HTTPConfig struct {
	GzipLevel int
}

Jump to

Keyboard shortcuts

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