Documentation ¶
Index ¶
Constants ¶
View Source
const ApiKeyID = "BRAVE_SEARCH_API_KEY"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FluffyThumbnail ¶
type PurpleThumbnail ¶
type Query ¶
type Query struct { Original string `json:"original"` ShowStrictWarning bool `json:"show_strict_warning"` IsNewsBreaking bool `json:"is_news_breaking"` SpellcheckOff bool `json:"spellcheck_off"` Country string `json:"country"` BadResults bool `json:"bad_results"` ShouldFallback bool `json:"should_fallback"` PostalCode string `json:"postal_code"` City string `json:"city"` HeaderCountry string `json:"header_country"` MoreResultsAvailable bool `json:"more_results_available"` State string `json:"state"` }
type Results ¶
type Results struct { Query Query `json:"query"` Mixed Mixed `json:"mixed"` Type string `json:"type"` Videos VideosClass `json:"videos"` Web WebClass `json:"web"` }
type Service ¶ added in v0.0.5
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶ added in v0.0.5
type VideosClass ¶
type VideosClass struct { Type Type `json:"type"` Results []VideosResult `json:"results"` MutatedByGoggles bool `json:"mutated_by_goggles"` }
type VideosResult ¶
type WebResult ¶
type WebResult struct { Title string `json:"title"` URL string `json:"url"` IsSourceLocal bool `json:"is_source_local"` IsSourceBoth bool `json:"is_source_both"` Description string `json:"description"` Profile Profile `json:"profile"` Language string `json:"language"` FamilyFriendly bool `json:"family_friendly"` Type string `json:"type"` Subtype string `json:"subtype"` MetaURL MetaURL `json:"meta_url"` Thumbnail FluffyThumbnail `json:"thumbnail"` Age string `json:"age"` ExtraSnippets []string `json:"extra_snippets"` }
Click to show internal directories.
Click to hide internal directories.