How to use the subscribe method available in package called wireless

I am using the package called “GitHub - theojulienne/go-wireless: Small Go libraries for dealing with live wireless network configuration, monitoring and scanning using wpa_supplicant (via control socket) and iw (via libiw)” for handling wifi. I want more detailed description on how to use event handling.