- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
18 lines
440 B
Cython
18 lines
440 B
Cython
cdef class UVTimer(UVHandle):
|
|
cdef:
|
|
method_t callback
|
|
object ctx
|
|
bint running
|
|
uint64_t timeout
|
|
uint64_t start_t
|
|
|
|
cdef _init(self, Loop loop, method_t callback, object ctx,
|
|
uint64_t timeout)
|
|
|
|
cdef stop(self)
|
|
cdef start(self)
|
|
cdef get_when(self)
|
|
|
|
@staticmethod
|
|
cdef UVTimer new(Loop loop, method_t callback, object ctx,
|
|
uint64_t timeout)
|