ordersinterface

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrdersInterface

type OrdersInterface interface {
	Init()

	GetAllOrders() ([]dbmapping.Order, bool)
	GetOrderByID(orderID int) (dbmapping.Order, bool)

	ListAllOrders(update *tgbotapi.Update) string

	SendOrder(update *tgbotapi.Update) string
}

OrdersInterface implements Orders for importing via appcontext.

Jump to

Keyboard shortcuts

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