mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-24 00:20:37 +00:00
build out auth proxy core logic
This commit is contained in:
@@ -377,10 +377,10 @@ async fn prepare_client_connection<P>(
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Default)]
|
||||
pub(crate) struct NeonOptions(Vec<(SmolStr, SmolStr)>);
|
||||
pub struct NeonOptions(Vec<(SmolStr, SmolStr)>);
|
||||
|
||||
impl NeonOptions {
|
||||
pub(crate) fn parse_params(params: &StartupMessageParams) -> Self {
|
||||
pub fn parse_params(params: &StartupMessageParams) -> Self {
|
||||
params
|
||||
.options_raw()
|
||||
.map(Self::parse_from_iter)
|
||||
|
||||
Reference in New Issue
Block a user