Skip to content

Commit 13ccebd

Browse files
Remove duplicated cacheKeyType and cacheKey constants from API definition
1 parent d0e43fa commit 13ccebd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server/int/api/api.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ const (
2424
mnsCacheKey mnsCacheKeyType = "mnsCache"
2525
)
2626

27-
type cacheKeyType string
28-
29-
const cacheKey cacheKeyType = "cache"
30-
3127
type API struct {
3228
Conf *config.ServerConfig
3329
APIServer *restapi.Server

0 commit comments

Comments
 (0)