Browse Source

Added the load router function.

master
Jeff Baskin 4 years ago
parent
commit
5d47dec7a0
  1. 3
      router.go
  2. 5
      router_test.go

3
router.go

@ -7,3 +7,6 @@ type router struct{}
func newRouter() *router {
return &router{}
}
func (rt *router) loadRoutes() {
}

5
router_test.go

@ -12,3 +12,8 @@ func TestNewRouter(t *testing.T) {
t.Error("newRouter did not return a valid router.")
}
}
func TestLoadProxy(t *testing.T) {
router := newRouter()
router.loadRoutes()
}
Loading…
Cancel
Save