reorder variables

This commit is contained in:
aler9
2021-05-11 11:08:41 +02:00
parent a7436e581b
commit e052f9b024
2 changed files with 9 additions and 9 deletions

View File

@@ -117,12 +117,12 @@ type Server struct {
receiverReportPeriod time.Duration
closeSessionAfterNoRequestsFor time.Duration
ctx context.Context
ctxCancel func()
wg sync.WaitGroup
tcpListener net.Listener
udpRTPListener *serverUDPListener
udpRTCPListener *serverUDPListener
wg sync.WaitGroup
ctx context.Context
ctxCancel func()
sessions map[string]*ServerSession
conns map[*ServerConn]struct{}
exitError error