bugfix: expose more of the types we are using
This commit is contained in:
parent
40b373eb44
commit
de24c4a07b
|
@ -185,6 +185,8 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
// TODO(ishan): Make it easier for people to use this!
|
||||
// They should just able to specify it as a string and we can parse it
|
||||
#[derive(Debug, Clone, PartialEq, Deserialize)]
|
||||
pub struct AllowedAddresses(pub Vec<IpNetwork>);
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
pub use crate::interface::types::{
|
||||
AddWireguardPeerInput, AddWireguardPeerOutput, WireguardInterface, WireguardPeer,
|
||||
AddWireguardPeerInput, AddWireguardPeerOutput, AllowedAddresses, WireguardInterface,
|
||||
WireguardPeer,
|
||||
};
|
||||
use crate::{Client, ClientError};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
|
Loading…
Reference in New Issue
Block a user