vectorlayerapp

package
v0.0.0-...-fce1e31 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Handler    http.Handler
	Scheduler  temporalscheduler.Scheduler
	Workflow   service.Workflow
	HTTPServer http.Server
	Temporal   temporal.Adapter
	Config     Config
	Logger     *slog.Logger
	// contains filtered or unexported fields
}

func Setup

func Setup(ctx context.Context, config Config, postgresConn *postgresql.Database, logger *slog.Logger) Application

func (Application) Start

func (app Application) Start()

type Config

type Config struct {
	HTTPServer           httpserver.Config `koanf:"http_server"`
	PostgresDB           postgresql.Config `koanf:"postgres_db"`
	Logger               logger.Config     `koanf:"logger"`
	TotalShutdownTimeout time.Duration     `koanf:"total_shutdown_timeout"`
	Temporal             temporal.Config
}

Directories

Path Synopsis
delivery
job

Jump to

Keyboard shortcuts

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