MCPcopy Create free account
hub / github.com/QuantumNous/new-api / GetContextKeyInt

Function GetContextKeyInt

common/gin.go:169–171  ·  view source on GitHub ↗
(c *gin.Context, key constant.ContextKey)

Source from the content-addressed store, hash-verified

167}
168
169func GetContextKeyInt(c *gin.Context, key constant.ContextKey) int {
170 return c.GetInt(string(key))
171}
172
173func GetContextKeyBool(c *gin.Context, key constant.ContextKey) bool {
174 return c.GetBool(string(key))

Callers 2

InitChannelMetaMethod · 0.92
genBaseRelayInfoFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected