跳到主要内容
版本:Next

NodeRedisAdapter

Hierarchy

  • BaseAdapter<Line>
    • NodeRedisAdapter

Index

Constructors

constructor

Methods

addPolicy

  • addPolicy(sec: string, ptype: string, rule: string[]): Promise<void>

isFiltered

  • isFiltered(): boolean

loadFilteredPolicy

  • loadFilteredPolicy(model: Model, filter: any): Promise<void>

loadPolicy

  • loadPolicy(model: Model): Promise<void>

removeFilteredPolicy

  • removeFilteredPolicy(sec: string, ptype: string, fieldIndex: number, ...fieldValues: string[]): Promise<void>

removePolicy

  • removePolicy(sec: string, ptype: string, rule: string[]): Promise<void>

savePolicy

  • savePolicy(model: Model): Promise<boolean>