def sign.go

bend-kit-webhooks@0.11.0.1 · webhooks.bend:332

import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

332def sign.go(c: Result<&1, &1, Err, String & String>, +secret: String, r: Bytes.Bytes & Bytes.Bytes) ->
333    IO(Bytes.Bytes & Result<&1, &1, Err, Map<&2, List<&2, String>>>):
334  match c:
335    case Fail{e}:
336      back(Map<&2, List<&2, String>>, r, e)
337    case Done{(id, ts)}:
338      sign.key(key.std(secret), id, ts, r)

Uses (12)

Used by (1)