router

package
v0.0.0-...-4b2d302 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBot

func NewBot(ctx context.Context, config *env.Config) (*telebot.Bot, error)

func Register

func Register(params *Params)

Types

type Params

type Params struct {
	fx.In

	Bot        *telebot.Bot
	Controller *controller.Controller
	Middleware *middleware.Middleware
}

Jump to

Keyboard shortcuts

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