Skip to content

Releases: nabbar/golib

AWS Policy Version

09 Mar 17:06
Compare
Choose a tag to compare

Fix AWS / Policy :

  • CompareUpdate : policy version document is url encoded...
  • CompareUpdate : calling policy update with policy name instead of policy arn

AWS Policy Version

09 Mar 16:06
Compare
Choose a tag to compare

Packages AWS :

  • Fix List Policy Version : if marker empty don't send it

Update :

  • Bump dependancies

Fix validator boolean

09 Mar 14:59
Compare
Choose a tag to compare

Package HTTPServer :

Package HTTPServer & AWS Policy

05 Mar 15:51
Compare
Choose a tag to compare

Package AWS :

  • Fix function update (use Version function instead of implement into the update function)
  • Add func VersionList to list all version id with contents
  • Add func VersionAdd to add new version into the policy as default version
  • Add func VersionDel to delete one version of the policy

Package HTTP Server :

  • Add tag for new config options :
    • Disabled,
    • Mandatory,
    • TimeoutCacheInfo,
    • TimeoutCacheHealth,
    • HandlerKeys,
    • TLSMandatory

Package AWS - fix exposing new function for iam/policy

05 Mar 11:41
Compare
Choose a tag to compare

Package AWS

  • Fix missing function in Policy Interface to expose this new functions

Package AWS - Add function for iam/policy

05 Mar 10:51
Compare
Choose a tag to compare

Package AWS:

  • Policy : add function Get to retrieve Policy Type with all information of the policy
  • Policy : add function GetVersion to retrieve PolicyVersion Type and policy document
  • Policy : add function CompareUpdate to retrieve the policy, compare doc and if different update the policy with the new doc

Enhancement HTTP Server

04 Mar 10:35
Compare
Choose a tag to compare

Package HTTP Server

Config

  • add option to disabled a server
  • add option to force TLS as mandatory to start and server
  • add option to define an handler key to associate one server with one handler

Pool

  • add function listen with multiple handler (map[key string]http.handler) : this function will call each server to check if the key handler is matching with the map of handler. If there is no map, then will call the listen of each server in pool with no handler (using still set handler, like no update). If there is only one handler in map, all server in poll will use this only one handler
  • add function to link server with pkg status

Server

  • add function to link server with pkg status

Dependancies

  • bump dependancies

Fix Race Detector with httpserver

25 Feb 14:02
Compare
Choose a tag to compare
  • Fix httpserver : race detector (issue #84 )
  • Bump dependancies

Refactor Package Status

19 Feb 16:07
Compare
Choose a tag to compare

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)

Mailer

15 Feb 04:13
Compare
Choose a tag to compare

Add Packges:

  • smtp : refactor smtp packgage and allow connection context for smtp
  • mailer : add package for templating mail (using hermes lib)
  • mail : add package to format mal with header to be send to smtp (using lib smple mail)

Add function in package :

  • errors : add function to retireve a map of minimal error code and package path of the getMessage function
  • version : add function to get root path of package (still existing but not return before this function)
  • ioutils : add function to expand bytes.buffer as io.ReadCloser interface