mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Add notification queue metrics (#16026)
This commit is contained in:
@@ -40,6 +40,11 @@ func (target ExampleTarget) Save(eventData Event) error {
|
||||
return target.send(eventData)
|
||||
}
|
||||
|
||||
// Store - Returns a nil store.
|
||||
func (target ExampleTarget) Store() TargetStore {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (target ExampleTarget) send(eventData Event) error {
|
||||
b := make([]byte, 1)
|
||||
if _, err := rand.Read(b); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user