nvltr

command module
v0.0.0-...-ae0b84e Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 3 Imported by: 0

README

nvltr

N - NICE V - VIVACIOUS L - LUMINOUS T - TELEGRAM R - ROBOT

--okay, that's sounds so cheesy

a telegram bot boilerplate using golang.

Adding Command

I've provide some basic command, please take a look at command directory.

Deploying

  • open config.yml and put your config there, such as telegram bot token, google maps api key, etc
  • extend yout bot
  • place your TLS cert and key at ./cert/your.domain.name/{fullchain,privkey}.pem
  • setup reverse proxy on nginx to bot's bind address, default: '127.0.0.1:8088`
  • execute go generate
  • run it like usual go run main.go or go build -o nvltr main.go && ./nvltr
  • ...
  • profit!

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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