Example #1
0
// 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
}
Example #2
0
func serializeUrlEncodedForm(l LTIStdHeaders) (url.Values, error) {
	return query.Values(l)
}