Ocean/Handlers/GetMuxes.go

18 lines
295 B
Go
Raw Permalink Normal View History

package Handlers
import (
"net/http"
)
2015-06-17 15:44:52 +00:00
// Returns the muxer for the public web server.
func GetPublicMux() (mux *http.ServeMux) {
mux = muxPublic
return
}
2015-06-17 15:44:52 +00:00
// Returns the muxer for the private web server.
func GetAdminMux() (mux *http.ServeMux) {
mux = muxAdmin
return
}