feat(server/gtfsr): initial impl of gtfsr; archive all data

This commit is contained in:
Cilly Leang 2025-12-13 20:31:19 +11:00
parent 302bda4f17
commit a6584ec68c
Signed by: cilly
GPG key ID: 6500251E087653C9
9 changed files with 1451 additions and 2 deletions

View file

@ -3,6 +3,7 @@ package moe.lava.banksia
object Constants {
const val devid: String = ""
const val key: String = ""
const val opendataKey: String = ""
const val serverUrl: String = "https://banksia.lava.moe/api/"
// TODO
const val devMode: Boolean = false

View file

@ -3,3 +3,7 @@ package moe.lava.banksia.util
fun error(tag: String, throwable: Throwable) = error(tag, "", throwable)
expect fun log(tag: String, msg: String)
expect fun error(tag: String, msg: String, throwable: Throwable? = null)
class LogScope(private val tag: String) {
fun log(msg: String) = log(tag, msg)
}