app

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 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
}

func New

func New(cfg config.Config) (*App, error)

func (*App) Close

func (a *App) Close()

func (*App) MonitorFileChanges

func (a *App) MonitorFileChanges(ctx context.Context) error

func (*App) Notify

func (a *App) Notify(n notification.Notification) error

func (*App) ProcessRestartEvents

func (a *App) ProcessRestartEvents(ctx context.Context) error

func (*App) ProcessSignals

func (a *App) ProcessSignals() error

func (*App) RunChildProcess

func (a *App) RunChildProcess(cfg config.Config) error

func (*App) RunConsole

func (a *App) RunConsole() error

func (*App) RunNotifer

func (a *App) RunNotifer() error

func (*App) RunProxy

func (a *App) RunProxy() error

func (*App) RunWebUI

func (a *App) RunWebUI() error

type Closeable

type Closeable interface {
	Close() error
}

type Database

type Database interface {
	Closeable
	notification.EventConsumer
	webui.Database
}

type Notifier

type Notifier interface {
	Closeable
	Startable
	notification.EventConsumer
	SendSoftRestart(hint string) error
}

type Startable

type Startable interface {
	Start() error
}

type UI

type UI interface {
	Closeable
	Startable
	notification.EventConsumer
	Enabled() bool
}

type Watcher

type Watcher interface {
	Closeable
	Watch(notification.NotificationCallback) error
}

type WebProxy

type WebProxy interface {
	Closeable
	Startable
	notification.EventConsumer
	Enabled() bool
}

Jump to

Keyboard shortcuts

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