appcontext

package
v0.0.0-...-3723a19 Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

Context is an application context struct

func New

func New() *Context

New is a Context creation function

func (*Context) Init

func (c *Context) Init()

Init is a initialization function for context

func (*Context) RegisterBroadcasterInterface

func (c *Context) RegisterBroadcasterInterface(bi broadcasterinterface.BroadcasterInterface)

RegisterBroadcasterInterface registering broadcaster interface in application

func (*Context) RegisterChatterInterface

func (c *Context) RegisterChatterInterface(ci chatterinterface.ChatterInterface)

RegisterChatterInterface registers chatter interface in application

func (*Context) RegisterDataCacheInterface

func (c *Context) RegisterDataCacheInterface(di datacacheinterface.DataCacheInterface)

RegisterDataCacheInterface registers datacache interface in application

func (*Context) RegisterForwarderInterface

func (c *Context) RegisterForwarderInterface(fi forwarderinterface.ForwarderInterface)

RegisterForwarderInterface registers forwarder interface in application

func (*Context) RegisterMigrationsInterface

func (c *Context) RegisterMigrationsInterface(mi migrationsinterface.MigrationsInterface)

RegisterMigrationsInterface registering migrations interface in application

func (*Context) RegisterOrdersInterface

func (c *Context) RegisterOrdersInterface(oi ordersinterface.OrdersInterface)

RegisterOrdersInterface registers orders interface in application

func (*Context) RegisterPinnerInterface

func (c *Context) RegisterPinnerInterface(pi pinnerinterface.PinnerInterface)

RegisterPinnerInterface registering pinner interface in application

func (*Context) RegisterPokedexerInterface

func (c *Context) RegisterPokedexerInterface(pi pokedexerinterface.PokedexerInterface)

RegisterPokedexerInterface registering parsers interface in application

func (*Context) RegisterReminderInterface

func (c *Context) RegisterReminderInterface(ri reminderinterface.ReminderInterface)

RegisterReminderInterface registering reminder interface in application

func (*Context) RegisterRouterInterface

func (c *Context) RegisterRouterInterface(ri routerinterface.RouterInterface)

RegisterRouterInterface registering router interface in application

func (*Context) RegisterSenderInterface

func (c *Context) RegisterSenderInterface(si senderinterface.SenderInterface)

RegisterSenderInterface registering sender interface in application

func (*Context) RegisterSquaderInterface

func (c *Context) RegisterSquaderInterface(si squaderinterface.SquaderInterface)

RegisterSquaderInterface registers squader interface in application

func (*Context) RegisterStatisticsInterface

func (c *Context) RegisterStatisticsInterface(si statisticsinterface.StatisticsInterface)

RegisterStatisticsInterface registers statistics interface in application

func (*Context) RegisterTalkersInterface

func (c *Context) RegisterTalkersInterface(ti talkersinterface.TalkersInterface)

RegisterTalkersInterface registering talkers interface in application

func (*Context) RegisterUsersInterface

func (c *Context) RegisterUsersInterface(ui usersinterface.UsersInterface)

RegisterUsersInterface registers users interface in application

func (*Context) RegisterWelcomerInterface

func (c *Context) RegisterWelcomerInterface(wi welcomerinterface.WelcomerInterface)

RegisterWelcomerInterface registering welcomer interface in application

func (*Context) RunDatabaseMigrations

func (c *Context) RunDatabaseMigrations()

RunDatabaseMigrations applies migrations on bot's startup

func (*Context) StartBot

func (c *Context) StartBot()

StartBot starts listening for Telegram updates

Jump to

Keyboard shortcuts

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