x
This commit is contained in:
@@ -35,6 +35,7 @@ type Request struct {
|
||||
handled bool
|
||||
uuid string
|
||||
bodyData []byte
|
||||
_event string
|
||||
}
|
||||
|
||||
func (r *Request) Body() string {
|
||||
@@ -59,6 +60,10 @@ func (r *Request) Ip() string {
|
||||
return r.c.ClientIP()
|
||||
}
|
||||
|
||||
func (r *Request) Event() string {
|
||||
return r._event
|
||||
}
|
||||
|
||||
func (r *Request) OriginalUrl() string {
|
||||
return r.c.Request.URL.String()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user