config

package
v0.0.0-...-30af397 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bluesky

type Bluesky struct {
	Handle       string `env:"BLUESKY_HANDLE"`
	Password     string
	PasswordPath string `env:"BLUESKY_PASSWORD_PATH"`
}

type Config

type Config struct {
	Bluesky         Bluesky
	DynamoDB        DynamoDB
	NewsBlogRSSFeed NewsBlogRSSFeed
	WhatsNewRSSFeed WhatsNewRSSFeed
}

func New

func New(ctx context.Context) (*Config, error)

type DynamoDB

type DynamoDB struct {
	TableName string `env:"DYNAMODB_TABLE_NAME"`
}

type NewsBlogRSSFeed

type NewsBlogRSSFeed struct {
	URL string `env:"NEWSBLOG_RSSFEED_URL"`
}

type WhatsNewRSSFeed

type WhatsNewRSSFeed struct {
	URL string `env:"WHATSNEW_RSSFEED_URL"`
}

Jump to

Keyboard shortcuts

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