Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyiwy committed Dec 6, 2019
1 parent 580530a commit e2664d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func main() {

var err error
if gin.Mode() == gin.ReleaseMode {
serverChan("OkTools server start")
serverChan("OkTools server started")

runNoTLS()
err = r.RunTLS(":"+conf.Conf.Http.Port, conf.Conf.Http.SSL.Crt, conf.Conf.Http.SSL.Key)
Expand All @@ -68,7 +68,7 @@ func main() {

if err != nil {
if gin.Mode() == gin.ReleaseMode {
serverChan("OkTools server shutdown")
serverChan("OkTools server stopped")
}
log.Println("Something terrible happened:", err)
panic(err)
Expand Down

0 comments on commit e2664d4

Please sign in to comment.