gotd

package
v0.0.0-...-e01f8af Latest Latest
Warning

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

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

Documentation

Overview

Package gotd provides the main app instance

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 stores the global state of GOTD

func New

func New() *App

New return a default uninitialized App instance

func (*App) Shutdown

func (a *App) Shutdown() error

Shutdown tries to gracefully cleanup and shutdown all services

func (*App) Start

func (a *App) Start() error

Start creates and starts all necessary services

Jump to

Keyboard shortcuts

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