Discover Packages
jdtw.dev/flood
internal
server
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 28, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
package server implements the HTTP handler that parses the road alert feed
and populates the HTML template based on the closure information.
NewHandler returns an http.Handler for
Options specifies the feed URL for road alerts, the road to check for closures
in those alerts, and the timezone in which to display time to the user.
FeedURL and Road are required. Timezone defaults to UTC.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.