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

Method SetString

plugin/cache.go:31–31  ·  view source on GitHub ↗
(ctx context.Context, key, value string, ttl time.Duration)

Source from the content-addressed store, hash-verified

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)
34 Increase(ctx context.Context, key string, value int64) (data int64, err error)

Callers 15

setCacheMethod · 0.80
SetCacheMethod · 0.80
setCacheMethod · 0.80
NotBlankFunction · 0.80
SanitizerFunction · 0.80
setCacheMethod · 0.80
SetUserCacheInfoMethod · 0.80
SetUserStatusMethod · 0.80
SetAdminUserCacheInfoMethod · 0.80
AddUserTokenMappingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected