MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / Set

Method Set

internal/cache/userExample.go:28–28  ·  view source on GitHub ↗
(ctx context.Context, id uint64, data *model.UserExample, duration time.Duration)

Source from the content-addressed store, hash-verified

26// UserExampleCache cache interface
27type UserExampleCache interface {
28 Set(ctx context.Context, id uint64, data *model.UserExample, duration time.Duration) error
29 Get(ctx context.Context, id uint64) (*model.UserExample, error)
30 MultiGet(ctx context.Context, ids []uint64) (map[uint64]*model.UserExample, error)
31 MultiSet(ctx context.Context, data []*model.UserExample, duration time.Duration) error

Callers 6

SetMethod · 0.65
GetByIDMethod · 0.65

Implementers 1

userExampleCacheinternal/cache/userExample.go

Calls

no outgoing calls

Tested by 4