Skip to content

Refactor Package Status

Compare
Choose a tag to compare
@nabbar nabbar released this 19 Feb 16:07
· 276 commits to master since this release

Refactor PKG status :

  • MiddlewareAdd : allow to add some middleware before calling the status get handler
  • HttpStatusCode : allow to customize http status code for each level
  • Get : the route handler for gin engine
  • Register : register current interface with a golib router
  • RegisterGroup : register current interface with a golib group router
  • ComponentNew : add new component (use NewComponent function)
  • ComponentDel : remove one component
  • ComponentDelAll : remove all component that contain a given string or all if the given string is empty
  • NewComponent : create a new component

Dependancies :

  • bump dependancies (logrus, golang/x)