ctucx.git: oeffi-web

[nimlang] oeffisearch fork that works without javascript

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 import tables
import nimhafas

type
  moreJourneysMode* = enum
    later, earlier

  CacheObject* = object
    version*:     int
    reqId*:       string
    minId*:       int
    maxId*:       int
    earlierRef*:  string
    laterRef*:    string
    lastUpdated*: int64
    params*:      JourneysParams
    journeys*:    Table[string, Journey]