Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer() HttpServer
func (*HttpServer) ServeHTTP ¶
func (s *HttpServer) ServeHTTP(pathsByID map[string]string, host string, port int, session secureread.Session) error
ServeHTTP starts HTTP server. session is the fixed secureread.Session this process's whole life runs under (REQ:principal-selection) — every read the web UI can trigger through the endpoints registered below goes through it (REQ:server-acl-all-reads); see apps/datatugapp/commands/cmd_serve.go for how it is built from --as/--role/--group and the project's policy set.
Click to show internal directories.
Click to hide internal directories.