conf

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 3 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
	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