MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / get_server_host

Function get_server_host

config.py:204–212  ·  view source on GitHub ↗

Get server host setting. Environment variable: HOST Database config key: host Default: 0.0.0.0

()

Source from the content-addressed store, hash-verified

202
203# Server Configuration
204async def get_server_host() -> str:
205 """
206 Get server host setting.
207
208 Environment variable: HOST
209 Database config key: host
210 Default: 0.0.0.0
211 """
212 return str(await get_config_value("host", "0.0.0.0", "HOST"))
213
214
215async def get_server_port() -> int:

Callers 1

_runFunction · 0.90

Calls 1

get_config_valueFunction · 0.85

Tested by

no test coverage detected