record-daemon: refactor client.rs, introducing typed structs for api types
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m17s
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m17s
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
//! This module handles communication with the League of Legends client
|
||||
//! via WebSocket and REST API for game event detection and capture.
|
||||
|
||||
mod api_types;
|
||||
mod auth;
|
||||
mod client;
|
||||
mod endpoints;
|
||||
@@ -14,6 +15,12 @@ mod state;
|
||||
mod tls;
|
||||
mod websocket;
|
||||
|
||||
pub use api_types::{
|
||||
ActivePlayerResponse, ChampionSelectPlayer, ChampionSelectResponse, EndOfGamePlayer,
|
||||
EndOfGameStatsResponse, EndOfGameTeam, GameData, GameflowSessionResponse, LiveClientItem,
|
||||
LiveClientPlayer, PlayerListResponse, PlayerStats, QueueData, RunePageResponse,
|
||||
SummonerResponse, SummonerSpellsData, TeamPlayer, Timers,
|
||||
};
|
||||
pub use auth::{LockfileCredentials, LockfileWatcher};
|
||||
pub use client::LqpClient;
|
||||
pub use endpoints::{
|
||||
|
||||
Reference in New Issue
Block a user