Closed nnqq closed 4 years ago
Hi
When creating services as a Struct, is it possible to get moleculer.Context of request in handler? https://github.com/moleculer-go/moleculer/blob/18a249e61c6b79d3b7d437ad8457fb02eb4f9597/examples/math2/math.service.go#L17
moleculer.Context
For example, you can declare a service through a ServiceSchema (or call your function in this place passing context to it)
https://github.com/moleculer-go/moleculer/blob/18a249e61c6b79d3b7d437ad8457fb02eb4f9597/examples/standalone/math.service.go#L16
Hi
When creating services as a Struct, is it possible to get
moleculer.Context
of request in handler? https://github.com/moleculer-go/moleculer/blob/18a249e61c6b79d3b7d437ad8457fb02eb4f9597/examples/math2/math.service.go#L17