app

package
v0.0.0-...-68a21f0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: AGPL-3.0 Imports: 5 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(logger *zap.Logger, rep *postgres.Pg) (*App, error)

func (*App) GetEngine

func (a *App) GetEngine() *bot.Engine

func (*App) GetLogger

func (a *App) GetLogger() *zap.Logger

func (*App) GetRepository

func (a *App) GetRepository() *postgres.Pg

func (*App) Recovery

func (a *App) Recovery(ctx *bot.Context, err interface{})

func (*App) Run

func (a *App) Run()

func (*App) Stop

func (a *App) Stop()

Jump to

Keyboard shortcuts

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