-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel.go
52 lines (43 loc) · 1.24 KB
/
model.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package tagify
import (
"github.com/zoomio/tagify/config"
)
// backwards compatibility
type Config = config.Config
type Option = config.Option
type ContentType = config.ContentType
var (
Source = config.Source
Language = config.Language
Content = config.Content
Timeout = config.Timeout
// headless
Query = config.Query
WaitFor = config.WaitFor
WaitUntil = config.WaitUntil
Screenshot = config.Screenshot
UserAgent = config.UserAgent
// misc
TargetType = config.TargetType
Limit = config.Limit
Verbose = config.Verbose
NoStopWords = config.NoStopWords
StopWords = config.StopWords
ContentOnly = config.ContentOnly
FullSite = config.FullSite
// weighing
TagWeightsString = config.TagWeightsString
TagWeightsJSON = config.TagWeightsJSON
ExtraTagWeightsString = config.ExtraTagWeightsString
ExtraTagWeightsJSON = config.ExtraTagWeightsJSON
ExcludeTagsString = config.ExcludeTagsString
AllTagWeights = config.AllTagWeights
AdjustScores = config.AdjustScores
// content types
Unknown = config.Unknown
Text = config.Text
HTML = config.HTML
Markdown = config.Markdown
ContentTypeOf = config.ContentTypeOf
Extensions = config.Extensions
)