package
0.0.0-20241206151036-bb8c128141f9
Repository: https://github.com/matrix-org/complement-crypto.git
Documentation: pkg.go.dev

# Functions

NewActiveChannel returns a channel which can receive and modify callback responses.
NewCallbackServer runs a local HTTP server that can read callbacks from mitmproxy.
NewPassiveChannel returns a channel which can receive callback responses, but cannot modify them.
SendError returns a callback.Fn which returns the provided statusCode along with a JSON error $count times, after which it lets the response pass through.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Fn represents the callback function to invoke.