MCPcopy Index your code
hub / github.com/apache/answer / GetString

Method GetString

plugin/cache.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

28 Base
29
30 GetString(ctx context.Context, key string) (data string, exist bool, err error)
31 SetString(ctx context.Context, key, value string, ttl time.Duration) (err error)
32 GetInt64(ctx context.Context, key string) (data int64, exist bool, err error)
33 SetInt64(ctx context.Context, key string, value int64, ttl time.Duration) (err error)

Callers 15

getCacheMethod · 0.80
getBadgeAwardMethod · 0.80
getFromCacheMethod · 0.80
getCacheMethod · 0.80
GetUserCacheInfoMethod · 0.80
GetUserVisitCacheInfoMethod · 0.80
GetUserStatusMethod · 0.80
GetAdminUserCacheInfoMethod · 0.80
AddUserTokenMappingMethod · 0.80
RemoveUserTokensMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected