toggle menu
RaceAssist
1.0-SNAPSHOT
jvm
switch theme
search in API
RaceAssist
/
dev.nikomaru.raceassist.files
Package-level
declarations
Types
Types
Config
Link copied to clipboard
object
Config
:
KoinComponent
Config
Data
Link copied to clipboard
@
Serializable
data
class
ConfigData
(
val
version
:
String
,
val
threshold
:
Int
,
val
delay
:
Long
,
val
discordWebHook
:
DiscordWebHook
,
val
recordHorse
:
RecordHorse
,
val
webAPI
:
WebAPI
?
,
val
raceLimitMilliSecond
:
Long
,
val
mySQL
:
MySQL
?
)
Discord
Web
Hook
Link copied to clipboard
@
Serializable
data
class
DiscordWebHook
(
val
race
:
ArrayList
<
String
>
,
val
bet
:
ArrayList
<
String
>
,
val
place
:
ArrayList
<
String
>
,
val
horse
:
ArrayList
<
String
>
,
val
web
:
ArrayList
<
String
>
)
JWTConfig
Link copied to clipboard
@
Serializable
data
class
JWTConfig
(
val
privateKey
:
String
,
val
keyId
:
String
,
val
issuer
:
String
,
val
audience
:
ArrayList
<
String
>
,
val
realm
:
String
=
"RaceAssist"
)
My
SQL
Link copied to clipboard
@
Serializable
data
class
MySQL
(
val
url
:
String
,
val
username
:
String
,
val
password
:
String
)
Record
Horse
Link copied to clipboard
@
Serializable
data
class
RecordHorse
(
val
minSpeed
:
Double
,
val
minJump
:
Double
)
Record
Log
Link copied to clipboard
@
Serializable
data
class
RecordLog
(
val
url
:
String
,
val
name
:
String
,
val
password
:
String
)
Ssl
Setting
Link copied to clipboard
@
Serializable
data
class
SslSetting
(
val
sslPort
:
Int
,
val
keyAlias
:
String
,
val
keyStorePassword
:
String
,
val
privateKeyPassword
:
String
)
Web
API
Link copied to clipboard
@
Serializable
data
class
WebAPI
(
val
port
:
Int
,
val
sslSetting
:
SslSetting
?
,
val
jwtConfig
:
JWTConfig
?
,
val
recordUrl
:
ArrayList
<
RecordLog
>
,
val
webPage
:
String
?
=
null
)