1
This commit is contained in:
31
internal/constants/utils.go
Normal file
31
internal/constants/utils.go
Normal file
@@ -0,0 +1,31 @@
|
||||
package constants
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
EmailVerificationServiceURL = "https://emailvalidation.abstractapi.com/v1/"
|
||||
DocumentsPath = "/opt/molva/docs"
|
||||
UserFilesBasePath = "/opt/molva/user_files"
|
||||
DefaultRetryTimeout = time.Second * 10
|
||||
DefaultContextTimeout = 30 * time.Second
|
||||
|
||||
DefaultPaginationPageSize = 20
|
||||
DefaultPaginationPage = 1
|
||||
)
|
||||
|
||||
const (
|
||||
AdminNotificationEmail = "information@molva.io"
|
||||
AdminNotificationId = 0
|
||||
)
|
||||
|
||||
var AdminNotificationEmails = []string{AdminNotificationEmail}
|
||||
|
||||
const (
|
||||
UserTypeAgentName = "Агент"
|
||||
UserTypeDistributorName = "Дистрибьютор"
|
||||
)
|
||||
|
||||
const (
|
||||
DistributorClientType = 1
|
||||
AgentClientType = 0
|
||||
)
|
Reference in New Issue
Block a user