Add Endpoints property to Actor
This commit is contained in:
@@ -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"`
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user