Commit Graph

13 Commits

Author SHA1 Message Date
58b1c67b97
Update module path to include version suffix
The module path was updated to align with Go versioning conventions by appending "/v2". This change ensures compatibility with Go's module versioning system and properly reflects the major version update.
2025-02-22 22:16:52 +03:00
102c9bb36a
Refactor network handling with SmartPackage abstraction
Introduced the SmartPackage struct to simplify and centralize logic for handling various payloads, including JSON and alarms. Moved specific handlers into dedicated functions and utilized maps for dynamic process function assignment. Improved error handling and modularity for better scalability and maintainability.
2025-02-22 21:15:03 +03:00
16da4affa8
Refactor and enhance handling of payloads and data structures
Added support for handling various payload types, including GPS and alarms, with new structures and constants. Introduced helper methods for JSON marshalling/unmarshalling of GPS data and modularized the handling of certificates, configurations, and alarms. Implemented foundational server code for testing and expanded several package functionalities.
2025-02-22 19:23:16 +03:00
f3083820dc
Added testing and rewrite serializer
Signed-off-by: Alexander Lazarenko <kerblif@unprism.ru>
2025-02-07 21:04:06 +03:00
f6f762d0dc
Remove github.com/tidwall/pretty v1.2.0 from go.sum 2024-01-06 14:59:00 +03:00
11b19333e1
Refactor MediaRequestRemotePlayback function to handle end_time parameter 2024-01-06 14:56:42 +03:00
d302e599ce
Added parameters 2023-12-31 14:13:27 +03:00
3241d59e7b
Returned env 2023-11-30 21:37:30 +03:00
71d0bc1018
commented logs 2023-11-30 21:35:52 +03:00
bfdca3ffcb
File split 2023-11-30 20:05:11 +03:00
b26b32ea73
Change name 2023-11-29 15:01:15 +03:00
975812efdb
Change golang package name 2023-11-29 14:45:16 +03:00
0f3377d2b8
Initial 2023-11-29 14:16:00 +03:00