7574b334cc
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
12 lines
198 B
Go
12 lines
198 B
Go
package server
|
|
|
|
import (
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
func (s *Server) router() (*mux.Router, error) {
|
|
r := mux.NewRouter()
|
|
r.HandleFunc("/", s.getRequestHandler).Methods("GET")
|
|
|
|
return r, nil
|
|
}
|