Add Endpoints property to Actor

This commit is contained in:
Matt Baer
2018-08-03 00:22:42 +02:00
parent 50824cd75a
commit 57919aaaec
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -16,6 +16,10 @@ type (
privateKey []byte privateKey []byte
} }
Endpoints struct {
SharedInbox string `json:"sharedInbox"`
}
Image struct { Image struct {
Type string `json:"type"` Type string `json:"type"`
MediaType string `json:"mediaType"` MediaType string `json:"mediaType"`
+1
View File
@@ -12,6 +12,7 @@ type Person struct {
Followers string `json:"followers"` Followers string `json:"followers"`
Summary string `json:"summary"` Summary string `json:"summary"`
PublicKey PublicKey `json:"publicKey"` PublicKey PublicKey `json:"publicKey"`
Endpoints Endpoints `json:"endpoints"`
} }
func NewPerson(accountRoot string) *Person { func NewPerson(accountRoot string) *Person {