Skip to content

Releases: ednailson/httping-go

v0.15.0

19 Dec 13:56
7e5a352
Compare
Choose a tag to compare
  • JSend response now has its own package
  • The default response helper of the httping package does not follow the JSend rules anymore
  • Test covering of 100%

v0.14.2

31 Aug 23:48
607e9ea
Compare
Choose a tag to compare
  • Go doc support

v0.14.1

23 Jun 22:35
5dbfca7
Compare
Choose a tag to compare
  • Helpers for responses. Status:
    • ProxyAuthRequired
    • RequestTimeout
    • Conflict
    • Gone
    • LengthRequired
    • PreconditionFailed
    • RequestEntityTooLarge
    • RequestURITooLong
    • UnsupportedMediaType
    • RequestedRangeNotSatisfiable
    • ExpectationFailed
    • Teapot
    • MisdirectedRequest
    • UnprocessableEntity
    • Locked
    • FailedDependency
    • TooEarly
    • UpgradeRequired
    • PreconditionRequired
    • TooManyRequests
    • RequestHeaderFieldsTooLarge
    • UnavailableForLegalReasons
    • NonAuthoritativeInfo
    • ResetContent
    • PartialContent
    • MultiStatus
    • AlreadyReported
    • IMUsed

v0.14.0

10 Jun 13:43
e3ba703
Compare
Choose a tag to compare
  • EnableCORS() now on is a method on the IServer. To enable CORS it is only needed to call the method.

v0.13.0

09 Jun 21:13
d9e3405
Compare
Choose a tag to compare
  • IResponse implemented on the HandleFunc. It was only possible to reply JSend messages, now on, it is possible to
    return anything that implements IResponse interface, which means anything besides JSend.

v0.12.0

04 Jun 19:12
Compare
Choose a tag to compare
  • Fixing go mod

v0.11.0

04 Jun 19:03
09d9e66
Compare
Choose a tag to compare
  • Fixing go mod

v0.10.0

16 Apr 14:50
cc61eb7
Compare
Choose a tag to compare
  • Support a many middleware functions
  • SetMiddleware sets a slice of HandleFunc
  • AddMiddleware add a new function to the middleware

v0.9.1

15 Apr 21:53
12faf39
Compare
Choose a tag to compare
  • CORS support

v0.9.0

03 Apr 00:36
c5cd993
Compare
Choose a tag to compare
  • Middleware functions only returns ResponseMessage. If it is the MiddlewareFunc returns null the middleware will
    continue the request for the HandleFunc
  • NewServer requires a host. It can run local if it receives "" as host parameter.
  • Middleware function can be set on IRoute. It will be replace the server middleware function only on that route.
  • NewServer and NewRoute return only interfaces now on.