Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientMsgIndices ¶ added in v0.16.0
func ClientMsgIndices() []structr.IndexConfig
ClientMsgIndices defines queue indices this message type should be accessible / stored under.
func FederatorMsgIndices ¶ added in v0.16.0
func FederatorMsgIndices() []structr.IndexConfig
FederatorMsgIndices defines queue indices this message type should be accessible / stored under.
Types ¶
type FromClientAPI ¶
type FromClientAPI struct { // APObjectType ... APObjectType string // APActivityType ... APActivityType string // Optional GTS database model // of the Activity / Object. GTSModel interface{} // Targeted object URI. TargetURI string // Origin is the account that // this message originated from. Origin *gtsmodel.Account // Target is the account that // this message is targeting. Target *gtsmodel.Account }
FromClientAPI wraps a message that travels from the client API into the processor.
type FromFediAPI ¶ added in v0.11.0
type FromFediAPI struct { // APObjectType ... APObjectType string // APActivityType ... APActivityType string // Optional ActivityPub ID (IRI) // and / or model of Activity / Object. APIRI *url.URL APObject interface{} // Optional GTS database model // of the Activity / Object. GTSModel interface{} // Targeted object URI. TargetURI string // Remote account that posted // this Activity to the inbox. Requesting *gtsmodel.Account // Local account which owns the inbox // that this Activity was posted to. Receiving *gtsmodel.Account }
FromFediAPI wraps a message that travels from the federating API into the processor.
Click to show internal directories.
Click to hide internal directories.