Other changes include: * Also removing httprouter mux in favour of gorilla for being more mature and having more integrations and resources available for debugging. * Adding http middlewares for logging req processing time and handling authentication. TODO: Need to add context in the middleware as well. Will be useful for logging and debugging.
10 lines
269 B
Go
10 lines
269 B
Go
package url
|
|
|
|
const ComponentURL = "/components"
|
|
const QueryURL = "/query"
|
|
const LoginURL = "/login"
|
|
const AuthURL = "/auth/{provider}"
|
|
const AuthCallbackURL = "/auth/{provider}/callback"
|
|
const LogoutURL = "/logout/{provider}"
|
|
const ProfileURL = "/auth/{provider}/user"
|