Adding queues and storage is now postgres only
This commit is contained in:
parent
7ec0ce5a45
commit
1c2472cc2c
11 changed files with 368 additions and 31 deletions
13
storage/outboundJobs.go
Normal file
13
storage/outboundJobs.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package storage
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type OutboundJob struct {
|
||||
gorm.Model // Include full model. Gives ID, created and updated at timestamps as well as soft deletes
|
||||
// Read (and create) only values to ensure consistency
|
||||
TargetServer string `gorm:"->;<-:create"` // The url of the target server
|
||||
TargetPath string `gorm:"->;<-:create"` // The full path of api endpoint targeted
|
||||
Data []byte `gorm:"->;<-:create"` // The raw data to send
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue