very basic api documentation autogeneration

This commit is contained in:
Jeromy
2020-05-18 17:20:54 -07:00
parent 7fd481ea6f
commit 607bcc401c
7 changed files with 344 additions and 40 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ type CommonAPI struct {
}
type jwtPayload struct {
Allow []string
Allow []api.Permission
}
func (a *CommonAPI) AuthVerify(ctx context.Context, token string) ([]api.Permission, error) {