Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultSkipEndpoints contains list of endpoints that not evaluted by wrapper DefaultSkipEndpoints = []string{"Meter.Metrics", "Health.Live", "Health.Ready", "Health.Version"} )
Functions ¶
func NewCallWrapper ¶
func NewCallWrapper(opts ...Option) client.CallWrapper
NewCallWrapper create new call wrapper
func NewClientWrapper ¶
NewClientWrapper create new client wrapper
func NewServerHandlerWrapper ¶
func NewServerHandlerWrapper(opts ...Option) server.HandlerWrapper
NewServerHandlerWrapper create new server handler wrapper
Types ¶
type Option ¶
type Option func(*Options)
Option func signature
func ServiceName ¶
ServiceName passes service name to meter label
func ServiceVersion ¶
ServiceVersion passes service version to meter label
Click to show internal directories.
Click to hide internal directories.