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

15 lines
165 B
Go

package handler
import mgo "gopkg.in/mgo.v2"
type (
Handler struct {
DB *mgo.Session
}
)
const (
// Key (Should come from somewhere else).
Key = "secret"
)