mirror of
https://github.com/nabbar/golib.git
synced 2025-10-05 07:46:56 +08:00
Package Socket:
- fix tcp,udp,unix socket - add socket unixgram for session less unix socket - optmize process & code - add some standalone test for server / client (add example server config for rsyslog) Package Network/Protocol: - add unixgram protocol Package Errors: - fix bug in loop to prevent circular include
This commit is contained in:
@@ -29,10 +29,6 @@ package udp
|
||||
import "fmt"
|
||||
|
||||
var (
|
||||
ErrInstance = fmt.Errorf("invalid instance")
|
||||
ErrAddress = fmt.Errorf("invalid dial address")
|
||||
ErrHostName = fmt.Errorf("invalid dial host name")
|
||||
ErrHostPort = fmt.Errorf("invalid dial host port")
|
||||
ErrContextClosed = fmt.Errorf("context closed")
|
||||
ErrClientClosed = fmt.Errorf("server closed")
|
||||
ErrInstance = fmt.Errorf("invalid instance")
|
||||
ErrAddress = fmt.Errorf("invalid dial address")
|
||||
)
|
||||
|
Reference in New Issue
Block a user