github.com/writeas/go-webfinger (go): Package webfinger is a server implementation of the webfinger specification. This is a general-case package which provides the HTTP handlers and interfaces for adding webfinger support for your system and resources.  The simplest way to use this is to call webfinger.Default() and then register the object as an HTTP handler:  However, you can also register the specific webfinger handler to a path. This should work on any router that supports net/http.  In either case, the handlers attached to the webfinger service get invoked as needed.
Keywords: federation|go|webfinger