Skip to content

Commit

Permalink
Add new methods to the interface object missed in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybloggs authored and joeybloggs committed Apr 13, 2016
1 parent e192b9d commit b910f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ type Context interface {
ParseMultipartForm(maxMemory int64) error
Set(key interface{}, value interface{})
Get(key interface{}) (value interface{}, exists bool)
Context() context.Context
WithContext(context.Context)
WithCancel() context.CancelFunc
WithDeadline(time.Time) context.CancelFunc
WithTimeout(time.Duration) context.CancelFunc
WithValue(key interface{}, val interface{})
Next()
RequestStart(w http.ResponseWriter, r *http.Request)
RequestEnd()
Expand Down

0 comments on commit b910f1b

Please sign in to comment.