Help us shape the future of Go! Take the 2026 Go Developer Survey

mpptest

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT, Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package mpptest builds and formats MPP Challenges and Credentials for tests, panicking where the mpp functions return an error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatChallenge

func FormatChallenge(challenge *mpp.Challenge) string

FormatChallenge is mpp.FormatChallenge, panicking on error.

func FormatCredential

func FormatCredential(credential *mpp.Credential) string

FormatCredential is mpp.FormatCredential, panicking on error.

func NewChallenge

func NewChallenge(secretKey, realm, method, intent string, request map[string]any, opts ...mpp.ChallengeOption) *mpp.Challenge

NewChallenge is mpp.NewChallengeWithError, panicking on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL