Add basic activitystreams.Person type

This commit is contained in:
Matt Baer
2018-06-22 16:42:38 -04:00
parent 87cd941e59
commit e99c8d6b4d
2 changed files with 49 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package activitystreams
type (
PublicKey struct {
ID string `json:"id"`
Owner string `json:"owner"`
PublicKeyPEM string `json:"publicKeyPem"`
}
Image struct {
Type string `json:"type"`
MediaType string `json:"mediaType"`
URL string `json:"url"`
}
)