Documentation
¶
Index ¶
- type Adapter
- func (sa *Adapter) AddPolicy(sec string, ptype string, rule []string) error
- func (sa *Adapter) LoadPolicy(model model.Model) error
- func (sa *Adapter) RemoveFilteredPolicy(sec string, ptype string, fieldIndex int, fieldValues ...string) error
- func (sa *Adapter) RemovePolicy(sec string, ptype string, rule []string) error
- func (sa *Adapter) SavePolicy(model model.Model) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
Line string
}
func NewAdapter ¶
func (*Adapter) RemoveFilteredPolicy ¶
func (*Adapter) RemovePolicy ¶
Click to show internal directories.
Click to hide internal directories.