Commit Graph

15 Commits

Author SHA1 Message Date
519ad39c0f Removed DSM v2.0.4-alpha 2025-02-23 12:57:09 +03:00
7c348629d6 Add custom notFoundError type and improve error handling
Introduce the notFoundError struct to provide more detailed error messages for missing handlers like alarms, JSON operations, and payload types. Update error handling to leverage the new custom type and use errors.As for better flexibility. Additionally, update module imports to version v2 in relevant files.
v2.0.3-alpha
2025-02-23 11:51:16 +03:00
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.
v2.0.2-alpha
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.
v2.0.1-alpha
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.
v2.0.0-alpha
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 v0.3.1 2024-01-06 14:56:42 +03:00
d302e599ce Added parameters v0.3.0 2023-12-31 14:13:27 +03:00
3241d59e7b Returned env v0.2.1 2023-11-30 21:37:30 +03:00
71d0bc1018 commented logs 2023-11-30 21:35:52 +03:00
bfdca3ffcb File split v0.2.0 2023-11-30 20:05:11 +03:00
b26b32ea73 Change name v0.1.1 2023-11-29 15:01:15 +03:00
975812efdb Change golang package name 2023-11-29 14:45:16 +03:00
0f3377d2b8 Initial v0.1.0 2023-11-29 14:16:00 +03:00