Skip to content

Commit

Permalink
Added named arguments to ReportStats interface
Browse files Browse the repository at this point in the history
  • Loading branch information
bstanley0811 committed Oct 4, 2018
1 parent b279db1 commit c86a3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rye.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type MWHandler struct {
// CustomStatter allows the client to log any additional statsD metrics Rye
// computes around the request handler.
type CustomStatter interface {
ReportStats(string, time.Duration, *http.Request, *Response) error
ReportStats(handlerName string, elapsedTime time.Duration, req *http.Request, resp *Response) error
}

// Config struct allows you to set a reference to a statsd.Statter and include it's stats rate.
Expand Down

0 comments on commit c86a3aa

Please sign in to comment.