Commit Graph

6 Commits

Author SHA1 Message Date
Nicolas JUHEL
573af6ce3a Package AWS :
- Config Model : add a config model with a golib RouerStatus Config Model to use a AWS connection for API with a request status health check
  - Config Interface : add function GetAccessKey to retrieve the accesskey value currently used into the current connection
  - function Walk (Object, version, ...) : fix bug with pointer of string not initialized

Package Config :
  - interface Component : add status router pointer into the Init function to allow used a global router status for all component status registration as router status component

Package Status :
  - move Status Config as an sub package of Package Status

Package Errors :
  - add CamelCase const

Package Logger :
  - fix following bump dependencies

Global :
  - bump dependencies
  - change init of errors files : change function never call vy panic to prevent an error code collision
2022-09-13 12:31:04 +02:00
Nicolas JUHEL
55aa0c3637 Package AWS:
- Bucket : add function Walk based on list but run a given function for each found bucket
- Object : add function Walk & WalkPrefix based on ListPrefix to run a given function for each returned object
- Object : add function WalkVersion & WalkVersionPrefix based on ListVersion to run a given function for each returned object version
Package logger:
- Fix bug with compat : a nil error not clean when sent to logger
Package Context:
- Fix bug with context/config : the load key return an atomic value instead of the interface stored
2022-08-10 11:11:34 +02:00
Nicolas JUHEL
a09bc7eacd Add config model with tag for config tools like viper, json, ... 2021-12-30 11:52:04 +01:00
Nicolas JUHEL
dbb443eb65 - Fix issue #94
- Fix linter
- Remove useless code/deadcode
2021-04-13 14:21:07 +02:00
Nicolas JUHEL
368459170d Clean / Bump dependancies 2021-02-15 05:00:44 +01:00
Nicolas JUHEL
2b42aa859d 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
2021-02-15 04:25:59 +01:00