Property definitions

popcorn $ PopTrackerAPI :: defaultinit
# JSON API of the PopTracker
#
# Serves the collected data in JSON format.
class PopTrackerAPI
	super Router

	# Config used to access tracker db
	var config: AppConfig

	init do
		use("/entries", new PopTrackerEntries(config))
		use("/queries", new PopTrackerQueries(config))
		use("/browsers", new PopTrackerBrowsers(config))
		use("/times", new PopTrackerResponseTime(config))
	end
end
lib/popcorn/pop_tracker.nit:61,1--76,3