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 // what is the object type of this message? eg., Note, Profile etc. APActivityType string // what is the activity type of this message? eg., Create, Follow etc. APIri *url.URL // what is the IRI ID of this activity? GTSModel interface{} // representation of this object if it's already been converted into our internal gts model ReceivingAccount *gtsmodel.Account // which account 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.