config

package
v0.0.0-...-178563e Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRsaPublicKeyHex

func ParseRsaPublicKeyHex(k string) ([]byte, error)

ParseRsaPublicKeyHex parses the RsaPublicKey hex and return bytes slice

Types

type Config

type Config struct {
	DogStatsD       string `envconfig:"DOGSTATSD"`
	MysqlConnection string `split_words:"true"`
	RsaPublicKey    string `split_words:"true"`
}

Config represents env values

func New

func New() Config

New initializes and returns a new config

Jump to

Keyboard shortcuts

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