Skip to content

Commit

Permalink
pushstream: add cacheKey to ajax response.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertabcd committed Mar 11, 2017
1 parent 8de0825 commit b58ed9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pushstream/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type PushNotification struct {
Filename string `json:"filename"`
Size int64 `json:"size"`
Signature string `json:"sig"`
CacheKey string `json:"cacheKey"`
}

func (p *PushNotification) Sign(secret string) {
Expand Down

0 comments on commit b58ed9f

Please sign in to comment.