Krishnan Parthasarathi 607c8a9611 Add sourceInfo to NotificationEvent (#3937)
This change adds information like host, port and user-agent of the
client whose request triggered an event notification.

E.g, if someone uploads an object to a bucket using mc. If notifications
were configured on that bucket, the host, port and user-agent of mc
would be sent as part of event notification data.

Sample output:
```
"source": {
          "host": "127.0.0.1",
          "port": "55808",
          "userAgent": "Minio (linux; amd64) minio-go/2.0.4 mc ..."
}
```
2017-03-22 18:44:35 -07:00
..
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-16 00:16:06 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-03 01:07:45 -08:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-02-15 18:05:55 -08:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00
2017-03-18 11:28:41 -07:00