Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdentifierFormat ¶
IdentifierFormat return base format for lambda
func IdentifierUnformat ¶
IdentifierUnformat return parts of the given lambda
func OperatorID ¶ added in v0.2.0
OperatorID returns sha256 of the given operator public key
Types ¶
type RegexpPool ¶ added in v0.2.0
type RegexpPool struct {
// contains filtered or unexported fields
}
RegexpPool holds a sync.Pool of *regexp.Regexp for a specific pattern
func NewRegexpPool ¶ added in v0.2.0
func NewRegexpPool(pattern string) *RegexpPool
NewRegexpPool creates a new instance of RegexpPool
func (*RegexpPool) Get ¶ added in v0.2.0
func (r *RegexpPool) Get() (*regexp.Regexp, func())
Get returns an instance of the regexp and a callback function that adds it back to the pool
Click to show internal directories.
Click to hide internal directories.