config

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 2 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 struct {
	GroupsFilename       string `envconfig:"GROUPS_FILENAME" required:"true"`
	GroupUsersFilename   string `envconfig:"GROUPUSERS_FILENAME" required:"true"`
	UserFileName         string `envconfig:"FILENAME" required:"true"`
	S3Bucket             string `envconfig:"S3_BUCKET" required:"true"`
	S3BaseDir            string `envconfig:"S3_BASE_DIR" required:"true"`
	S3Region             string `envconfig:"S3_REGION" required:"true"`
	AWSCognitoUserPoolID string `envconfig:"USER_POOL_ID" required:"true"`
}

func GetConfig

func GetConfig() *Config

func (Config) GetS3GroupUsersFilePath

func (c Config) GetS3GroupUsersFilePath() string

func (Config) GetS3GroupsFilePath

func (c Config) GetS3GroupsFilePath() string

func (Config) GetS3UsersFilePath

func (c Config) GetS3UsersFilePath() string

Jump to

Keyboard shortcuts

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