Skip to content

Releases: acoshift/hrpc

v3.3.0

19 Oct 08:53
b11ed80
Compare
Choose a tag to compare
  • change interface{} to any
  • add ok and error hooks

Release 3.2.0

13 May 13:28
7649016
Compare
Choose a tag to compare

add v3 to go.mod

import "github.com/acoshift/hrpc/v3"

Release 3.1.0

13 May 12:50
677216d
Compare
Choose a tag to compare

Support non-pointer struct for request and response

func endpoint(ctx context.Context, req requestType) (res responseType, err error) {
    res.OK = true
    return
}

Release 3.0.0

19 Apr 06:45
c019e52
Compare
Choose a tag to compare

Make api simple

  • remove Config type
  • remove New function just create Manager
m := Manager{
    // ...
}
  • rename Validate() error to Valid() error
  • rename RequestDecoder to Decoder
  • rename ResponseEncoder to Encoder

Release 2.0.0

24 Aug 15:23
Compare
Choose a tag to compare

Rename project/package to hrpc

  • Remove errors from github.com/acoshift/httperror
  • Rename Mounter to Manager
  • Rename Encoder/Decoder function
  • Add Validator config

Release 1.0.0

23 Aug 09:18
Compare
Choose a tag to compare
v1.0.0

fix for grpc client