You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
246 B
16 lines
246 B
8 years ago
|
package openid
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
type OpenID struct {
|
||
|
urlGetter httpGetter
|
||
|
}
|
||
|
|
||
|
func NewOpenID(client *http.Client) *OpenID {
|
||
|
return &OpenID{urlGetter: &defaultGetter{client: client}}
|
||
|
}
|
||
|
|
||
|
var defaultInstance = NewOpenID(http.DefaultClient)
|