projects

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2017 License: MIT Imports: 12 Imported by: 0

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) Init

func (p *Project) Init(config string)

Init ...

func (*Project) Read

func (p *Project) Read(path string)

Read ...

func (*Project) Save

func (p *Project) Save(path string)

Save ...

func (*Project) SetID

func (p *Project) SetID()

SetID ...

func (*Project) SetStatic

func (p *Project) SetStatic()

SetStatic ...

func (*Project) TestElasticsearch

func (p *Project) TestElasticsearch(create bool) (bool, bool)

TestElasticsearch : Test if there is a living connection for elasticsearch && if index created

func (*Project) TestTwitter

func (p *Project) TestTwitter() bool

TestTwitter : ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL