Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct {
ID string `yaml:"id"`
Name string `yaml:"name"`
Track string `yaml:"track"`
FilterLevel string `yaml:"filter-level"`
Language string `yaml:"language"`
Location string `yaml:"location"`
Follow string `yaml:"follow"`
StreamingType string `yaml:"streaming-type"`
StallWarnings bool `yaml:"stall-warnings"`
ConsumerKey string `yaml:"consumer-key"`
ConsumerSecret string `yaml:"consumer-secret"`
AccessToken string `yaml:"access-token"`
AccessTokenSecret string `yaml:"access-token-secret"`
ElasticsearchHost string `yaml:"elasticsearch-host"`
ElasticsearchIndex string `yaml:"elasticsearch-index"`
DateCreated time.Time `yaml:"date-created"`
PID int `yaml:"pid"`
Config string `yaml:"config"`
}
Project : Struct
func (*Project) TestElasticsearch ¶
TestElasticsearch : Test if there is a living connection for elasticsearch && if index created
Click to show internal directories.
Click to hide internal directories.