本站源代码
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 line
246B

  1. package openid
  2. import (
  3. "net/http"
  4. )
  5. type OpenID struct {
  6. urlGetter httpGetter
  7. }
  8. func NewOpenID(client *http.Client) *OpenID {
  9. return &OpenID{urlGetter: &defaultGetter{client: client}}
  10. }
  11. var defaultInstance = NewOpenID(http.DefaultClient)
上海开阖软件有限公司 沪ICP备12045867号-1