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 }