diff --git a/express_tool/express_cache.go b/express_tool/express_cache.go index 18d3530..50a0354 100644 --- a/express_tool/express_cache.go +++ b/express_tool/express_cache.go @@ -6,7 +6,7 @@ import ( ) type ICacheAdapter interface { - Set(ctx context.Context, number string, res string, ttl time.Duration) error - Get(ctx context.Context, number string) (*ExpressRes, error) - Del(ctx context.Context, number string) error + Set(ctx context.Context, key string, res string, ttl time.Duration) error + Get(ctx context.Context, key string) (*ExpressRes, error) + Del(ctx context.Context, key string) error }