redis' event library demo in golang