router

package
v0.0.0-...-03ce398 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(userService *service.UserService) *Router

func (*Router) GetSystemMessager

func (router *Router) GetSystemMessager() *SystemMessager

func (*Router) RouteByMessage

func (router *Router) RouteByMessage(message types.ReceivedMessage) handlers.ConcreteHandler

type SystemMessager

type SystemMessager struct {
	// contains filtered or unexported fields
}

func NewSystemMessager

func NewSystemMessager(stateService *service.UserService) *SystemMessager

func (*SystemMessager) Process

func (messager *SystemMessager) Process(chatId types.ChatId) handlers.HandlerProcessResult

func (*SystemMessager) ProcessWithContext

func (messager *SystemMessager) ProcessWithContext(chatId types.ChatId) handlers.HandlerProcessResult

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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