command
module
Version:
v0.0.0-...-21f4be4
Opens a new window with list of versions in this module.
Published: Oct 29, 2013
License: BSD-3-Clause
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
pm25

Monitor pm2.5. (I hope one day sky is blue)
This is just my interest of Beijing weather.
How to use
get beijing weather
pm25 beijing # get beijing pm2.5
or if you want to to use you own server, for example: 115.28.15.5:8077
./pm25 -addr=115.28.15.5:8080 beijing
How to deploy a server
This need a mysql-server. Just offer a dbname. The program will CreateTable itself.
go get github.com/shxsun/pm25 # build
./pm25 -daemon # start server
Demo server: http://goo.gl/92KKWx
Links
Package use
Documentation
¶
get latest PM2.5 from http://pm25.in
Author skyblue.
-- I hope the sky is blue and the air is clean.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.