13 lines
348 B
Go
13 lines
348 B
Go
package types
|
|
|
|
// GenerateInput represents the input for the generate function
|
|
type GenerateInput struct {
|
|
Credential string `json:"credential"` // Base64-encoded PublicKeyCredential
|
|
}
|
|
|
|
// GenerateOutput represents the output of the generate function
|
|
type GenerateOutput struct {
|
|
DID string `json:"did"`
|
|
Database []byte `json:"database"`
|
|
}
|