Refactor progress

- move directory structure
- string based rule definition
- use traefik rule parsing
- drop toml config
- new flag library
- implement go dep
This commit is contained in:
Thom Seddon
2019-04-12 16:12:13 +01:00
parent d51b93d4b0
commit 9abe509f66
18 changed files with 547 additions and 464 deletions

View File

@ -0,0 +1,16 @@
package provider
type Providers struct {
Google Google `group:"Google Provider"`
}
type Token struct {
Token string `json:"access_token"`
}
type User struct {
Id string `json:"id"`
Email string `json:"email"`
Verified bool `json:"verified_email"`
Hd string `json:"hd"`
}