github.com/searKing/golang/go@v1.2.117/net/tcp/values.go (about)

     1  // Copyright 2020 The searKing Author. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package tcp
     6  
     7  import "errors"
     8  
     9  // ErrServerClosed is returned by the Server's Serve and ListenAndServe
    10  // methods after a call to Shutdown or Close.
    11  var ErrServerClosed = errors.New("tcp: Server closed")
    12  var ErrNotFound = errors.New("tcp: Server not found")
    13  var ErrClientClosed = errors.New("tcp: Client closed")
    14  var ErrUnImplement = errors.New("UnImplement Method")