bot

module
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: MIT

README

Bot

Report

🚙 Bot will help to find a dream vehicle

Overview

Architecture Overview

List of supported environment variables

Name Description
HOST Web server host
PORT Web server port
TELEGRAM_TOKEN Telegram API token
AUTO_RIA_TOKEN AutoRia API token
RECOGNIZER_URL Plates recognizer
DATA_PATH Path to data file

Development

Prerequisites:

Expose your local web server for receiving http requests

$ ngrok http 80

Export ngrok host

$ export HOST=<host>

You can run the bot with command below

$ PORT=80 go run cmd/bot/bot.go

License

Project released under the terms of the MIT license.

Directories

Path Synopsis
cmd
bot
internal
bot
subscription
Package subscription implements user subscription.
Package subscription implements user subscription.
pkg
env

Jump to

Keyboard shortcuts

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