Documentation ¶
Index ¶
- Variables
- func NewInstrument(next v0proto.HelloHandler, metrics *metrics.Metrics) v0proto.HelloHandler
- func NewLogging(next v0proto.HelloHandler, logger log.Logger) v0proto.HelloHandler
- func NewService() v0proto.HelloHandler
- func NewTracing(next v0proto.HelloHandler) v0proto.HelloHandler
- func RegisterSettingsBundles(l *olog.Logger)
- type Hello
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.
func RegisterSettingsBundles ¶
RegisterSettingsBundles pushes the settings bundle definitions for this extension to the ocis-settings service.
Types ¶
Click to show internal directories.
Click to hide internal directories.