NewConfigAdapter creates a new config adapter.
(cfg *config.Config)
| 60 | |
| 61 | // NewConfigAdapter creates a new config adapter. |
| 62 | func NewConfigAdapter(cfg *config.Config) interfaces.Config { |
| 63 | return &ConfigAdapter{Config: cfg} |
| 64 | } |
| 65 | |
| 66 | // LoggerAdapter adapts our internal logging to the API interface. |
| 67 | type LoggerAdapter struct { |
no outgoing calls