Skip to content

Commit

Permalink
change comment for tagRPC
Browse files Browse the repository at this point in the history
  • Loading branch information
menghanl committed May 10, 2017
1 parent f5341a2 commit 36411ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stats/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ type RPCTagInfo struct {
// Handler defines the interface for the related stats handling (e.g., RPCs, connections).
type Handler interface {
// TagRPC can attach some information to the given context.
// The returned context is used in the rest lifetime of the RPC.
// The context used for the rest lifetime of the RPC will be derived from
// the returned context.
TagRPC(context.Context, *RPCTagInfo) context.Context
// HandleRPC processes the RPC stats.
HandleRPC(context.Context, RPCStats)
Expand Down

0 comments on commit 36411ba

Please sign in to comment.