Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingName defines the error if name is missing. ErrMissingName = errors.New("missing a name") )
Functions ¶
func NewInstrument ¶
func NewInstrument(next v0proto.HelloHandler, metrics *metrics.Metrics) v0proto.HelloHandler
NewInstrument returns a service that instruments metrics.
func NewLogging ¶
func NewLogging(next v0proto.HelloHandler, logger log.Logger) v0proto.HelloHandler
NewLogging returns a service that logs messages.
func NewService ¶
func NewService() v0proto.HelloHandler
NewService returns a service implementation for HelloHandler.
func NewTracing ¶
func NewTracing(next v0proto.HelloHandler) v0proto.HelloHandler
NewTracing returns a service that instruments traces.
Types ¶
Click to show internal directories.
Click to hide internal directories.