doc

package
v0.0.0-...-2a7bb96 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SEPARATORS = []string{":", ";", ",", "\t"}

Functions

This section is empty.

Types

type Document

type Document struct {
	Email       string `json:"email"`
	Username    string `json:"username"`
	Domain      string `json:"domain"`
	DomainNoTLD string `json:"domain_notld"`
	Tld         string `json:"tld"`
	Password    string `json:"password"`
	PasswordLen int    `json:"password_length"`
	Source      int    `json:"source"`
}

type MetaDoc

type MetaDoc struct {
	Id      string
	Type    string
	Prefix  string
	Routing string
	Doc     *Document
}

func ParseLine

func ParseLine(line string, type_ string, source int, partitionLevels int) (MetaDoc, error)

Jump to

Keyboard shortcuts

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