implement api
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package models
|
||||
|
||||
type NKodePolicy struct {
|
||||
MaxNkodeLen int
|
||||
MinNkodeLen int
|
||||
DistinctSets int
|
||||
DistinctAttributes int
|
||||
LockOut int
|
||||
Expiration int // seconds, -1 no expiration
|
||||
MaxNkodeLen int `json:"max_nkode_len"`
|
||||
MinNkodeLen int `json:"min_nkode_len"`
|
||||
DistinctSets int `json:"distinct_sets"`
|
||||
DistinctAttributes int `json:"distinct_attributes"`
|
||||
LockOut int `json:"lock_out"`
|
||||
Expiration int `json:"expiration"` // seconds, -1 no expiration
|
||||
}
|
||||
|
||||
func NewDefaultNKodePolicy() NKodePolicy {
|
||||
|
||||
Reference in New Issue
Block a user