config.go 276 B

123456789
  1. package cache
  2. type Config struct {
  3. Enable bool `json:"enable"`
  4. TTL int `json:"ttl"`
  5. ItemMaxSize int `json:"item_max_size"`
  6. AddCacheHitHeader bool `json:"add_cache_hit_header"`
  7. CacheHitHeader string `json:"cache_hit_header"`
  8. }