app

package
v0.0.0-...-2163215 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLoadingConfig = fmt.Errorf("error loading config from file")

Functions

This section is empty.

Types

type App

type App struct {
	Server server.Server
	Config Config
}

func New

func New(config Config) *App

func (*App) Start

func (app *App) Start()

type Config

type Config struct {
	ServerConfig server.ServerConfig
	Name         string
	Version      string
}

func LoadConfig

func LoadConfig(filepath string) Config

Jump to

Keyboard shortcuts

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