Documentation ¶
Index ¶
- Constants
- Variables
- type Job
- func (j *Job) GoString() string
- func (j *Job) HTML() template.HTML
- func (j *Job) HTMLFilePath() string
- func (j *Job) HTMLFilename() string
- func (j *Job) Hash() string
- func (j *Job) MobiFilePath() string
- func (j *Job) MobiFilename() string
- func (j *Job) Now() string
- func (j *Job) Progress(message string)
- func (j *Job) Root() string
Constants ¶
View Source
const DefaultAuthor = "Tinderizer"
Variables ¶
View Source
var ( Tmp = "tmp" BadUrlError = errors.New("Sorry, but this URL doesn't look like it'll work.") BlacklistedUrlError = errors.New("Sorry, but this URL has proven to not work, and has been blacklisted.") NoKeyError = errors.New("No key generated") NoDirectoryError = errors.New("No working directory made") ParamsToClean = []string{"utm_source", "utm_medium", "utm_campaign", "utm_content"} )
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
Url, Email, Title, Author, Domain, Friendly string
Key *uuid.UUID
Doc *html.Node
StartedAt time.Time
}
func (*Job) HTMLFilePath ¶
func (*Job) HTMLFilename ¶
func (*Job) MobiFilePath ¶
func (*Job) MobiFilename ¶
Click to show internal directories.
Click to hide internal directories.