|
|
func NewService(cfg config.Wrapper, myID protocol.DeviceID, mdl Model, tlsCfg *tls.Config, discoverer discover.Finder, bepProtocolName string, tlsDefaultCommonName string, evLogger events.Logger) Service {
|
|
func NewService(cfg config.Wrapper, myID protocol.DeviceID, mdl Model, tlsCfg *tls.Config, discoverer discover.Finder, bepProtocolName string, tlsDefaultCommonName string, evLogger events.Logger) Service {
|
|
|
Supervisor: suture.New("connections.Service", spec),
|
|
Supervisor: suture.New("connections.Service", spec),
|
|
|
connectionStatusHandler: newConnectionStatusHandler(),
|
|
connectionStatusHandler: newConnectionStatusHandler(),
|