mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
15 lines
234 B
Go
15 lines
234 B
Go
package utils
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type ParsedRequest struct {
|
|
Timestamp int64
|
|
Request []byte
|
|
}
|
|
|
|
func (self ParsedRequest) String() string {
|
|
return fmt.Sprintf("Request: %v, timestamp: %v", string(self.Request), self.Timestamp)
|
|
}
|