Documentation ¶
Index ¶
Constants ¶
View Source
const (
TableSnapshot = "supervisor_snapshots"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *gorm.DB) *Repository
func (*Repository) SaveSnapshot ¶
type SnapshotPersistent ¶
type SnapshotPersistent struct { domain.BasePersistent domain.BaseEntity PID string `gorm:"column:pid"` State string Event string Action string Payload string }
func NewSnapshotPersistent ¶
func NewSnapshotPersistent(s core.Snapshot) SnapshotPersistent
Click to show internal directories.
Click to hide internal directories.