Versions in this module Expand all Collapse all v1 v1.0.10 Jan 11, 2024 Changes in this version + const Bfalse + const BfalseLen + const Btrue + const BtrueLen + func Message(reason Reason, prefix string) string + type Envelope struct + EventID eventid.EventID + OK bool + Reason string + func NewOKEnvelope(eventID eventid.EventID, ok bool, reason string) (o *Envelope, e error) + func (env *Envelope) Bytes() (s []byte) + func (env *Envelope) Label() (l string) + func (env *Envelope) MarshalJSON() ([]byte, error) + func (env *Envelope) String() (s string) + func (env *Envelope) ToArray() (a array.T) + func (env *Envelope) Unmarshal(buf *text.Buffer) (e error) + type Reason string + const Blocked + const Duplicate + const Error + const Invalid + const PoW + const RateLimited