Documentation ¶
Index ¶
Constants ¶
View Source
const ( ElasticHost = "http://localhost" ElasticPort = 9200 ElasticUser = "elastic" ElasticPassword = "changeme" )
Variables ¶
This section is empty.
Functions ¶
func NewElasticClient ¶
NewElasticClient creates a new client to connect to an elasticsearch cluster
Types ¶
type Article ¶
type Article struct { FeedItem *feedreader.FeedItem HTML string }
type FetchError ¶
type FetchError struct { Msg string `json:"message"` URL string `json:"url"` Status int `json:"status"` Time time.Time `json:"time"` }
func (*FetchError) Error ¶
func (e *FetchError) Error() string
Click to show internal directories.
Click to hide internal directories.