Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpsertRules ¶
UpsertRules creates or updates ldap rule from user submit
Types ¶
type Record ¶
type Record struct { Path string `form:"path" json:"path"` record.BaseRecord Rule Rule `gorm:"foreignKey:RuleName;references:Name;constraint:OnUpdate:CASCADE,OnDelete:SET NULL;" form:"-" json:"-" notice:"-"` }
type Rule ¶
Rule LDAP rule struct
func (*Rule) CreateOrUpdate ¶
CreateOrUpdate creates or updates the ldap rule in database and ruleSet
type Server ¶
type Server struct { Config // contains filtered or unexported fields }
func (*Server) UpdateRules ¶
Click to show internal directories.
Click to hide internal directories.