Imports github.com/go-martini/martini github.com/lib/pq github.com/martini-contrib/binding github.com/martini-contrib/render github.com/nu7hatch/gouuid Standard library imports crypto/aes crypto/cipher crypto/rand database/sql encoding/base64 fmt influx-api/structs io io/ioutil net/http os strings