directory
Version:
v0.3.3
Opens a new window with list of versions in this module.
Published: Jun 12, 2020
License: MIT
Opens a new window with license information.
README
¶
Wrappers
example usage...
service := micro.NewService(
micro.Name("com.example.service.foo"),
micro.Version("v0.1.0"),
micro.WrapSubscriber(wrapper.NewSubscriberWrapper()),
)
publisher := micro.NewEvent("topic", service.Client())
service.Init(
micro.WrapClient(wrapper.NewClientWrapper(service)),
micro.WrapHandler(wrapper.NewHandlerWrapper(service)),
micro.WrapHandler(transWrapper.NewHandlerWrapper(publisher)),
)
Directories
¶
Click to show internal directories.
Click to hide internal directories.