Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProvider ¶
type IProvider interface { // Log is used for printing the Log. // It returns any errors written. Log(job *work.Job, next work.NextMiddlewareFunc) error // Export is used for Checkins the queue. // It returns any errors written. Export(job *work.Job) error // DoSendNotification is used for sending notifications with Onesignal. // It returns any errors written. DoSendNotification(job *work.Job) (err error) // Hcheck is used for checking health of redis connection. // It returns any errors written. Hcheck(job *work.Job) (err error) }
IProvider is an interface that stores the methods that Provider struct will use.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is an struct that implements IProvider methods.
func (*Provider) DoSendNotification ¶
DoSendNotification is used for sending notifications with Onesignal. It returns any errors written.
Click to show internal directories.
Click to hide internal directories.