ForwarderService is used to wrap the access package websocket forwarders into a service model for the overwatch package. it also holds a reference to the config object that represents its state
| 14 | // into a service model for the overwatch package. |
| 15 | // it also holds a reference to the config object that represents its state |
| 16 | type ForwarderService struct { |
| 17 | forwarder config.Forwarder |
| 18 | shutdown chan struct{} |
| 19 | log *zerolog.Logger |
| 20 | } |
| 21 | |
| 22 | // NewForwardService creates a new forwarder service |
| 23 | func NewForwardService(f config.Forwarder, log *zerolog.Logger) *ForwarderService { |
nothing calls this directly
no outgoing calls
no test coverage detected