MCPcopy Create free account
hub / github.com/Commit-Boost/commit-boost-client / get_signer_config

Function get_signer_config

tests/src/utils.rs:108–117  ·  view source on GitHub ↗
(loader: SignerLoader)

Source from the content-addressed store, hash-verified

106}
107
108pub fn get_signer_config(loader: SignerLoader) -> SignerConfig {
109 SignerConfig {
110 host: default_host(),
111 port: SIGNER_PORT_DEFAULT,
112 docker_image: SIGNER_IMAGE_DEFAULT.to_string(),
113 jwt_auth_fail_limit: SIGNER_JWT_AUTH_FAIL_LIMIT_DEFAULT,
114 jwt_auth_fail_timeout_seconds: SIGNER_JWT_AUTH_FAIL_TIMEOUT_SECONDS_DEFAULT,
115 inner: SignerType::Local { loader, store: None },
116 }
117}
118
119pub fn get_start_signer_config(
120 signer_config: SignerConfig,

Callers 1

start_serverFunction · 0.85

Calls 1

default_hostFunction · 0.85

Tested by 1

start_serverFunction · 0.68