Documentation ¶
Overview ¶
Package wrapper injects a go-micro.Service into the context
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWrapper ¶
NewClientWrapper wraps a service within a client so it can be accessed by subsequent client wrappers.
func NewHandlerWrapper ¶
func NewHandlerWrapper(service micro.Service) server.HandlerWrapper
NewHandlerWrapper wraps a service within the handler so it can be accessed by the handler itself.
func NewSubscriberWrapper ¶
func NewSubscriberWrapper(service micro.Service) server.SubscriberWrapper
NewSubscriberWrapper wraps a service within a subscriber so it can be accessed by the subscription handler itself.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.