Skip to content

Commit

Permalink
remove api
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieudolci committed Jun 25, 2020
1 parent 0f02815 commit b45da77
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 149 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ It will trigger few questions that need to be answered before the user can use t

You can find out all the bot commands available by sending `help` to Hatcher

## How to use the API
Hatcher API documentation is available [here](https://documenter.getpostman.com/view/3454833/RWM9uVgF)

## Resources:
https://blog.gopheracademy.com/advent-2017/go-slackbot/

Expand Down
4 changes: 0 additions & 4 deletions api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,5 @@ func Handler(s *common.Slack) (http.Handler, error) {
// main API endpoint with slack
router.POST("/slack", bot.SlackPostHandler(s))

//API endpoints to get informations about the slack users
router.GET("/api/slack/allusers", getAllUsersHandler)
router.GET("/api/slack/user/:userid", getUserHandler)

return router, nil
}
142 changes: 0 additions & 142 deletions api/user.go

This file was deleted.

0 comments on commit b45da77

Please sign in to comment.