Skip to content

Commit

Permalink
update viper and gin
Browse files Browse the repository at this point in the history
  • Loading branch information
richie committed Jun 3, 2019
1 parent 9035752 commit 29ac3c6
Show file tree
Hide file tree
Showing 107 changed files with 6,030 additions and 9,879 deletions.
67 changes: 24 additions & 43 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions pkg/api/auth.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package api

import (
"fmt"
"github.com/gin-gonic/gin"
"k8s-webshell/pkg/e"
"k8s-webshell/pkg/setting"
Expand Down Expand Up @@ -33,12 +32,12 @@ func GetAuth(c *gin.Context) {
})
return
}
fmt.Println(">>>", apiAuth.SecretKey,
apiAuth.SecretKey,
apiAuth.PaasUser,
apiAuth.PodNs,
apiAuth.PodName,
apiAuth.ContainerName)
//fmt.Println(">>>", apiAuth.SecretKey,
// apiAuth.SecretKey,
// apiAuth.PaasUser,
// apiAuth.PodNs,
// apiAuth.PodName,
// apiAuth.ContainerName)

if apiAuth.SecretKey == setting.SecretKey {
token, err := utils.GenerateToken(
Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/gin-gonic/gin/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 19 additions & 10 deletions vendor/github.com/gin-gonic/gin/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 57 additions & 1 deletion vendor/github.com/gin-gonic/gin/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 33 additions & 15 deletions vendor/github.com/gin-gonic/gin/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 29ac3c6

Please sign in to comment.