Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 660 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 660 Bytes

ji-web-display

A simple Go-based web server to display the JI-2016 agenda.

Examples

$> go get github.com/clr-info/ji-web-display
$> ji-web-display -addr=:9090 -dev-test -now="2016-09-27 10:45:00" &
$> open http://127.0.0.1:9090

Handlers

/refresh-timetable

Manually refresh (and fetch from indico) the time table:

$> curl -X POST http://localhost:9090/refresh-timetable
timetable-12779 refreshed

/refresh-timetable

Manually refresh the internal server time:

$> curl -X POST http://localhost:9090/refresh-time
time is now: 2016-09-08 14:05:53.177434474 +0100 BST