mirror of
https://github.com/versia-pub/versia-go.git
synced 2026-03-13 12:39:15 +01:00
refactor: workers
This commit is contained in:
parent
02ad720439
commit
8fa44e5f72
20 changed files with 764 additions and 465 deletions
11
internal/task/dtos/note_dtos.go
Normal file
11
internal/task/dtos/note_dtos.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package task_dtos
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
const (
|
||||
FederateNote = "federate_note"
|
||||
)
|
||||
|
||||
type FederateNoteData struct {
|
||||
NoteID uuid.UUID `json:"noteID"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue