mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-04 23:19:25 +00:00
Make geo database usage optional (#39)
This commit is contained in:
@ -39,7 +39,7 @@ func (t *TCP) Start() {
|
||||
}
|
||||
|
||||
func (t *TCP) Stop() {
|
||||
log.Printf("Stopping TCP server...")
|
||||
log.Print("Stopping TCP server...")
|
||||
if err := t.server.Shutdown(t.ctx); err != nil {
|
||||
log.Printf("TCP server forced to shutdown: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user