projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into 7492-keepproxy-upstream-errors
[arvados.git]
/
services
/
arv-git-httpd
/
server.go
1
package main
2
3
import (
4
"net/http"
5
6
"git.curoverse.com/arvados.git/sdk/go/httpserver"
7
)
8
9
type server struct {
10
httpserver.Server
11
}
12
13
func (srv *server) Start() error {
14
mux := http.NewServeMux()
15
mux.Handle("/", &authHandler{newGitHandler()})
16
srv.Handler = mux
17
srv.Addr = theConfig.Addr
18
return srv.Server.Start()
19
}