Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewBuiltInObserver)
Functions ¶
func Server ¶
func Server(observer *BuiltInObserver) middleware.Middleware
Types ¶
type BuiltInObserver ¶
type BuiltInObserver struct {
// contains filtered or unexported fields
}
func NewBuiltInObserver ¶
func NewBuiltInObserver() (*BuiltInObserver, error)
func (*BuiltInObserver) GetRequest ¶
func (o *BuiltInObserver) GetRequest() *ObserverCounter
func (*BuiltInObserver) NewMQ ¶
func (o *BuiltInObserver) NewMQ(key string) *ObserverCounter
type ObserverCounter ¶
type ObserverCounter struct {
// contains filtered or unexported fields
}
func NewObserverCounter ¶
func NewObserverCounter() *ObserverCounter
func (*ObserverCounter) Failure ¶
func (o *ObserverCounter) Failure()
func (*ObserverCounter) Success ¶
func (o *ObserverCounter) Success()
Click to show internal directories.
Click to hide internal directories.