Skip to content

pubsubhubbub/gohubbub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoHubbub

A PubSubHubbub subscriber client library for Go (golang).

Example

import "github.com/dpup/gohubbub"

// ...

client := gohubbub.NewClient(hubURL, hostname, port, "Testing")
client.Subscribe(topicURL, func(contentType string, body []byte) {
  // Handle update notification.
})

See this simple program for a functioning example. You will need to run it from a machine that is publicly accessible or use reverse port forwarding from one that is.

Contributing

Questions, comments, bug reports, and pull requests are all welcome. Submit them on the project issue tracker.

License

Copyright 2014 Daniel Pupius. Licensed under the Apache License, Version 2.0.

About

A PubSubHubbub subscriber client library for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published