1
0
Fork
You've already forked go-webfinger
0
Fork of go-webfinger for slurp
  • Go 100%
2025年02月16日 13:25:04 -08:00
examples add go mod support and use new import path 2019年06月09日 03:25:47 +00:00
.gitignore refactor api for working with Resources 2013年06月29日 14:20:42 -07:00
.travis.yml Configure travis for multiple versions of Go 2014年03月04日 04:37:57 +00:00
client.go Add another error string for HTTP fallback 2025年02月16日 13:25:04 -08:00
client_test.go merge jrd package into main webfinger package 2019年06月09日 00:03:16 +00:00
go.mod add go mod support and use new import path 2019年06月09日 03:25:47 +00:00
go.sum add go mod support and use new import path 2019年06月09日 03:25:47 +00:00
jrd.go merge jrd package into main webfinger package 2019年06月09日 00:03:16 +00:00
jrd_test.go merge jrd package into main webfinger package 2019年06月09日 00:03:16 +00:00
LICENSE better with a license 2013年02月26日 03:23:52 +00:00
README.md Go syntax highlighting 2014年02月21日 04:32:49 +00:00

Go-Webfinger

Go client for the Webfinger protocol

Build Status

Go-Webfinger is a Go client for the Webfinger protocol.

*It is a work in progress, the API is not frozen. We're trying to catchup with the last draft of the protocol: http://tools.ietf.org/html/draft-ietf-appsawg-webfinger-14 and to support the http://webfist.org *

Install

This package is "go-gettable", just do:

go get github.com/ant0ine/go-webfinger

Example

packagemainimport("fmt""github.com/ant0ine/go-webfinger""os")funcmain(){email:=os.Args[1]client:=webfinger.NewClient(nil)resource,err:=webfinger.MakeResource(email)iferr!=nil{panic(err)}jrd,err:=client.GetJRD(resource)iferr!=nil{fmt.Println(err)return}fmt.Printf("JRD: %+v",jrd)}

Documentation

Author

Contributors

  • Thanks Will Norris for the major update to support draft-14, and the GAE compat!

MIT License

Analytics