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