Skip to content
Snippets Groups Projects
Select Git revision
  • 4c9e0ece34160b326394f55c59151c7bef1b8168
  • without_tipselection default
  • develop protected
  • fix/grafana-local-dashboard
  • wasp
  • fix/dashboard-explorer-freeze
  • master
  • feat/timerqueue
  • test/sync_debug_and_650
  • feat/sync_revamp_inv
  • wip/sync
  • tool/db-recovery
  • portcheck/fix
  • fix/synchronization
  • feat/new-dashboard-analysis
  • feat/refactored-analysis-dashboard
  • feat/new-analysis-dashboard
  • test/demo-prometheus-fpc
  • prometheus_metrics
  • wip/analysis-server
  • merge/fpc-test-value-transfer
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

lru_cache_options.go

Blame
  • user avatar
    Hans Moog authored
    2c6c6d45
    History
    lru_cache_options.go 270 B
    package datastructure
    
    import (
    	"time"
    )
    
    type LRUCacheOptions struct {
    	EvictionCallback func(key interface{}, value interface{})
    	IdleTimeout      time.Duration
    }
    
    var DEFAULT_OPTIONS = &LRUCacheOptions{
    	EvictionCallback: nil,
    	IdleTimeout:      30 * time.Second,
    }