Documentation ¶
Index ¶
- Constants
- func APIBase(un string) string
- func AssertionParse(s string) (libkb.AssertionExpression, error)
- func AssertionParseAndOnly(s string) (libkb.AssertionExpression, error)
- func CheckKarma(ctx libkb.ProofContext, un string) (int, error)
- func GetServices() libkb.ExternalServicesCollector
- func IsSocialAssertion(s string) bool
- func KarmaURL(un string) string
- func MakeAssertionContext() libkb.AssertionContext
- func NewGlobalContextInit() *libkb.GlobalContext
- func NormalizeSocialAssertion(s string) (keybase1.SocialAssertion, bool)
- func ParseWeb(s string) (hostname string, prot string, err error)
- func SetupTest(tb testing.TB, name string, depth int) (tc libkb.TestContext)
- type CoinbaseChecker
- func (rc *CoinbaseChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *CoinbaseChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *CoinbaseChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *CoinbaseChecker) GetTorError() libkb.ProofError
- func (rc *CoinbaseChecker) ProfileURL() string
- type CoinbaseServiceType
- func (t CoinbaseServiceType) AllStringKeys() []string
- func (t CoinbaseServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t CoinbaseServiceType) DisplayName(un string) string
- func (t CoinbaseServiceType) GetPrompt() string
- func (t CoinbaseServiceType) GetProofType() string
- func (t CoinbaseServiceType) GetTypeName() string
- func (t CoinbaseServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t CoinbaseServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (ret string, err error)
- func (t CoinbaseServiceType) NormalizeUsername(s string) (string, error)
- func (t CoinbaseServiceType) PostInstructions(un string) *libkb.Markup
- func (t CoinbaseServiceType) PreProofCheck(ctx libkb.ProofContext, normalizedUsername string) (*libkb.Markup, error)
- func (t CoinbaseServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t CoinbaseServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type DNSChecker
- func (rc *DNSChecker) CheckDomain(ctx libkb.ProofContext, sig string, domain string) libkb.ProofError
- func (rc *DNSChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *DNSChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *DNSChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *DNSChecker) GetTorError() libkb.ProofError
- type DNSServiceType
- func (t DNSServiceType) AllStringKeys() []string
- func (t DNSServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t DNSServiceType) DisplayName(un string) string
- func (t DNSServiceType) FormatProofText(ppr *libkb.PostProofRes) (string, error)
- func (t DNSServiceType) GetAPIArgKey() string
- func (t DNSServiceType) GetPrompt() string
- func (t DNSServiceType) GetProofType() string
- func (t DNSServiceType) GetTypeName() string
- func (t DNSServiceType) LastWriterWins() bool
- func (t DNSServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t DNSServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (string, error)
- func (t DNSServiceType) NormalizeUsername(s string) (string, error)
- func (t DNSServiceType) PostInstructions(un string) *libkb.Markup
- func (t DNSServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, dn string) (warning *libkb.Markup, err error)
- func (t DNSServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type FacebookChecker
- func (rc *FacebookChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *FacebookChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *FacebookChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *FacebookChecker) GetTorError() libkb.ProofError
- func (rc *FacebookChecker) ScreenNameCompare(s1, s2 string) bool
- type FacebookServiceType
- func (t FacebookServiceType) AllStringKeys() []string
- func (t FacebookServiceType) CheckProofText(text string, id keybase1.SigID, sig string) error
- func (t FacebookServiceType) DisplayName(un string) string
- func (t FacebookServiceType) GetPrompt() string
- func (t FacebookServiceType) GetProofType() string
- func (t FacebookServiceType) GetTypeName() string
- func (t FacebookServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t FacebookServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error)
- func (t FacebookServiceType) NormalizeUsername(s string) (string, error)
- func (t FacebookServiceType) PostInstructions(un string) *libkb.Markup
- func (t FacebookServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t FacebookServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type GithubChecker
- func (rc *GithubChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *GithubChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *GithubChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *GithubChecker) GetTorError() libkb.ProofError
- type GithubServiceType
- func (t GithubServiceType) AllStringKeys() []string
- func (t GithubServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t GithubServiceType) DisplayName(un string) string
- func (t GithubServiceType) GetPrompt() string
- func (t GithubServiceType) GetProofType() string
- func (t GithubServiceType) GetTypeName() string
- func (t GithubServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t GithubServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error)
- func (t GithubServiceType) NormalizeUsername(s string) (string, error)
- func (t GithubServiceType) PostInstructions(un string) *libkb.Markup
- func (t GithubServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t GithubServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type HackerNewsChecker
- func (h *HackerNewsChecker) APIBase() string
- func (h *HackerNewsChecker) APIURL() string
- func (h *HackerNewsChecker) CheckHint(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError
- func (h *HackerNewsChecker) CheckStatus(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError
- func (h *HackerNewsChecker) CheckStatusOld(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError
- func (h *HackerNewsChecker) GetTorError() libkb.ProofError
- func (h *HackerNewsChecker) HumanURL() string
- func (h *HackerNewsChecker) KarmaURL() string
- type HackerNewsServiceType
- func (t HackerNewsServiceType) AllStringKeys() []string
- func (t HackerNewsServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t HackerNewsServiceType) DisplayName(un string) string
- func (t HackerNewsServiceType) GetPrompt() string
- func (t HackerNewsServiceType) GetProofType() string
- func (t HackerNewsServiceType) GetTypeName() string
- func (t HackerNewsServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t HackerNewsServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error)
- func (t HackerNewsServiceType) NormalizeUsername(s string) (string, error)
- func (t HackerNewsServiceType) PostInstructions(un string) *libkb.Markup
- func (t HackerNewsServiceType) PreProofCheck(ctx libkb.ProofContext, un string) (markup *libkb.Markup, err error)
- func (t HackerNewsServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t HackerNewsServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type RedditChecker
- func (rc *RedditChecker) CheckData(h libkb.SigHint, dat *jsonw.Wrapper) libkb.ProofError
- func (rc *RedditChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *RedditChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *RedditChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *RedditChecker) GetTorError() libkb.ProofError
- func (rc *RedditChecker) ScreenNameCompare(s1, s2 string) bool
- func (rc *RedditChecker) UnpackData(inp *jsonw.Wrapper) (*jsonw.Wrapper, libkb.ProofError)
- type RedditServiceType
- func (t RedditServiceType) AllStringKeys() []string
- func (t RedditServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t RedditServiceType) DisplayName(un string) string
- func (t RedditServiceType) FormatProofText(ppr *libkb.PostProofRes) (res string, err error)
- func (t RedditServiceType) GetPrompt() string
- func (t RedditServiceType) GetProofType() string
- func (t RedditServiceType) GetTypeName() string
- func (t RedditServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t RedditServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error)
- func (t RedditServiceType) NormalizeUsername(s string) (string, error)
- func (t RedditServiceType) PostInstructions(un string) *libkb.Markup
- func (t RedditServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t RedditServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type RooterChecker
- func (rc *RooterChecker) CheckData(h libkb.SigHint, dat string) libkb.ProofError
- func (rc *RooterChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) (err libkb.ProofError)
- func (rc *RooterChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) (perr libkb.ProofError)
- func (rc *RooterChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) (perr libkb.ProofError)
- func (rc *RooterChecker) GetTorError() libkb.ProofError
- func (rc *RooterChecker) ScreenNameCompare(s1, s2 string) bool
- func (rc *RooterChecker) UnpackData(inp *jsonw.Wrapper) (string, libkb.ProofError)
- type RooterServiceType
- func (t RooterServiceType) AllStringKeys() []string
- func (t RooterServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t RooterServiceType) DisplayName(un string) string
- func (t RooterServiceType) GetPrompt() string
- func (t RooterServiceType) GetProofType() string
- func (t RooterServiceType) GetTypeName() string
- func (t RooterServiceType) IsDevelOnly() bool
- func (t RooterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t RooterServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (string, error)
- func (t RooterServiceType) NormalizeUsername(s string) (string, error)
- func (t RooterServiceType) PostInstructions(un string) *libkb.Markup
- func (t RooterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t RooterServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type TwitterChecker
- func (rc *TwitterChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *TwitterChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *TwitterChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *TwitterChecker) GetTorError() libkb.ProofError
- func (rc *TwitterChecker) ScreenNameCompare(s1, s2 string) bool
- type TwitterServiceType
- func (t TwitterServiceType) AllStringKeys() []string
- func (t TwitterServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t TwitterServiceType) DisplayName(un string) string
- func (t TwitterServiceType) GetPrompt() string
- func (t TwitterServiceType) GetProofType() string
- func (t TwitterServiceType) GetTypeName() string
- func (t TwitterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t TwitterServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error)
- func (t TwitterServiceType) NormalizeUsername(s string) (string, error)
- func (t TwitterServiceType) PostInstructions(un string) *libkb.Markup
- func (t TwitterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t TwitterServiceType) ToServiceJSON(un string) *jsonw.Wrapper
- type WebChecker
- func (rc *WebChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *WebChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *WebChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
- func (rc *WebChecker) GetTorError() libkb.ProofError
- type WebServiceType
- func (t WebServiceType) AllStringKeys() []string
- func (t WebServiceType) CheckProofText(text string, id keybase1.SigID, sig string) (err error)
- func (t WebServiceType) DisplayName(un string) string
- func (t WebServiceType) GetAPIArgKey() string
- func (t WebServiceType) GetPrompt() string
- func (t WebServiceType) GetProofType() string
- func (t WebServiceType) GetTypeName() string
- func (t WebServiceType) LastWriterWins() bool
- func (t WebServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
- func (t WebServiceType) MarkupFilenames(un string, mkp *libkb.Markup)
- func (t WebServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error)
- func (t WebServiceType) NormalizeUsername(s string) (ret string, err error)
- func (t WebServiceType) PostInstructions(un string) *libkb.Markup
- func (t WebServiceType) PreProofWarning(un string) *libkb.Markup
- func (t WebServiceType) PrimaryStringKeys() []string
- func (t WebServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
- func (t WebServiceType) ToServiceJSON(un string) *jsonw.Wrapper
Constants ¶
View Source
const ( RedditPrefix = "https://www.reddit.com" RedditSub = RedditPrefix + "/r/keybaseproofs" )
View Source
const PostHeadersSelector = "#m_story_permalink_view > div:first-child > div:first-child > div:first-child h3"
Variables ¶
This section is empty.
Functions ¶
func AssertionParse ¶
func AssertionParse(s string) (libkb.AssertionExpression, error)
func AssertionParseAndOnly ¶
func AssertionParseAndOnly(s string) (libkb.AssertionExpression, error)
func CheckKarma ¶
func CheckKarma(ctx libkb.ProofContext, un string) (int, error)
func GetServices ¶
func GetServices() libkb.ExternalServicesCollector
func IsSocialAssertion ¶
func MakeAssertionContext ¶
func MakeAssertionContext() libkb.AssertionContext
func NewGlobalContextInit ¶
func NewGlobalContextInit() *libkb.GlobalContext
func NormalizeSocialAssertion ¶
func NormalizeSocialAssertion(s string) (keybase1.SocialAssertion, bool)
Types ¶
type CoinbaseChecker ¶
type CoinbaseChecker struct {
// contains filtered or unexported fields
}
func NewCoinbaseChecker ¶
func NewCoinbaseChecker(p libkb.RemoteProofChainLink) (*CoinbaseChecker, libkb.ProofError)
func (*CoinbaseChecker) CheckHint ¶
func (rc *CoinbaseChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*CoinbaseChecker) CheckStatus ¶
func (rc *CoinbaseChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*CoinbaseChecker) CheckStatusOld ¶
func (rc *CoinbaseChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*CoinbaseChecker) GetTorError ¶
func (rc *CoinbaseChecker) GetTorError() libkb.ProofError
func (*CoinbaseChecker) ProfileURL ¶
func (rc *CoinbaseChecker) ProfileURL() string
type CoinbaseServiceType ¶
type CoinbaseServiceType struct{ libkb.BaseServiceType }
func (CoinbaseServiceType) AllStringKeys ¶
func (t CoinbaseServiceType) AllStringKeys() []string
func (CoinbaseServiceType) CheckProofText ¶
func (CoinbaseServiceType) DisplayName ¶
func (t CoinbaseServiceType) DisplayName(un string) string
func (CoinbaseServiceType) GetPrompt ¶
func (t CoinbaseServiceType) GetPrompt() string
func (CoinbaseServiceType) GetProofType ¶
func (t CoinbaseServiceType) GetProofType() string
func (CoinbaseServiceType) GetTypeName ¶
func (t CoinbaseServiceType) GetTypeName() string
func (CoinbaseServiceType) MakeProofChecker ¶
func (t CoinbaseServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (CoinbaseServiceType) NormalizeRemoteName ¶
func (t CoinbaseServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (ret string, err error)
func (CoinbaseServiceType) NormalizeUsername ¶
func (t CoinbaseServiceType) NormalizeUsername(s string) (string, error)
func (CoinbaseServiceType) PostInstructions ¶
func (t CoinbaseServiceType) PostInstructions(un string) *libkb.Markup
func (CoinbaseServiceType) PreProofCheck ¶
func (t CoinbaseServiceType) PreProofCheck(ctx libkb.ProofContext, normalizedUsername string) (*libkb.Markup, error)
func (CoinbaseServiceType) RecheckProofPosting ¶
func (t CoinbaseServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (CoinbaseServiceType) ToServiceJSON ¶
func (t CoinbaseServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type DNSChecker ¶
type DNSChecker struct {
// contains filtered or unexported fields
}
func NewDNSChecker ¶
func NewDNSChecker(p libkb.RemoteProofChainLink) (*DNSChecker, libkb.ProofError)
func (*DNSChecker) CheckDomain ¶
func (rc *DNSChecker) CheckDomain(ctx libkb.ProofContext, sig string, domain string) libkb.ProofError
func (*DNSChecker) CheckHint ¶
func (rc *DNSChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*DNSChecker) CheckStatus ¶
func (rc *DNSChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*DNSChecker) CheckStatusOld ¶
func (rc *DNSChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*DNSChecker) GetTorError ¶
func (rc *DNSChecker) GetTorError() libkb.ProofError
type DNSServiceType ¶
type DNSServiceType struct{ libkb.BaseServiceType }
func (DNSServiceType) AllStringKeys ¶
func (t DNSServiceType) AllStringKeys() []string
func (DNSServiceType) CheckProofText ¶
func (DNSServiceType) DisplayName ¶
func (t DNSServiceType) DisplayName(un string) string
func (DNSServiceType) FormatProofText ¶
func (t DNSServiceType) FormatProofText(ppr *libkb.PostProofRes) (string, error)
func (DNSServiceType) GetAPIArgKey ¶
func (t DNSServiceType) GetAPIArgKey() string
func (DNSServiceType) GetPrompt ¶
func (t DNSServiceType) GetPrompt() string
func (DNSServiceType) GetProofType ¶
func (t DNSServiceType) GetProofType() string
func (DNSServiceType) GetTypeName ¶
func (t DNSServiceType) GetTypeName() string
func (DNSServiceType) LastWriterWins ¶
func (t DNSServiceType) LastWriterWins() bool
func (DNSServiceType) MakeProofChecker ¶
func (t DNSServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (DNSServiceType) NormalizeRemoteName ¶
func (t DNSServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (string, error)
func (DNSServiceType) NormalizeUsername ¶
func (t DNSServiceType) NormalizeUsername(s string) (string, error)
func (DNSServiceType) PostInstructions ¶
func (t DNSServiceType) PostInstructions(un string) *libkb.Markup
func (DNSServiceType) RecheckProofPosting ¶
func (t DNSServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, dn string) (warning *libkb.Markup, err error)
func (DNSServiceType) ToServiceJSON ¶
func (t DNSServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type FacebookChecker ¶
type FacebookChecker struct {
// contains filtered or unexported fields
}
func NewFacebookChecker ¶
func NewFacebookChecker(p libkb.RemoteProofChainLink) (*FacebookChecker, libkb.ProofError)
func (*FacebookChecker) CheckHint ¶
func (rc *FacebookChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*FacebookChecker) CheckStatus ¶
func (rc *FacebookChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*FacebookChecker) CheckStatusOld ¶
func (rc *FacebookChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*FacebookChecker) GetTorError ¶
func (rc *FacebookChecker) GetTorError() libkb.ProofError
func (*FacebookChecker) ScreenNameCompare ¶
func (rc *FacebookChecker) ScreenNameCompare(s1, s2 string) bool
type FacebookServiceType ¶
type FacebookServiceType struct{ libkb.BaseServiceType }
func (FacebookServiceType) AllStringKeys ¶
func (t FacebookServiceType) AllStringKeys() []string
func (FacebookServiceType) CheckProofText ¶
func (FacebookServiceType) DisplayName ¶
func (t FacebookServiceType) DisplayName(un string) string
func (FacebookServiceType) GetPrompt ¶
func (t FacebookServiceType) GetPrompt() string
func (FacebookServiceType) GetProofType ¶
func (t FacebookServiceType) GetProofType() string
func (FacebookServiceType) GetTypeName ¶
func (t FacebookServiceType) GetTypeName() string
func (FacebookServiceType) MakeProofChecker ¶
func (t FacebookServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (FacebookServiceType) NormalizeRemoteName ¶
func (t FacebookServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error)
func (FacebookServiceType) NormalizeUsername ¶
func (t FacebookServiceType) NormalizeUsername(s string) (string, error)
func (FacebookServiceType) PostInstructions ¶
func (t FacebookServiceType) PostInstructions(un string) *libkb.Markup
func (FacebookServiceType) RecheckProofPosting ¶
func (t FacebookServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (FacebookServiceType) ToServiceJSON ¶
func (t FacebookServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type GithubChecker ¶
type GithubChecker struct {
// contains filtered or unexported fields
}
func NewGithubChecker ¶
func NewGithubChecker(p libkb.RemoteProofChainLink) (*GithubChecker, libkb.ProofError)
func (*GithubChecker) CheckHint ¶
func (rc *GithubChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*GithubChecker) CheckStatus ¶
func (rc *GithubChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*GithubChecker) CheckStatusOld ¶
func (rc *GithubChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*GithubChecker) GetTorError ¶
func (rc *GithubChecker) GetTorError() libkb.ProofError
type GithubServiceType ¶
type GithubServiceType struct{ libkb.BaseServiceType }
func (GithubServiceType) AllStringKeys ¶
func (t GithubServiceType) AllStringKeys() []string
func (GithubServiceType) CheckProofText ¶
func (GithubServiceType) DisplayName ¶
func (t GithubServiceType) DisplayName(un string) string
func (GithubServiceType) GetPrompt ¶
func (t GithubServiceType) GetPrompt() string
func (GithubServiceType) GetProofType ¶
func (t GithubServiceType) GetProofType() string
func (GithubServiceType) GetTypeName ¶
func (t GithubServiceType) GetTypeName() string
func (GithubServiceType) MakeProofChecker ¶
func (t GithubServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (GithubServiceType) NormalizeRemoteName ¶
func (t GithubServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error)
func (GithubServiceType) NormalizeUsername ¶
func (t GithubServiceType) NormalizeUsername(s string) (string, error)
func (GithubServiceType) PostInstructions ¶
func (t GithubServiceType) PostInstructions(un string) *libkb.Markup
func (GithubServiceType) RecheckProofPosting ¶
func (t GithubServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (GithubServiceType) ToServiceJSON ¶
func (t GithubServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type HackerNewsChecker ¶
type HackerNewsChecker struct {
// contains filtered or unexported fields
}
func NewHackerNewsChecker ¶
func NewHackerNewsChecker(p libkb.RemoteProofChainLink) (*HackerNewsChecker, libkb.ProofError)
func (*HackerNewsChecker) APIBase ¶
func (h *HackerNewsChecker) APIBase() string
func (*HackerNewsChecker) APIURL ¶
func (h *HackerNewsChecker) APIURL() string
func (*HackerNewsChecker) CheckHint ¶
func (h *HackerNewsChecker) CheckHint(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError
func (*HackerNewsChecker) CheckStatus ¶
func (h *HackerNewsChecker) CheckStatus(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError
func (*HackerNewsChecker) CheckStatusOld ¶
func (h *HackerNewsChecker) CheckStatusOld(ctx libkb.ProofContext, hint libkb.SigHint) libkb.ProofError
func (*HackerNewsChecker) GetTorError ¶
func (h *HackerNewsChecker) GetTorError() libkb.ProofError
func (*HackerNewsChecker) HumanURL ¶
func (h *HackerNewsChecker) HumanURL() string
func (*HackerNewsChecker) KarmaURL ¶
func (h *HackerNewsChecker) KarmaURL() string
type HackerNewsServiceType ¶
type HackerNewsServiceType struct{ libkb.BaseServiceType }
func (HackerNewsServiceType) AllStringKeys ¶
func (t HackerNewsServiceType) AllStringKeys() []string
func (HackerNewsServiceType) CheckProofText ¶
func (HackerNewsServiceType) DisplayName ¶
func (t HackerNewsServiceType) DisplayName(un string) string
func (HackerNewsServiceType) GetPrompt ¶
func (t HackerNewsServiceType) GetPrompt() string
func (HackerNewsServiceType) GetProofType ¶
func (t HackerNewsServiceType) GetProofType() string
func (HackerNewsServiceType) GetTypeName ¶
func (t HackerNewsServiceType) GetTypeName() string
func (HackerNewsServiceType) MakeProofChecker ¶
func (t HackerNewsServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (HackerNewsServiceType) NormalizeRemoteName ¶
func (t HackerNewsServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error)
func (HackerNewsServiceType) NormalizeUsername ¶
func (t HackerNewsServiceType) NormalizeUsername(s string) (string, error)
func (HackerNewsServiceType) PostInstructions ¶
func (t HackerNewsServiceType) PostInstructions(un string) *libkb.Markup
func (HackerNewsServiceType) PreProofCheck ¶
func (t HackerNewsServiceType) PreProofCheck(ctx libkb.ProofContext, un string) (markup *libkb.Markup, err error)
func (HackerNewsServiceType) RecheckProofPosting ¶
func (t HackerNewsServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (HackerNewsServiceType) ToServiceJSON ¶
func (t HackerNewsServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type RedditChecker ¶
type RedditChecker struct {
// contains filtered or unexported fields
}
func NewRedditChecker ¶
func NewRedditChecker(p libkb.RemoteProofChainLink) (*RedditChecker, libkb.ProofError)
func (*RedditChecker) CheckData ¶
func (rc *RedditChecker) CheckData(h libkb.SigHint, dat *jsonw.Wrapper) libkb.ProofError
func (*RedditChecker) CheckHint ¶
func (rc *RedditChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*RedditChecker) CheckStatus ¶
func (rc *RedditChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*RedditChecker) CheckStatusOld ¶
func (rc *RedditChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*RedditChecker) GetTorError ¶
func (rc *RedditChecker) GetTorError() libkb.ProofError
func (*RedditChecker) ScreenNameCompare ¶
func (rc *RedditChecker) ScreenNameCompare(s1, s2 string) bool
func (*RedditChecker) UnpackData ¶
func (rc *RedditChecker) UnpackData(inp *jsonw.Wrapper) (*jsonw.Wrapper, libkb.ProofError)
type RedditServiceType ¶
type RedditServiceType struct{ libkb.BaseServiceType }
func (RedditServiceType) AllStringKeys ¶
func (t RedditServiceType) AllStringKeys() []string
func (RedditServiceType) CheckProofText ¶
func (RedditServiceType) DisplayName ¶
func (t RedditServiceType) DisplayName(un string) string
func (RedditServiceType) FormatProofText ¶
func (t RedditServiceType) FormatProofText(ppr *libkb.PostProofRes) (res string, err error)
func (RedditServiceType) GetPrompt ¶
func (t RedditServiceType) GetPrompt() string
func (RedditServiceType) GetProofType ¶
func (t RedditServiceType) GetProofType() string
func (RedditServiceType) GetTypeName ¶
func (t RedditServiceType) GetTypeName() string
func (RedditServiceType) MakeProofChecker ¶
func (t RedditServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (RedditServiceType) NormalizeRemoteName ¶
func (t RedditServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error)
func (RedditServiceType) NormalizeUsername ¶
func (t RedditServiceType) NormalizeUsername(s string) (string, error)
func (RedditServiceType) PostInstructions ¶
func (t RedditServiceType) PostInstructions(un string) *libkb.Markup
func (RedditServiceType) RecheckProofPosting ¶
func (t RedditServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (RedditServiceType) ToServiceJSON ¶
func (t RedditServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type RooterChecker ¶
type RooterChecker struct {
// contains filtered or unexported fields
}
func NewRooterChecker ¶
func NewRooterChecker(p libkb.RemoteProofChainLink) (*RooterChecker, libkb.ProofError)
func (*RooterChecker) CheckData ¶
func (rc *RooterChecker) CheckData(h libkb.SigHint, dat string) libkb.ProofError
func (*RooterChecker) CheckHint ¶
func (rc *RooterChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) (err libkb.ProofError)
func (*RooterChecker) CheckStatus ¶
func (rc *RooterChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) (perr libkb.ProofError)
func (*RooterChecker) CheckStatusOld ¶
func (rc *RooterChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) (perr libkb.ProofError)
func (*RooterChecker) GetTorError ¶
func (rc *RooterChecker) GetTorError() libkb.ProofError
func (*RooterChecker) ScreenNameCompare ¶
func (rc *RooterChecker) ScreenNameCompare(s1, s2 string) bool
func (*RooterChecker) UnpackData ¶
func (rc *RooterChecker) UnpackData(inp *jsonw.Wrapper) (string, libkb.ProofError)
type RooterServiceType ¶
type RooterServiceType struct{ libkb.BaseServiceType }
func (RooterServiceType) AllStringKeys ¶
func (t RooterServiceType) AllStringKeys() []string
func (RooterServiceType) CheckProofText ¶
func (RooterServiceType) DisplayName ¶
func (t RooterServiceType) DisplayName(un string) string
func (RooterServiceType) GetPrompt ¶
func (t RooterServiceType) GetPrompt() string
func (RooterServiceType) GetProofType ¶
func (t RooterServiceType) GetProofType() string
func (RooterServiceType) GetTypeName ¶
func (t RooterServiceType) GetTypeName() string
func (RooterServiceType) IsDevelOnly ¶
func (t RooterServiceType) IsDevelOnly() bool
func (RooterServiceType) MakeProofChecker ¶
func (t RooterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (RooterServiceType) NormalizeRemoteName ¶
func (t RooterServiceType) NormalizeRemoteName(_ libkb.ProofContext, s string) (string, error)
func (RooterServiceType) NormalizeUsername ¶
func (t RooterServiceType) NormalizeUsername(s string) (string, error)
func (RooterServiceType) PostInstructions ¶
func (t RooterServiceType) PostInstructions(un string) *libkb.Markup
func (RooterServiceType) RecheckProofPosting ¶
func (t RooterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (RooterServiceType) ToServiceJSON ¶
func (t RooterServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type TwitterChecker ¶
type TwitterChecker struct {
// contains filtered or unexported fields
}
func NewTwitterChecker ¶
func NewTwitterChecker(p libkb.RemoteProofChainLink) (*TwitterChecker, libkb.ProofError)
func (*TwitterChecker) CheckHint ¶
func (rc *TwitterChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*TwitterChecker) CheckStatus ¶
func (rc *TwitterChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*TwitterChecker) CheckStatusOld ¶
func (rc *TwitterChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*TwitterChecker) GetTorError ¶
func (rc *TwitterChecker) GetTorError() libkb.ProofError
func (*TwitterChecker) ScreenNameCompare ¶
func (rc *TwitterChecker) ScreenNameCompare(s1, s2 string) bool
type TwitterServiceType ¶
type TwitterServiceType struct{ libkb.BaseServiceType }
func (TwitterServiceType) AllStringKeys ¶
func (t TwitterServiceType) AllStringKeys() []string
func (TwitterServiceType) CheckProofText ¶
func (TwitterServiceType) DisplayName ¶
func (t TwitterServiceType) DisplayName(un string) string
func (TwitterServiceType) GetPrompt ¶
func (t TwitterServiceType) GetPrompt() string
func (TwitterServiceType) GetProofType ¶
func (t TwitterServiceType) GetProofType() string
func (TwitterServiceType) GetTypeName ¶
func (t TwitterServiceType) GetTypeName() string
func (TwitterServiceType) MakeProofChecker ¶
func (t TwitterServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (TwitterServiceType) NormalizeRemoteName ¶
func (t TwitterServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (string, error)
func (TwitterServiceType) NormalizeUsername ¶
func (t TwitterServiceType) NormalizeUsername(s string) (string, error)
func (TwitterServiceType) PostInstructions ¶
func (t TwitterServiceType) PostInstructions(un string) *libkb.Markup
func (TwitterServiceType) RecheckProofPosting ¶
func (t TwitterServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (TwitterServiceType) ToServiceJSON ¶
func (t TwitterServiceType) ToServiceJSON(un string) *jsonw.Wrapper
type WebChecker ¶
type WebChecker struct {
// contains filtered or unexported fields
}
func NewWebChecker ¶
func NewWebChecker(p libkb.RemoteProofChainLink) (*WebChecker, libkb.ProofError)
func (*WebChecker) CheckHint ¶
func (rc *WebChecker) CheckHint(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*WebChecker) CheckStatus ¶
func (rc *WebChecker) CheckStatus(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*WebChecker) CheckStatusOld ¶
func (rc *WebChecker) CheckStatusOld(ctx libkb.ProofContext, h libkb.SigHint) libkb.ProofError
func (*WebChecker) GetTorError ¶
func (rc *WebChecker) GetTorError() libkb.ProofError
type WebServiceType ¶
type WebServiceType struct{ libkb.BaseServiceType }
func (WebServiceType) AllStringKeys ¶
func (t WebServiceType) AllStringKeys() []string
func (WebServiceType) CheckProofText ¶
func (WebServiceType) DisplayName ¶
func (t WebServiceType) DisplayName(un string) string
func (WebServiceType) GetAPIArgKey ¶
func (t WebServiceType) GetAPIArgKey() string
func (WebServiceType) GetPrompt ¶
func (t WebServiceType) GetPrompt() string
func (WebServiceType) GetProofType ¶
func (t WebServiceType) GetProofType() string
func (WebServiceType) GetTypeName ¶
func (t WebServiceType) GetTypeName() string
func (WebServiceType) LastWriterWins ¶
func (t WebServiceType) LastWriterWins() bool
func (WebServiceType) MakeProofChecker ¶
func (t WebServiceType) MakeProofChecker(l libkb.RemoteProofChainLink) libkb.ProofChecker
func (WebServiceType) MarkupFilenames ¶
func (t WebServiceType) MarkupFilenames(un string, mkp *libkb.Markup)
func (WebServiceType) NormalizeRemoteName ¶
func (t WebServiceType) NormalizeRemoteName(ctx libkb.ProofContext, s string) (ret string, err error)
func (WebServiceType) NormalizeUsername ¶
func (t WebServiceType) NormalizeUsername(s string) (ret string, err error)
func (WebServiceType) PostInstructions ¶
func (t WebServiceType) PostInstructions(un string) *libkb.Markup
func (WebServiceType) PreProofWarning ¶
func (t WebServiceType) PreProofWarning(un string) *libkb.Markup
func (WebServiceType) PrimaryStringKeys ¶
func (t WebServiceType) PrimaryStringKeys() []string
func (WebServiceType) RecheckProofPosting ¶
func (t WebServiceType) RecheckProofPosting(tryNumber int, status keybase1.ProofStatus, _ string) (warning *libkb.Markup, err error)
func (WebServiceType) ToServiceJSON ¶
func (t WebServiceType) ToServiceJSON(un string) *jsonw.Wrapper
Source Files ¶
- globals.go
- proof_checkers.go
- proof_checkers_devel.go
- proof_support_coinbase.go
- proof_support_dns.go
- proof_support_facebook.go
- proof_support_github.go
- proof_support_hackernews.go
- proof_support_reddit.go
- proof_support_rooter.go
- proof_support_twitter.go
- proof_support_web.go
- services.go
- social_assertion.go
- test_common.go
Click to show internal directories.
Click to hide internal directories.