Documentation
¶
Index ¶
- Constants
- type BaseReport
- type FileInfo
- type LiveReport
- func (r *LiveReport) GetCreatedAt() time.Time
- func (r *LiveReport) GetDateFrom() string
- func (r *LiveReport) GetDateTo() string
- func (r *LiveReport) GetDeliveredTo() []string
- func (r *LiveReport) GetID() string
- func (r *LiveReport) GetNotification() Notification
- func (r *LiveReport) GetStatus() string
- func (r *LiveReport) GetTeamID() string
- func (r *LiveReport) GetUpdatedAt() time.Time
- type NotifFmt
- type Notification
- type Report
- type ReportType
Constants ¶
View Source
const ( // NotifFmtHTML indicates notification has HTML format. NotifFmtHTML = iota // NotifFmtText indicates notification has Text format. NotifFmtText // LiveReportType identifies the live report type. LiveReportType = "livereport" // StatusGenerating indicates that report is being generated. StatusGenerating = "GENERATING" // StatusFinished indicates that report has been generated. StatusFinished = "FINISHED" // StatusFailed indicates that report generation failed. StatusFailed = "FAILED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseReport ¶
type BaseReport struct { ID string Notification Notification DeliveredTo []string Status string CreatedAt time.Time UpdatedAt time.Time }
BaseReport represents the common fields for all types of reports.
type LiveReport ¶
type LiveReport struct { BaseReport TeamID string DateFrom string DateTo string }
LiveReport represents a report for vulcan team.
func (*LiveReport) GetCreatedAt ¶
func (r *LiveReport) GetCreatedAt() time.Time
func (*LiveReport) GetDateFrom ¶
func (r *LiveReport) GetDateFrom() string
func (*LiveReport) GetDateTo ¶
func (r *LiveReport) GetDateTo() string
func (*LiveReport) GetDeliveredTo ¶
func (r *LiveReport) GetDeliveredTo() []string
func (*LiveReport) GetID ¶
func (r *LiveReport) GetID() string
func (*LiveReport) GetNotification ¶
func (r *LiveReport) GetNotification() Notification
func (*LiveReport) GetStatus ¶
func (r *LiveReport) GetStatus() string
func (*LiveReport) GetTeamID ¶
func (r *LiveReport) GetTeamID() string
func (*LiveReport) GetUpdatedAt ¶
func (r *LiveReport) GetUpdatedAt() time.Time
type Notification ¶
Notification represents a report notification.
Click to show internal directories.
Click to hide internal directories.