directory
Version:
v0.2.7
Opens a new window with list of versions in this module.
Published: Nov 15, 2019
License: MIT
Opens a new window with license information.
README
¶
Wrappers
example usage...
service := micro.NewService(
micro.Name("com.example.srv.foo"),
micro.Version("v0.1.0"),
micro.WrapSubscriber(wrapper.NewSubscriberWrapper()),
)
publisher := micro.NewPublisher("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.