11 lines
212 B
Go
11 lines
212 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"`
|
|
}
|