Documentation ¶ Index ¶ func HandleError(ctx context.Context, err error) type Rejector Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HandleError ¶ func HandleError(ctx context.Context, err error) Types ¶ type Rejector ¶ type Rejector interface { // return a reject packet or nil. p should contains at least network header and transport header Reject(p []byte) *buf.Buffer } Source Files ¶ View all Source files error.gorejector.go Click to show internal directories. Click to hide internal directories.