matterbridge/vendor/github.com/labstack/echo/cookbook/twitter/handler/handler.go

15 lines
165 B
Go
Raw Normal View History

2017-02-18 23:00:46 +01:00
package handler
import mgo "gopkg.in/mgo.v2"
type (
Handler struct {
DB *mgo.Session
}
)
const (
// Key (Should come from somewhere else).
Key = "secret"
)