Adding more fields to the output

This commit is contained in:
2025-01-14 22:15:16 +00:00
parent f8effa53f8
commit 8cae215cdb
5 changed files with 283 additions and 43 deletions
+4
View File
@@ -39,3 +39,7 @@ func (i *IRacing) UpdateData() error {
_, err := i.SDK.Update(100 * time.Millisecond)
return err
}
func (i *IRacing) GetSessionInfo() (interface{}, error) {
return i.SDK.SessionInfo, nil
}