gopher-slackbot

command module
v0.0.0-...-116f67d Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 6 Imported by: 0

README

Gopher slack bot

Go Slack bot app, which be deployed to Heroku.

Prepare Locally

git clone https://github.com/masumomo/gopher-slackbot.git
cd gopher-slackbot
go build -o bin/gopher-slackbot -v . # or `go build -o bin/gopher-slackbot.exe -v .` in git bash

Deploying to Heroku

Set up environmental valuable

You have to set up these env valuable below

  • SLACK_BOT_TOKEN
  • SLACK_VERIFY_TOKEN
Deploy
heroku create
git push heroku master
heroku open

or

heroku logs -tail

Endpoints

  • /events
  • /interactions
  • /commands
  • /webhook-triggered-by-mail
  • /webhook

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
domain
infrastructure
web
interfaces
mock
infrastructure/presenter
Package mock_presenter is a generated GoMock package.
Package mock_presenter is a generated GoMock package.
usecase
Package mock_usecase is a generated GoMock package.
Package mock_usecase is a generated GoMock package.
test

Jump to

Keyboard shortcuts

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