mirror of https://github.com/daffainfo/nuclei.git
16 lines
232 B
Go
16 lines
232 B
Go
|
package protocolstate
|
||
|
|
||
|
import (
|
||
|
"github.com/projectdiscovery/utils/memoize"
|
||
|
)
|
||
|
|
||
|
var Memoizer *memoize.Memoizer
|
||
|
|
||
|
func init() {
|
||
|
var err error
|
||
|
Memoizer, err = memoize.New(memoize.WithMaxSize(1500))
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|