Files
proxy/gateway/core/auth.go

16 lines
269 B
Go

package core
import "time"
type Permit struct {
Expire time.Time `json:"expire"`
Whitelists *[]string `json:"whitelists"`
Username *string `json:"username"`
Password *string `json:"password"`
}
type PermitDef struct {
Id int32 `json:"id"`
Permit
}