MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / SelectorForTime

Function SelectorForTime

internal/dkim/dkim.go:53–55  ·  view source on GitHub ↗

SelectorForTime is the testable variant of SelectorForNow.

(t time.Time)

Source from the content-addressed store, hash-verified

51
52// SelectorForTime is the testable variant of SelectorForNow.
53func SelectorForTime(t time.Time) string {
54 return fmt.Sprintf("e2a%04d%02d", t.Year(), int(t.Month()))
55}
56
57// Keypair is the result of GenerateKeypair. PrivateKeyDER is suitable
58// for direct BYTEA storage; PublicKeyDNS is the literal "p=" value for

Callers 2

SelectorForNowFunction · 0.85

Calls

no outgoing calls

Tested by 1