Documentation ¶
Index ¶
- func AddFeature(r *http.Request, feature string)
- func AddMessage(r *http.Request, message string)
- func Conn() *bloomdb.BloomDatabase
- func GetFeatures(r *http.Request) map[string]interface{}
- func GetMessages(r *http.Request) []string
- func Render(w http.ResponseWriter, req *http.Request, status int, v interface{})
- func StatsLogger() *log.Logger
- type ParamsError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFeature ¶ added in v0.2.3
func AddMessage ¶
func Conn ¶
func Conn() *bloomdb.BloomDatabase
func GetFeatures ¶ added in v0.2.3
func GetMessages ¶
func StatsLogger ¶ added in v0.2.3
Types ¶
type ParamsError ¶
type ParamsError struct { Name string `json:"name"` Message string `json:"message"` Params map[string]string `json:"parameters"` }
func NewParamsError ¶
func NewParamsError(message string, params map[string]string) ParamsError
func (ParamsError) Error ¶
func (e ParamsError) Error() string
Click to show internal directories.
Click to hide internal directories.