32 lines
707 B
Go
32 lines
707 B
Go
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
|
|
)
|