重命名包 client 为 edge;重命名包 server 为 gateway
This commit is contained in:
10
gateway/core/auth.go
Normal file
10
gateway/core/auth.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package core
|
||||
|
||||
import "time"
|
||||
|
||||
type Permit struct {
|
||||
Expire time.Time `json:"expire"`
|
||||
Whitelists []string `json:"whitelists"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
Reference in New Issue
Block a user