mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 23:27:29 -06:00
dereference remote media
This commit is contained in:
parent
0b8b0948f6
commit
d29ebc3d27
33 changed files with 1026 additions and 403 deletions
|
|
@ -1,29 +1,29 @@
|
|||
package gtsmodel
|
||||
|
||||
// ToClientAPI wraps a message that travels from the processor into the client API
|
||||
type ToClientAPI struct {
|
||||
APObjectType ActivityStreamsObject
|
||||
APActivityType ActivityStreamsActivity
|
||||
Activity interface{}
|
||||
}
|
||||
// // ToClientAPI wraps a message that travels from the processor into the client API
|
||||
// type ToClientAPI struct {
|
||||
// APObjectType ActivityStreamsObject
|
||||
// APActivityType ActivityStreamsActivity
|
||||
// Activity interface{}
|
||||
// }
|
||||
|
||||
// FromClientAPI wraps a message that travels from client API into the processor
|
||||
type FromClientAPI struct {
|
||||
APObjectType ActivityStreamsObject
|
||||
APActivityType ActivityStreamsActivity
|
||||
Activity interface{}
|
||||
GTSModel interface{}
|
||||
}
|
||||
|
||||
// ToFederator wraps a message that travels from the processor into the federator
|
||||
type ToFederator struct {
|
||||
APObjectType ActivityStreamsObject
|
||||
APActivityType ActivityStreamsActivity
|
||||
Activity interface{}
|
||||
}
|
||||
// // ToFederator wraps a message that travels from the processor into the federator
|
||||
// type ToFederator struct {
|
||||
// APObjectType ActivityStreamsObject
|
||||
// APActivityType ActivityStreamsActivity
|
||||
// GTSModel interface{}
|
||||
// }
|
||||
|
||||
// FromFederator wraps a message that travels from the federator into the processor
|
||||
type FromFederator struct {
|
||||
APObjectType ActivityStreamsObject
|
||||
APActivityType ActivityStreamsActivity
|
||||
Activity interface{}
|
||||
GTSModel interface{}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue