Clarify variable and func names

This commit is contained in:
Zoltan Papp
2023-08-16 09:48:39 +02:00
parent 5288506c90
commit 9628839508
5 changed files with 24 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ func (s *serviceViaMemory) Listen() error {
}
s.listenerIsRunning = true
log.Debugf("dns service listening on: %s", s.ListenIp())
log.Debugf("dns service listening on: %s", s.RuntimeIP())
return nil
}
@@ -75,11 +75,11 @@ func (s *serviceViaMemory) DeregisterMux(pattern string) {
s.dnsMux.HandleRemove(pattern)
}
func (s *serviceViaMemory) ListenPort() int {
func (s *serviceViaMemory) RuntimePort() int {
return s.runtimePort
}
func (s *serviceViaMemory) ListenIp() string {
func (s *serviceViaMemory) RuntimeIP() string {
return s.runtimeIP
}