api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 17 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 {
	// contains filtered or unexported fields
}

App is our application

func NewApp

func NewApp(config AppConfig) App

NewApp creates new instance of App for the given config

func (App) Run

func (a App) Run() error

Run starts the application performs http requests handling

type AppConfig

type AppConfig struct {
	Port       string
	ConfigPath string
	PidPath    string
}

AppConfig is an application config

Jump to

Keyboard shortcuts

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