Documentation ¶
Index ¶
Constants ¶
View Source
const HandlerID = p2p.SignatureRequestHandlerID
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { p2p.NoOpHandler // contains filtered or unexported fields }
Handler signs warp messages
func NewCachedHandler ¶
func NewCachedHandler( cacher cache.Cacher[ids.ID, []byte], verifier Verifier, signer warp.Signer, ) *Handler
NewCachedHandler returns an instance of Handler that caches successful signatures.
func NewHandler ¶
NewHandler returns an instance of Handler
Click to show internal directories.
Click to hide internal directories.