From b47ff1f97f43abb152a3a3d92ef0867f38348e24 Mon Sep 17 00:00:00 2001 From: godchen Date: Thu, 23 Sep 2021 17:13:56 +0800 Subject: [PATCH] [skip ci]Add chunk manager interface comment (#8350) Signed-off-by: godchen --- internal/storage/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/storage/types.go b/internal/storage/types.go index 2cdcf3455d..2f560c898c 100644 --- a/internal/storage/types.go +++ b/internal/storage/types.go @@ -11,6 +11,8 @@ package storage +// ChunkManager is to manager chunks. +// Include Read, Write, Remove chunks. type ChunkManager interface { GetPath(key string) (string, error) Write(key string, content []byte) error