app

package
v0.0.0-...-258f5cf Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 11 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 {
	Handlers *chi.Mux
	Server   *http.Server
	// contains filtered or unexported fields
}

func NewApp

func NewApp() *App

func (*App) GetConfig

func (a *App) GetConfig() *config.Config

func (*App) SetBot

func (a *App) SetBot(t telegram.Bot)

func (*App) SetRiver

func (a *App) SetRiver(r *riverui.Handler)

func (*App) Start

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

func (*App) Stop

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

Jump to

Keyboard shortcuts

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