Implement very basic authorization for routes

This commit is contained in:
Dane Everitt
2019-04-06 10:49:31 -07:00
parent a2df979e66
commit b6bc9adf29
2 changed files with 49 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ func main() {
r := &Router{
Servers: servers,
token: c.AuthenticationToken,
}
router := r.ConfigureRouter()