Versions in this module Expand all Collapse all v1 v1.1.0 Aug 16, 2018 Changes in this version + const ContentTypeMiddleware + const CorsMiddleware + const NoCacheMiddleware + const WebFingerPath + func ErrorFromContext(ctx context.Context) error + type ErrorKeyType int + var ErrorKey ErrorKeyType + type Link struct + HRef string + Properties map[string]*string + Rel string + Titles map[string]string + Type string + type Rel string + type Resolver interface + DummyUser func(username string, hostname string, r []Rel) (*Resource, error) + FindUser func(username string, hostname, requestHost string, r []Rel) (*Resource, error) + IsNotFoundError func(err error) bool + type Resource struct + Aliases []string + Links []Link + Properties map[string]string + Subject string + type Service struct + ErrorHandler http.Handler + MalformedRequestHandler http.Handler + MethodNotSupportedHandler http.Handler + NoTLSHandler http.Handler + NotFoundHandler http.Handler + PreHandlers map[string]http.Handler + Resolver Resolver + func Default(ur Resolver) *Service + func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *Service) Webfinger(w http.ResponseWriter, r *http.Request)