config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Debug bool
}

func NewApp

func NewApp(ctx context.Context, reader *config.Reader) (*App, error)

type Database

type Database struct {
	SQLitePath string `validate:"required"`
}

func NewDatabase

func NewDatabase(ctx context.Context, reader *config.Reader) (*Database, error)

type Github

type Github struct {
	Token  string `masq:"secret"       validate:"required"`
	Owner  string `validate:"required"`
	Repo   string `validate:"required"`
	Issues struct {
		ParseInterval     time.Duration `validate:"required"`
		HttpClientTimeout time.Duration `validate:"required"`
	}
}

func NewGithub

func NewGithub(ctx context.Context, reader *config.Reader) (*Github, error)

Jump to

Keyboard shortcuts

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