Fix typo: 'stoped' -> 'stopped'.

This commit is contained in:
Chris Schmich
2018-07-17 14:02:38 -07:00
parent bb933cfb6e
commit 317d0113fb
12 changed files with 12 additions and 12 deletions

View File

@ -117,7 +117,7 @@ func (s *DNS) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop dns service crashed,%s", e) s.log.Printf("stop dns service crashed,%s", e)
} else { } else {
s.log.Printf("service dns stoped") s.log.Printf("service dns stopped")
} }
}() }()
Stop(s.serviceKey) Stop(s.serviceKey)

View File

@ -185,7 +185,7 @@ func (s *HTTP) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop http(s) service crashed,%s", e) s.log.Printf("stop http(s) service crashed,%s", e)
} else { } else {
s.log.Printf("service http(s) stoped") s.log.Printf("service http(s) stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -80,7 +80,7 @@ func (s *MuxBridge) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop bridge service crashed,%s", e) s.log.Printf("stop bridge service crashed,%s", e)
} else { } else {
s.log.Printf("service bridge stoped") s.log.Printf("service bridge stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -73,7 +73,7 @@ func (s *MuxClient) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop client service crashed,%s", e) s.log.Printf("stop client service crashed,%s", e)
} else { } else {
s.log.Printf("service client stoped") s.log.Printf("service client stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -182,7 +182,7 @@ func (s *MuxServer) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop server service crashed,%s", e) s.log.Printf("stop server service crashed,%s", e)
} else { } else {
s.log.Printf("service server stoped") s.log.Printf("service server stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -189,7 +189,7 @@ func (s *Socks) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop socks service crashed,%s", e) s.log.Printf("stop socks service crashed,%s", e)
} else { } else {
s.log.Printf("service socks stoped") s.log.Printf("service socks stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -130,7 +130,7 @@ func (s *SPS) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop sps service crashed,%s", e) s.log.Printf("stop sps service crashed,%s", e)
} else { } else {
s.log.Printf("service sps stoped") s.log.Printf("service sps stopped")
} }
}() }()
for _, sc := range s.serverChannels { for _, sc := range s.serverChannels {

View File

@ -74,7 +74,7 @@ func (s *TCP) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop tcp service crashed,%s", e) s.log.Printf("stop tcp service crashed,%s", e)
} else { } else {
s.log.Printf("service tcp stoped") s.log.Printf("service tcp stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -70,7 +70,7 @@ func (s *TunnelBridge) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop tbridge service crashed,%s", e) s.log.Printf("stop tbridge service crashed,%s", e)
} else { } else {
s.log.Printf("service tbridge stoped") s.log.Printf("service tbridge stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -70,7 +70,7 @@ func (s *TunnelClient) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop tclient service crashed,%s", e) s.log.Printf("stop tclient service crashed,%s", e)
} else { } else {
s.log.Printf("service tclient stoped") s.log.Printf("service tclient stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -183,7 +183,7 @@ func (s *TunnelServer) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop server service crashed,%s", e) s.log.Printf("stop server service crashed,%s", e)
} else { } else {
s.log.Printf("service server stoped") s.log.Printf("service server stopped")
} }
}() }()
s.isStop = true s.isStop = true

View File

@ -73,7 +73,7 @@ func (s *UDP) StopService() {
if e != nil { if e != nil {
s.log.Printf("stop udp service crashed,%s", e) s.log.Printf("stop udp service crashed,%s", e)
} else { } else {
s.log.Printf("service udp stoped") s.log.Printf("service udp stopped")
} }
}() }()
s.isStop = true s.isStop = true