Documentation ¶
Index ¶
Constants ¶
View Source
const ( Accept = "accept" Decline = "decline" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cleaner ¶
type Cleaner struct { Settings postgresql.ConnectionURL StreamChannel chan<- *StreamingMessage }
Cleaner ...
func (*Cleaner) CleanOutdatedTasks ¶
func (c *Cleaner) CleanOutdatedTasks()
Clean all outdated tasks for projects who have setting auto_delete is true
func (*Cleaner) CountForTable ¶
CountForTable ...Helper method used for testing
type Investment ¶
type Investment struct { StreamChannel chan<- *StreamingMessage // contains filtered or unexported fields }
func NewInvestment ¶
func NewInvestment(streamChannel chan<- *StreamingMessage, ctx context.Context, sampleTaskDao *persistence.SampleTaskDao, restClient *resty.Client) *Investment
type Job ¶
type Job struct { Cleaner *Cleaner Investment *Investment Reminder *Reminder }
type MessageService ¶
type MessageService struct {
// contains filtered or unexported fields
}
func NewMessageService ¶
func NewMessageService( groupDao *persistence.GroupDao, joinGroupInvitationDao *persistence.JoinGroupInvitationDao, mailClient *mailjet.Client) *MessageService
func (*MessageService) SendJoinGroupEmail ¶
func (m *MessageService) SendJoinGroupEmail(username, email string, groupId, uid uint64)
Send join group invitation email to users
type StreamingMessage ¶
Click to show internal directories.
Click to hide internal directories.