MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / GetContextKeyTime

Function GetContextKeyTime

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

Source from the content-addressed store, hash-verified

75}
76
77func GetContextKeyTime(c *gin.Context, key constant.ContextKey) time.Time {
78 return c.GetTime(string(key))
79}
80
81func GetContextKeyType[T any](c *gin.Context, key constant.ContextKey) (T, bool) {
82 if value, ok := c.Get(string(key)); ok {

Callers 1

GenRelayInfoFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected