Creating, Hosting & Consuming Webhooks

I am very new to GitHub. So, please excuse me if my questions are silly.

  1. What language should we use to create a WebHook? (only Go?)
  2. What exactly goes inside a WebHook? I mean what logic?
  3. How to host a WebHook?
  4. What platforms (Windows, Linux) support hosting a WebHook?
  5. What are the prerequisites for creating & hosting/deploying a WebHook?
  6. Are there any sample WebHooks which I can go thru to learn and understand and try it on my own? I did see an example of a webhook at https://github.com/adnanh/webhook, but couldn’t understand much since it is written in Go language.
  7. How to use / consume this with an example?

I would really appreciate if anyone can help me with these.

@vesubramanian
I would suggest