Client/service: v2


#1

refactoring service pkg

  • Think about improving task handler by changing the return types. Data type needs the conversions for constants. We may need to change it to just an interface{}
  • Consider using ‘mesg’ tag name on struct fields because devs shouldn’t be aware of json encoding in the higher level. And they may need to use ‘json’ tag in their own business logic. https://github.com/mesg-foundation/core/issues/708

refactoring servicetest pkg


#2

Merged in Core with PR https://github.com/mesg-foundation/core/pull/704


#3

The logger example should be move somewhere more visible.