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

Function NewSigner

internal/headers/signer.go:148–150  ·  view source on GitHub ↗
(secret string)

Source from the content-addressed store, hash-verified

146}
147
148func NewSigner(secret string) *Signer {
149 return &Signer{secret: []byte(secret)}
150}
151
152func (s *Signer) Sign(p AuthPayload) AuthHeaders {
153 return Sign(string(s.secret), p)

Calls

no outgoing calls