Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Config ConnectionConfig // contains filtered or unexported fields }
func (*Connection) Attempt ¶
func (c *Connection) Attempt() error
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) Database ¶
func (c *Connection) Database() *gorm.DB
func (*Connection) SetupDatabase ¶
func (c *Connection) SetupDatabase() error
type ConnectionConfig ¶
type Event ¶
type Event struct { gorm.Model UID string `gorm:"type:varchar(255);index:uid"` Namespace string `gorm:"type:varchar(255);index:namespace;not null"` Payload string `gorm:"type:text"` Retries int `gorm:"size:1;index:retries;default:0"` }
func (*Event) GetPayload ¶
type Listener ¶
type Listener struct { Running bool Queue Queue Config ListenerConfig // contains filtered or unexported fields }
type Queue ¶
type Queue struct { Connection *Connection Config *QueueConfig }
func Connect ¶
func Connect(config ConnectionConfig) (*Queue, error)
func (*Queue) Configure ¶
func (q *Queue) Configure(config *QueueConfig)
Click to show internal directories.
Click to hide internal directories.