doodle/pkg/plus/plus.go

22 lines
443 B
Go
Raw Permalink Normal View History

2024-04-19 03:23:07 +00:00
// Package plus connects the open source Doodle engine to the Doodle++ feature.
package plus
import (
"errors"
"github.com/dgrijalva/jwt-go"
)
// Errors
var (
ErrNotImplemented = errors.New("not implemented")
ErrRegisteredFeature = errors.New("feature not available")
)
2024-04-19 03:23:07 +00:00
// Registration object encoded into a license key file.
type Registration struct {
Name string `json:"name"`
Email string `json:"email"`
jwt.StandardClaims
}