| 45 | } |
| 46 | |
| 47 | type KeyManager interface { |
| 48 | GetKeys(tags, keyIds []string, provider string) ([]*key.ResponseKey, error) |
| 49 | UpdateKey(id string, key *key.UpdateKey) (*key.ResponseKey, error) |
| 50 | CreateKey(key *key.RequestKey) (*key.ResponseKey, error) |
| 51 | DeleteKey(id string) error |
| 52 | } |
| 53 | |
| 54 | type CustomProvidersManager interface { |
| 55 | GetRouteConfigFromMem(name, path string) *custom.RouteConfig |