// Serialize LTI response fields into encoded URL query string.
func (l *LTIStdResponse) Serialize() (string, error) {
	vals, err := query.Values(l)
	if err != nil {
		return "", err
	}

	return vals.Encode(), nil
}
Beispiel #2
0
func serializeUrlEncodedForm(l LTIStdHeaders) (url.Values, error) {
	return query.Values(l)
}