Add Endpoints property to Actor
This commit is contained in:
@@ -16,6 +16,10 @@ type (
|
||||
privateKey []byte
|
||||
}
|
||||
|
||||
Endpoints struct {
|
||||
SharedInbox string `json:"sharedInbox"`
|
||||
}
|
||||
|
||||
Image struct {
|
||||
Type string `json:"type"`
|
||||
MediaType string `json:"mediaType"`
|
||||
|
||||
@@ -12,6 +12,7 @@ type Person struct {
|
||||
Followers string `json:"followers"`
|
||||
Summary string `json:"summary"`
|
||||
PublicKey PublicKey `json:"publicKey"`
|
||||
Endpoints Endpoints `json:"endpoints"`
|
||||
}
|
||||
|
||||
func NewPerson(accountRoot string) *Person {
|
||||
|
||||
Reference in New Issue
Block a user