Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxx2026 committed Mar 28, 2020
1 parent c4c0c72 commit 3db6c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ func (r *RequestFrame) ClientConnectionInfo() *ClientConnectionInfo {
return r.Stream.ctx.Value(ClientConnectionInfoKey).(*ClientConnectionInfo)

}
// return stash
// GetFrameStash return stash
func (r *RequestFrame) GetFrameStash() interface{} {
return r.stash
}

// set stash, could pass middleware to handler
// SetFrameStash set stash, could pass middleware to handler
func (r *RequestFrame) SetFrameStash(stash interface{}) {
r.stash = stash
}
Expand Down

0 comments on commit 3db6c03

Please sign in to comment.