mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-14 13:04:11 -04:00
fix lint warnings
This commit is contained in:
@@ -327,10 +327,12 @@ func (s *Server) Dispatch(ctx context.Context, dest net.Destination) (*core.Link
|
||||
return &core.Link{Reader: downlinkReader, Writer: uplinkWriter}, nil
|
||||
}
|
||||
|
||||
// Start implements common.Runnable.
|
||||
func (s *Server) Start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Close implements common.Closable.
|
||||
func (s *Server) Close() error {
|
||||
return nil
|
||||
}
|
||||
@@ -463,7 +465,7 @@ func (w *ServerWorker) run(ctx context.Context) {
|
||||
input := w.link.Reader
|
||||
reader := &buf.BufferedReader{Reader: input}
|
||||
|
||||
defer w.sessionManager.Close()
|
||||
defer w.sessionManager.Close() // nolint: errcheck
|
||||
|
||||
for {
|
||||
select {
|
||||
|
Reference in New Issue
Block a user