account_checker

package
v0.0.0-...-3d483f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCheckerModule

type AccountCheckerModule struct {
	session.SessionModule

	Stream *session.Stream `json:"-"`
	// contains filtered or unexported fields
}

func PushAccountCheckerModule

func PushAccountCheckerModule(s *session.Session) *AccountCheckerModule

func (*AccountCheckerModule) Author

func (module *AccountCheckerModule) Author() string

func (*AccountCheckerModule) Description

func (module *AccountCheckerModule) Description() string

func (*AccountCheckerModule) GetInformation

func (module *AccountCheckerModule) GetInformation() session.ModuleInformation

func (*AccountCheckerModule) GetType

func (module *AccountCheckerModule) GetType() []string

func (*AccountCheckerModule) LoadingSites

func (module *AccountCheckerModule) LoadingSites(sites *GeneratedSites) bool

func (*AccountCheckerModule) Name

func (module *AccountCheckerModule) Name() string

func (*AccountCheckerModule) Start

func (module *AccountCheckerModule) Start()

type GeneratedSites

type GeneratedSites struct {
	License []string `json:"license"`
	Authors []string `json:"authors"`
	Sites   []struct {
		Name                   string   `json:"name"`
		CheckURI               string   `json:"check_uri"`
		AccountExistenceCode   string   `json:"account_existence_code"`
		AccountExistenceString string   `json:"account_existence_string"`
		AccountMissingString   string   `json:"account_missing_string"`
		AccountMissingCode     string   `json:"account_missing_code"`
		KnownAccounts          []string `json:"known_accounts"`
		Category               string   `json:"category"`
		Valid                  bool     `json:"valid"`
		PrettyURI              string   `json:"pretty_uri,omitempty"`
		Comments               []string `json:"comments,omitempty"`
		KnownMissingAccounts   []string `json:"known_missing_accounts,omitempty"`
		AllowedTypes           []string `json:"allowed_types,omitempty"`
	} `json:"sites"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL