mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-30 01:25:30 +00:00
Lots of stuff
This commit is contained in:
17
server/mux.go
Normal file
17
server/mux.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package server
|
||||
|
||||
import "net/http"
|
||||
|
||||
type Mux struct {
|
||||
sm http.ServeMux
|
||||
}
|
||||
|
||||
func NewMux() *Mux {
|
||||
return &Mux{
|
||||
sm: http.ServeMux{},
|
||||
}
|
||||
}
|
||||
|
||||
func (m *Mux) Router() *http.ServeMux {
|
||||
return &m.sm
|
||||
}
|
||||
Reference in New Issue
Block a user