You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
slog.Debug("Server started in "+elapsed.String(), "info", "time between since server creation (fuego.NewServer) and server startup (fuego.Run). Depending on your implementation, there might be things that do not depend on fuego slowing start time")
51
-
proto:="http"
52
-
ifs.isTLS {
53
-
proto="https"
54
-
}
55
-
slog.Info("Server running ✅ on "+proto+"://"+s.Server.Addr, "started in", elapsed.String())
46
+
slog.Info("Server running ✅ on "+s.proto()+"://"+s.Server.Addr, "started in", elapsed.String())
47
+
}
48
+
}
49
+
50
+
func (s*Server) proto() string {
51
+
ifs.isTLS {
52
+
return"https"
56
53
}
54
+
return"http"
57
55
}
58
56
59
57
// initializes any Context type with the base ContextNoBody context.
0 commit comments