Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

add resp3 protocol part 1(add data type and implement some simple) #77

Merged
merged 1 commit into from
Aug 27, 2018

Conversation

chyroc
Copy link
Collaborator

@chyroc chyroc commented Aug 26, 2018

Pull Request for issue

#76

Description

  • simple string
  • blob string
  • simple error
  • blob error
  • number
  • null
  • boolean
  • verbatim string
  • double
  • big number
  • array
  • map
  • set
  • push
  • attribute

@chyroc chyroc force-pushed the add-resp3-protocol-part-1 branch from acff465 to 5633281 Compare August 26, 2018 06:49
@codecov
Copy link

codecov bot commented Aug 26, 2018

Codecov Report

Merging #77 into master will increase coverage by 0.18%.
The diff coverage is 69.6%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   72.18%   72.37%   +0.18%     
==========================================
  Files          10       11       +1     
  Lines         640      742     +102     
==========================================
+ Hits          462      537      +75     
- Misses        171      187      +16     
- Partials        7       18      +11
Impacted Files Coverage Δ
internal/protcl/errors.go 7.14% <25%> (+7.14%) ⬆️
internal/protcl/resp3.go 73.4% <73.4%> (ø)
internal/protcl/parser.go 2.15% <0%> (+2.15%) ⬆️
internal/cli/conn.go 77.5% <0%> (+5%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae7d6e3...e3e18d0. Read the comment docs.

@chyroc chyroc force-pushed the add-resp3-protocol-part-1 branch from 5633281 to 6da6733 Compare August 26, 2018 07:06
type ErrProtocolType struct {
Type byte
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these errors should not disconnect client, you can implement Recoverable interface on them

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@chyroc chyroc force-pushed the add-resp3-protocol-part-1 branch from 6da6733 to cc55216 Compare August 26, 2018 16:50
@kasvith
Copy link
Owner

kasvith commented Aug 26, 2018

Lint errors :)

@chyroc chyroc force-pushed the add-resp3-protocol-part-1 branch from cc55216 to e3e18d0 Compare August 27, 2018 01:32
@kasvith kasvith merged commit 46f3522 into kasvith:master Aug 27, 2018
@kasvith
Copy link
Owner

kasvith commented Aug 27, 2018

Tnx @chyroc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants