Add pluggable live collectors and simplify API connect form
This commit is contained in:
1 parent
60c52b18b1
commit
c89ee0118f
15 files changed
+939
-212
No files matched your search
@@ -15,7 +15,8 @@ import (
|
||||
|
||||
func newFlowTestServer() (*Server, *httptest.Server) {
|
||||
s := &Server{
|
||||
jobManager: NewJobManager(),
|
||||
jobManager: NewJobManager(),
|
||||
collectors: testCollectorRegistry(),
|
||||
}
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("POST /api/upload", s.handleUpload)
|
||||
|
||||
Reference in new issue
Block a user