CorrectionBot

command module
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: MIT Imports: 7 Imported by: 0

README

CalmanBot

A relatively simple bot for GroupMe

Database

Uses Postgres, schema and sample actions stored in DB_DUMP.sql

Environment Variables

You will need to specify

  • DATABASE_URL
  • PORT

If you want cacheing to work properly for GroupMe

  • groupMeID (Your key)

Action URLs may need a key, this can be specified in the action as {_key(<key_name)_}, which should be set as

  • <key_name>_key

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
_workspace/src/github.com/kisielk/sqlstruct
Package sqlstruct provides some convenience functions for using structs with the Go standard library's database/sql package.
Package sqlstruct provides some convenience functions for using structs with the Go standard library's database/sql package.
_workspace/src/github.com/lib/pq
Package pq is a pure Go Postgres driver for the database/sql package.
Package pq is a pure Go Postgres driver for the database/sql package.
_workspace/src/github.com/lib/pq/listen_example
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
_workspace/src/github.com/lib/pq/oid
Package oid contains OID constants as defined by the Postgres server.
Package oid contains OID constants as defined by the Postgres server.

Jump to

Keyboard shortcuts

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