Go-SDK支持以侦听Firestore / RealtimeDB数据

I'm implementing cloud-function like features where you can listen to document/data changes for firebase. I used Document-Snapshot for listening to a specific firestore document. I have 2 questions -

  1. How can I implement same for realtime database? (listening to a specific path) I tried to search something like DataSnapshot.

  2. How can I implement wildcard feature in case of both? ( users/{userid} listens for all the documents under users collection )