app

package
v0.0.0-...-748338d Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 9 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 {
	BackgroundJobs []scheduler.Schedule
	Generator      generator.Generator
	Server         *echo.Echo
	// contains filtered or unexported fields
}

func NewApp

func NewApp(config AppConfig) (App, error)

func (App) Run

func (a App) Run() error

type AppConfig

type AppConfig struct {
	Port        string
	StoreConfig store.DBConnectionConfig
}

func NewAppConfig

func NewAppConfig(storeConfig store.DBConnectionConfig) AppConfig

func (AppConfig) WithPort

func (a AppConfig) WithPort(p string) AppConfig

func (AppConfig) WithStoreConfig

func (a AppConfig) WithStoreConfig(config store.DBConnectionConfig) AppConfig

Jump to

Keyboard shortcuts

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