1 package rulesengine 2 3 // internal_types contains any types passed between the rulesengine and data layer. 4 5 // type that only contains a single privilege per command (as is stored in the database) 6 // for rules listed under default rules, banner is left blank 7 type RuleSegment struct { 8 Banner Banner 9 Command Command 10 Privilege Privilege 11 } 12