Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Instructions common.Instructions
View Source
var TooShortDataAnswer = errors.New("too short data answer")
View Source
var TooShortVerifyAnswer = errors.New("too short verify answer")
Functions ¶
This section is empty.
Types ¶
type LinkedAccount ¶
type Service ¶
type Service struct { DisplayName string `yaml:"display-name" json:"display_name,omitempty"` Name string `yaml:"name" json:"name,omitempty"` OAuthGenRequest string `yaml:"oauth-gen-request" json:"oauth_gen_request,omitempty"` NeedVerify bool `yaml:"need-verify" json:"-"` VerifyRequest elling.NetRequest `yaml:"verify-request" json:"-"` GetDataRequest elling.NetRequest `yaml:"get-data-request" json:"-"` }
func (Service) ToLinkedAccount ¶
func (t Service) ToLinkedAccount(token string) (*LinkedAccount, error)
Click to show internal directories.
Click to hide internal directories.