mirror of
https://github.com/soypat/lneto.git
synced 2026-08-07 08:23:42 +00:00
add x/xnet experimental package
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package lneto
|
||||
|
||||
// type ErrorPacketDrop struct {
|
||||
// Message string
|
||||
// }
|
||||
|
||||
// var genericErrPacketDrop = &ErrorPacketDrop{Message: "lneto: packet dropped"}
|
||||
|
||||
// // ErrGenericPacketDrop returns the generic packet drop error. It performs no allocations.
|
||||
// func ErrGenericPacketDrop() error {
|
||||
// return genericErrPacketDrop
|
||||
// }
|
||||
|
||||
// func (err *ErrorPacketDrop) Error() string {
|
||||
// return err.Message
|
||||
// }
|
||||
Reference in New Issue
Block a user