Files
goreplay/utils/utils.go
T
Dan Carley 2f049dddbd Rename ParsedRequest to RawRequest
Since it contains a raw byte slice of the request data rather than a
`http.Request` object.
2013-10-23 21:07:35 +01:00

15 lines
228 B
Go

package utils
import (
"fmt"
)
type RawRequest struct {
Timestamp int64
Request []byte
}
func (self RawRequest) String() string {
return fmt.Sprintf("Request: %v, timestamp: %v", string(self.Request), self.Timestamp)
}