Route request to corresponding cache handlers
(cacheType string, name string)
| 67 | |
| 68 | // Route request to corresponding cache handlers |
| 69 | func RouteCache(cacheType string, name string) string { |
| 70 | switch cacheType { |
| 71 | case Parameters: |
| 72 | return plugins.GetParameterCache(name) |
| 73 | case Dynamodb: |
| 74 | return plugins.GetDynamodbCache(name) |
| 75 | default: |
| 76 | return "" |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // Load the config file |
| 81 | func LoadConfigFile() string { |
nothing calls this directly
no outgoing calls
no test coverage detected