mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 15:28:05 +03:00
removed some unused constants
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -83,7 +83,6 @@ const (
|
|||||||
user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes"
|
user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes"
|
||||||
userProfilePath = "/api/v2/user/profile"
|
userProfilePath = "/api/v2/user/profile"
|
||||||
userSharesPath = "/api/v2/user/shares"
|
userSharesPath = "/api/v2/user/shares"
|
||||||
retentionBasePath = "/api/v2/retention/users"
|
|
||||||
retentionChecksPath = "/api/v2/retention/users/checks"
|
retentionChecksPath = "/api/v2/retention/users/checks"
|
||||||
fsEventsPath = "/api/v2/events/fs"
|
fsEventsPath = "/api/v2/events/fs"
|
||||||
providerEventsPath = "/api/v2/events/provider"
|
providerEventsPath = "/api/v2/events/provider"
|
||||||
|
|||||||
@@ -126,7 +126,6 @@ const (
|
|||||||
user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes"
|
user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes"
|
||||||
userProfilePath = "/api/v2/user/profile"
|
userProfilePath = "/api/v2/user/profile"
|
||||||
userSharesPath = "/api/v2/user/shares"
|
userSharesPath = "/api/v2/user/shares"
|
||||||
retentionBasePath = "/api/v2/retention/users"
|
|
||||||
fsEventsPath = "/api/v2/events/fs"
|
fsEventsPath = "/api/v2/events/fs"
|
||||||
providerEventsPath = "/api/v2/events/provider"
|
providerEventsPath = "/api/v2/events/provider"
|
||||||
logEventsPath = "/api/v2/events/logs"
|
logEventsPath = "/api/v2/events/logs"
|
||||||
|
|||||||
@@ -73,37 +73,36 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
templateAdminDir = "webadmin"
|
templateAdminDir = "webadmin"
|
||||||
templateBase = "base.html"
|
templateBase = "base.html"
|
||||||
templateFsConfig = "fsconfig.html"
|
templateFsConfig = "fsconfig.html"
|
||||||
templateSharedComponents = "sharedcomponents.html"
|
templateUsers = "users.html"
|
||||||
templateUsers = "users.html"
|
templateUser = "user.html"
|
||||||
templateUser = "user.html"
|
templateAdmins = "admins.html"
|
||||||
templateAdmins = "admins.html"
|
templateAdmin = "admin.html"
|
||||||
templateAdmin = "admin.html"
|
templateConnections = "connections.html"
|
||||||
templateConnections = "connections.html"
|
templateGroups = "groups.html"
|
||||||
templateGroups = "groups.html"
|
templateGroup = "group.html"
|
||||||
templateGroup = "group.html"
|
templateFolders = "folders.html"
|
||||||
templateFolders = "folders.html"
|
templateFolder = "folder.html"
|
||||||
templateFolder = "folder.html"
|
templateEventRules = "eventrules.html"
|
||||||
templateEventRules = "eventrules.html"
|
templateEventRule = "eventrule.html"
|
||||||
templateEventRule = "eventrule.html"
|
templateEventActions = "eventactions.html"
|
||||||
templateEventActions = "eventactions.html"
|
templateEventAction = "eventaction.html"
|
||||||
templateEventAction = "eventaction.html"
|
templateRoles = "roles.html"
|
||||||
templateRoles = "roles.html"
|
templateRole = "role.html"
|
||||||
templateRole = "role.html"
|
templateEvents = "events.html"
|
||||||
templateEvents = "events.html"
|
templateStatus = "status.html"
|
||||||
templateStatus = "status.html"
|
templateDefender = "defender.html"
|
||||||
templateDefender = "defender.html"
|
templateIPLists = "iplists.html"
|
||||||
templateIPLists = "iplists.html"
|
templateIPList = "iplist.html"
|
||||||
templateIPList = "iplist.html"
|
templateConfigs = "configs.html"
|
||||||
templateConfigs = "configs.html"
|
templateProfile = "profile.html"
|
||||||
templateProfile = "profile.html"
|
templateMaintenance = "maintenance.html"
|
||||||
templateMaintenance = "maintenance.html"
|
templateMFA = "mfa.html"
|
||||||
templateMFA = "mfa.html"
|
templateSetup = "adminsetup.html"
|
||||||
templateSetup = "adminsetup.html"
|
defaultQueryLimit = 1000
|
||||||
defaultQueryLimit = 1000
|
inversePatternType = "inverse"
|
||||||
inversePatternType = "inverse"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user