Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RequestTable is a name for requests RequestTable = "requests" // EmailTable is name for email lock table EmailTable = "emailLock" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct { SessionProvider *mng.SessionProvider // contains filtered or unexported fields }
Request provides request persistence
func NewRequest ¶
func NewRequest(sessionProvider *mng.SessionProvider) (*Request, error)
NewRequest creates Request instance
func (*Request) GetResultFile ¶
GetResultFile returns file name by ID
type Status ¶
type Status struct {
SessionProvider *mng.SessionProvider
}
Status saves process status to mongo db
func NewStatus ¶
func NewStatus(sessionProvider *mng.SessionProvider) (*Status, error)
NewStatus creates Status instance
Click to show internal directories.
Click to hide internal directories.