主题
结果缓存。
type Cache interface { Get(ctx, key) ([]byte, bool, error) Set(ctx, key, val, ttl) error Delete(ctx, key) error }
Memory
File
Redis
Noop
query:<type>:<normalized-input>,归一化与编排层一致。
query:<type>:<normalized-input>