cfg

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	AwsRegion() string
	LogLevel() string
	PrivateKey() string
	SharedSecret() string
	IsSkipJwtVerify() bool
	IsSkipPayloadDecrypt() bool
}

Config represents all config options for the lambda

var Cfg Config

Cfg is the global Config instance for the lambda

func NewConfig

func NewConfig() Config

NewConfig returns the default Config instance

func ParseConfig

func ParseConfig() Config

ParseConfig parses the env variables and configures the lambda

Jump to

Keyboard shortcuts

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