Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryCache ¶
func NewMemoryCounter ¶
Types ¶
type Config ¶
type Config struct {
EnableInitiativeClean bool `json:"enable_initiative_clean,omitempty" yaml:"enable_initiative_clean,omitempty" xml:"enable_initiative_clean,omitempty"`
CleanIntervalSecond int `json:"clean_interval_second,omitempty" yaml:"clean_interval_second,omitempty" xml:"clean_interval_second,omitempty"`
MaxCleanMicroSecond int `json:"max_clean_micro_second,omitempty" yaml:"max_clean_micro_second,omitempty" xml:"max_clean_micro_second,omitempty"`
MaxCleanPercentage int `json:"max_clean_percentage,omitempty" yaml:"max_clean_percentage,omitempty" xml:"max_clean_percentage,omitempty"`
}
type ValueTypeNotMatchError ¶
func NewValueTypeNotMatchError ¶
func NewValueTypeNotMatchError(want, actually Type) ValueTypeNotMatchError
func (ValueTypeNotMatchError) Error ¶
func (e ValueTypeNotMatchError) Error() string
Click to show internal directories.
Click to hide internal directories.