GetAdapter gets the current adapter.
()
| 233 | |
| 234 | // GetAdapter gets the current adapter. |
| 235 | func (e *Enforcer) GetAdapter() persist.Adapter { |
| 236 | return e.adapter |
| 237 | } |
| 238 | |
| 239 | // SetAdapter sets the current adapter. |
| 240 | func (e *Enforcer) SetAdapter(adapter persist.Adapter) { |
no outgoing calls