app

package
v0.0.0-...-5cdbaa1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(configPath string) error

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

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

func (*App) Run

func (app *App) Run() error

func (*App) Shutdown

func (app *App) Shutdown(ctx context.Context) error

type Config

type Config struct {
	Endpoint struct {
		Addr                  string
		HTTPReadHeaderTimeout time.Duration
		Hosts                 []string
	}
}

Jump to

Keyboard shortcuts

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