lnm_sdk/
lib.rs

1#![doc = include_str!("../README.md")]
2
3/// API v2 implementation.
4///
5/// Contains all types, clients, and functionality necessary to work with API v2 including REST and
6/// WebSocket clients, models, and error types.
7///
8/// # Example
9///
10/// ```rust
11/// use lnm_sdk::api_v2::{
12///     RestClient, RestClientConfig, WebSocketChannel, WebSocketClient, WebSocketClientConfig,
13///     WebSocketUpdate, error::*, models::*,
14/// };
15/// ```
16pub mod api_v2;
17
18/// API v3 implementation.
19///
20/// Contains all types, clients, and functionality necessary to work with API v3, including REST
21/// client, models, and error types.
22///
23/// # Example
24///
25/// ```rust
26/// use lnm_sdk::api_v3::{RestClient, RestClientConfig, models::*, error::*};
27/// ```
28pub mod api_v3;
29
30mod shared;
31
32mod sealed {
33    pub trait Sealed {}
34}