Skip to content

Commit

Permalink
rm CompressFlag
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed Oct 9, 2019
1 parent 73f99e1 commit e16ceb6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions qrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ const (
NBFlag
// PushFlag mean the frame is pushed from server
PushFlag
// CompressFlag indicate packet is compressed (TODO)
CompressFlag
)

// ToNonStream convert flg to nonstreamed flag
Expand Down Expand Up @@ -65,11 +63,6 @@ func (flg FrameFlag) IsPush() bool {
return flg&PushFlag != 0
}

// IsCompressed means whether the frame is compressed
func (flg FrameFlag) IsCompressed() bool {
return flg&CompressFlag != 0
}

// contextKey is a value for use with context.WithValue. It's used as
// a pointer so it fits in an interface{} without allocation.
type contextKey struct {
Expand Down

0 comments on commit e16ceb6

Please sign in to comment.