dispatcher

package
v0.0.0-...-d92abce Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProgramVersion string

Functions

This section is empty.

Types

type Dispatcher

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

func NewDispatcher

func NewDispatcher(logPar logs.Logger, authPar types.Auth) (retVal *Dispatcher)

func (Dispatcher) CheckAuth

func (this Dispatcher) CheckAuth(userName string) (retVal types.Settings, err error)

func (Dispatcher) Dispatch

func (this Dispatcher) Dispatch(bot telegram.TelegramBot, cmd types.TGCommand) (err error)

Jump to

Keyboard shortcuts

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