Documentation ¶ Index ¶ type Main func NewMain() *Main func (m *Main) Run() (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Main ¶ type Main struct { PilosaHost string Concurrency int Index string BufferSize int URLFile string WeatherCache *weatherCache // contains filtered or unexported fields } Main holds options and execution state for the weather usecase. func NewMain ¶ func NewMain() *Main NewMain returns a new Main. func (*Main) Run ¶ func (m *Main) Run() (err error) Run runs the weather usecase. Source Files ¶ View all Source files cache.go main.go Click to show internal directories. Click to hide internal directories.