Basic functionality

This commit is contained in:
Henri Burau
2024-06-05 18:01:08 +02:00
parent 17f878f088
commit 72dce76e2b
41 changed files with 1568 additions and 176 deletions

View File

@ -19,12 +19,13 @@ func Make(h HTTPHandler) http.HandlerFunc {
}
type Server struct {
cs *services.CaptureService
cs *services.CaptureService
c4s *services.CoD4Service
}
func NewServer(cs *services.CaptureService) *Server {
func NewServer(cs *services.CaptureService, c4s *services.CoD4Service) *Server {
return &Server{
cs,
cs, c4s,
}
}