mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-31 11:33:06 -07:00
Server.BackendCon renamed Server.BackendConn
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ type Server struct {
|
||||
conf *config.Config
|
||||
listener *stoppableListener.StoppableListener
|
||||
trackerPool tracker.Pool
|
||||
backendCon backend.Conn
|
||||
backendConn backend.Conn
|
||||
|
||||
startTime time.Time
|
||||
|
||||
@@ -55,7 +55,7 @@ func New(conf *config.Config) (*Server, error) {
|
||||
s := &Server{
|
||||
conf: conf,
|
||||
trackerPool: trackerPool,
|
||||
backendCon: backendConn,
|
||||
backendConn: backendConn,
|
||||
Server: http.Server{
|
||||
Addr: conf.Addr,
|
||||
ReadTimeout: conf.ReadTimeout.Duration,
|
||||
|
||||
Reference in New Issue
Block a user