Documentation ¶
Index ¶
Constants ¶
View Source
const ( SCHEME = "https" PATH = "/blog/search/api/v3/search" DEFAULT_USER_AGENT = "Twingly Search Go Client/1.0" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Post ¶
type Post struct { ID string Author string URL string Title string Text string LanguageCode string LocationCode string Coordinates string Links string Tags []Tag Images string IndexedAt string PublishedAt string ReindexedAt string InlinksCount string BlogId string BlogName string BlogUrl string BlogRank string Authority string }
type TwinglyResponse ¶
type Twinglydata ¶
type Twinglydata struct { XMLName xml.Name `xml:"twinglydata"` Text string `xml:",chardata"` NumberOfMatchesReturned string `xml:"numberOfMatchesReturned,attr"` SecondsElapsed string `xml:"secondsElapsed,attr"` NumberOfMatchesTotal string `xml:"numberOfMatchesTotal,attr"` IncompleteResult string `xml:"incompleteResult,attr"` Post []struct { Chardata string `xml:",chardata"` ID string `xml:"id"` Author string `xml:"author"` URL string `xml:"url"` Title string `xml:"title"` Text string `xml:"text"` LanguageCode string `xml:"languageCode"` LocationCode string `xml:"locationCode"` Coordinates string `xml:"coordinates"` Links string `xml:"links"` Tags struct { Text string `xml:",chardata"` Tag []string `xml:"tag"` } `xml:"tags"` Images string `xml:"images"` IndexedAt string `xml:"indexedAt"` PublishedAt string `xml:"publishedAt"` ReindexedAt string `xml:"reindexedAt"` InlinksCount string `xml:"inlinksCount"` BlogId string `xml:"blogId"` BlogName string `xml:"blogName"` BlogUrl string `xml:"blogUrl"` BlogRank string `xml:"blogRank"` Authority string `xml:"authority"` } `xml:"post"` }
Click to show internal directories.
Click to hide internal directories.