style: fix formatting issues
- Add missing newlines at end of files - Fix indentation in ssl.go - Remove extra blank lines Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
b1e1547e36
commit
d269940d8b
@ -140,7 +140,6 @@ func TestPoolConcurrentSubmit(t *testing.T) {
|
||||
|
||||
for range 100 {
|
||||
wg.Go(func() {
|
||||
|
||||
_ = p.Submit(nil, func(_ *fasthttp.RequestCtx) {
|
||||
counter.Add(1)
|
||||
})
|
||||
|
||||
@ -447,7 +447,6 @@ func (s *Server) startSingleMode() error {
|
||||
|
||||
s.fastServer = s.createFastServer(serverCfg, s.handler)
|
||||
|
||||
|
||||
s.running = true
|
||||
|
||||
// 创建监听器并保存,用于热升级
|
||||
@ -578,7 +577,6 @@ func (s *Server) startVHostMode() error {
|
||||
|
||||
s.fastServer = s.createFastServer(serverCfg, s.handler)
|
||||
|
||||
|
||||
s.running = true
|
||||
|
||||
// 创建监听器并保存,用于热升级
|
||||
@ -678,7 +676,6 @@ func (s *Server) startMultiServerMode() error {
|
||||
// 创建 fasthttp.Server
|
||||
fastSrv := s.createFastServer(serverCfg, h)
|
||||
|
||||
|
||||
// 检查 SSL 配置
|
||||
if serverCfg.SSL.Cert != "" && serverCfg.SSL.Key != "" {
|
||||
tlsManager, err := ssl.NewTLSManager(&serverCfg.SSL)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user