Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRecords ¶
func UpsertRules ¶
UpsertRules creates or updates rmi 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 RMI rule struct
func (*Rule) CreateOrUpdate ¶
CreateOrUpdate creates or updates the rmi 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.