Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParsing = errors.New("parsing error")
Functions ¶
This section is empty.
Types ¶
type CachedGroupRepository ¶
type CachedGroupRepository struct {
// contains filtered or unexported fields
}
func NewCachedGroupRepository ¶
func NewCachedGroupRepository(cache Cache, repository GroupRepository) *CachedGroupRepository
type Config ¶
type Config struct { NumCounters int64 `yaml:"num_counters" mapstructure:"num_counters" default:"10000000"` MaxCost int64 `yaml:"max_cost" mapstructure:"max_cost" default:"1073741824"` BufferItems int64 `yaml:"buffer_items" mapstructure:"buffer_items" default:"64"` Metrics bool `yaml:"metrics" mapstructure:"metrics" default:"true"` TTLInSeconds int `yaml:"ttl_in_seconds" mapstructure:"ttl_in_seconds" default:"3600"` }
Click to show internal directories.
Click to hide internal directories.