mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-06 01:07:13 +00:00
* Bring in the files * Add request-response pair matcher for Redis * Implement the `Represent` method * Update `representGeneric` method signature * Don't export `IntToByteArr` * Remove unused `newRedisInputStream` method * Return the errors as string * Adapt to the latest change in the `develop`
15 lines
273 B
Go
15 lines
273 B
Go
package main
|
|
|
|
//ConnectError redis connection error,such as io timeout
|
|
type ConnectError struct {
|
|
Message string
|
|
}
|
|
|
|
func newConnectError(message string) *ConnectError {
|
|
return &ConnectError{Message: message}
|
|
}
|
|
|
|
func (e *ConnectError) Error() string {
|
|
return e.Message
|
|
}
|