mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-13 02:47:29 -06:00
linting + organizing
This commit is contained in:
parent
32c5fd987a
commit
dafc3b5b92
60 changed files with 746 additions and 390 deletions
|
|
@ -95,12 +95,14 @@ func (d *distributor) Stop() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// FromClientAPI wraps a message that travels from the client API into the distributor
|
||||
type FromClientAPI struct {
|
||||
APObjectType gtsmodel.ActivityStreamsObject
|
||||
APActivityType gtsmodel.ActivityStreamsActivity
|
||||
Activity interface{}
|
||||
}
|
||||
|
||||
// ToClientAPI wraps a message that travels from the distributor into the client API
|
||||
type ToClientAPI struct {
|
||||
APObjectType gtsmodel.ActivityStreamsObject
|
||||
APActivityType gtsmodel.ActivityStreamsActivity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue