Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FromClientAPI ¶
type FromClientAPI struct { APObjectType string APActivityType string GTSModel interface{} OriginAccount *gtsmodel.Account TargetAccount *gtsmodel.Account }
FromClientAPI wraps a message that travels from the client API into the processor.
type FromFederator ¶
type FromFederator struct { APObjectType string APActivityType string APIri *url.URL APObjectModel interface{} // Optional AP model of the Object of the Activity. Should be Accountable or Statusable. GTSModel interface{} // Optional GTS model of the Activity or Object. ReceivingAccount *gtsmodel.Account // Local account which owns the inbox that this Activity was posted to. }
FromFederator wraps a message that travels from the federator into the processor.
Click to show internal directories.
Click to hide internal directories.