Documentation ¶
Index ¶
- func CheckExperiments(experiments map[string][]string, uid string, cfg config.Config) map[string]string
- func CheckFeatures(features map[string]float32, uid string, cfg config.Config) map[string]bool
- func ErrorHandler(handler http.Handler) http.Handler
- func ListExperiments(cfg ConfigFactory) func(http.ResponseWriter, *http.Request)
- func ListFeatures(cfg ConfigFactory) func(http.ResponseWriter, *http.Request)
- func ListGroups(cfg ConfigFactory) func(http.ResponseWriter, *http.Request)
- func Participate(config ConfigFactory, logger func(interface{})) func(http.ResponseWriter, *http.Request)
- func Root(w http.ResponseWriter, req *http.Request)
- type ConfigFactory
- type Context
- type ParticipateRequest
- type ParticipateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckExperiments ¶
func CheckFeatures ¶
func ListExperiments ¶
func ListExperiments(cfg ConfigFactory) func(http.ResponseWriter, *http.Request)
func ListFeatures ¶
func ListFeatures(cfg ConfigFactory) func(http.ResponseWriter, *http.Request)
func ListGroups ¶
func ListGroups(cfg ConfigFactory) func(http.ResponseWriter, *http.Request)
func Participate ¶
func Participate(config ConfigFactory, logger func(interface{})) func(http.ResponseWriter, *http.Request)
Types ¶
type ConfigFactory ¶
type ParticipateRequest ¶
Click to show internal directories.
Click to hide internal directories.