Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SwishHQ/spread
/ functions
Functions
548 in github.com/SwishHQ/spread
⨍
Functions
548
◇
Types & classes
106
↓ 1 callers
Function
NewAppRepository
(db *mongo.Database)
src/repository/app_repository.go:23
↓ 1 callers
Function
NewAuthKeyController
(authKeyService service.AuthKeyService)
src/controller/auth_key.controller.go:20
↓ 1 callers
Function
NewAuthKeyRepository
(db *mongo.Database)
src/repository/auth_key.repository.go:23
↓ 1 callers
Function
NewBundleController
(bundleService service.BundleService)
src/controller/bundle_controller.go:27
↓ 1 callers
Function
NewBundleRepository
(db *mongo.Database)
src/repository/bundle_repository.go:36
↓ 1 callers
Function
NewClientController
(clientService service.ClientService)
src/controller/client_controller.go:22
↓ 1 callers
Function
NewEnvironmentController
(environmentService service.EnvironmentService)
src/controller/environment_controller.go:22
↓ 1 callers
Function
NewEnvironmentRepository
(db *mongo.Database)
src/repository/environment_repository.go:26
↓ 1 callers
Function
NewR2Service
()
pkg/cloudflare.go:19
↓ 1 callers
Function
NewUserController
(userService service.UserService)
src/controller/user_controller.go:24
↓ 1 callers
Function
NewUserRepository
(db *mongo.Database)
src/repository/user_repository.go:24
↓ 1 callers
Function
NewVersionController
(versionService service.VersionService)
src/controller/version_controller.go:19
↓ 1 callers
Function
NewVersionRepository
(db *mongo.Database)
src/repository/version_repository.go:29
↓ 1 callers
Function
PathExists
check if a pth exists
utils/common.go:147
↓ 1 callers
Function
PushBundle
PushBundle uploads a new bundle to the server
cli/bundle_cli.go:39
↓ 1 callers
Method
ReportStatusDeploy
(c *fiber.Ctx)
src/controller/client_controller.go:14
↓ 1 callers
Method
ReportStatusDownload
(c *fiber.Ctx)
src/controller/client_controller.go:15
↓ 1 callers
Function
ReverseArr
(s interface{})
utils/common.go:113
↓ 1 callers
Method
Rollback
(c *fiber.Ctx)
src/controller/bundle_controller.go:19
↓ 1 callers
Method
ToggleActive
(c *fiber.Ctx)
src/controller/bundle_controller.go:20
↓ 1 callers
Method
ToggleMandatory
(c *fiber.Ctx)
src/controller/bundle_controller.go:18
↓ 1 callers
Method
UpdateCurrentBundleId
(ctx context.Context, id primitive.ObjectID, currentBundleId primitive.ObjectID)
src/repository/version_repository.go:17
↓ 1 callers
Method
UpdateIsMandatoryById
(ctx context.Context, id primitive.ObjectID, isMandatory bool)
src/repository/bundle_repository.go:24
↓ 1 callers
Method
UpdateIsValid
(ctx context.Context, id primitive.ObjectID, isValid bool)
src/repository/bundle_repository.go:25
↓ 1 callers
Method
UpdateVersionIdById
(ctx context.Context, id primitive.ObjectID, versionId primitive.ObjectID)
src/repository/bundle_repository.go:18
↓ 1 callers
Method
UploadBundle
(c *fiber.Ctx)
src/controller/bundle_controller.go:15
↓ 1 callers
Method
UploadFileToR2
(ctx context.Context, key string, file []byte)
pkg/cloudflare.go:51
↓ 1 callers
Function
Zip
Zip function creates a zip file from a given source directory.
utils/common.go:37
↓ 1 callers
Function
buildBundle
(config BundleConfig)
cli/bundle_cli.go:88
↓ 1 callers
Function
checkSetupStatus
()
web/src/api/hooks/useSetup.ts:9
↓ 1 callers
Function
copyToClipboard
(text: string)
web/src/views/dashboard/authKeys/AuthKeysView.tsx:132
↓ 1 callers
Function
createAndUploadBundle
(config BundleConfig, fileName string, hash string)
cli/bundle_cli.go:296
↓ 1 callers
Function
createApp
(appData: { appName: string; os: string; })
web/src/api/hooks/useApps.ts:60
↓ 1 callers
Function
createAuthKey
(name: string)
web/src/api/hooks/useAuthKeys.ts:24
↓ 1 callers
Function
createBundleCommand
(config BundleConfig, buildPath, bundleURL, indexFile, minify string)
cli/bundle_cli.go:231
↓ 1 callers
Function
createLogger
()
logger/zap.go:18
↓ 1 callers
Function
executeCommand
(cmd *exec.Cmd)
cli/bundle_cli.go:202
↓ 1 callers
Function
fetchAppDetails
()
web/src/views/dashboard/versions/VersionView.tsx:79
↓ 1 callers
Function
fetchVersions
()
web/src/views/dashboard/versions/VersionView.tsx:132
↓ 1 callers
Function
formatDate
(dateString: string)
web/src/views/dashboard/authKeys/AuthKeysView.tsx:137
↓ 1 callers
Function
formatVersionNumber
(versionNumber: number)
web/src/views/dashboard/versions/VersionView.tsx:231
↓ 1 callers
Function
getAllFiles
This function helps us find all the files in a given directory and its subdirectories.
cli/bundle_cli.go:137
↓ 1 callers
Function
getEnvironmentName
(environmentId: string)
web/src/views/dashboard/bundles/BundleView.tsx:94
↓ 1 callers
Function
getHash
(path string)
cli/bundle_cli.go:110
↓ 1 callers
Function
getOsIcon
(os: string)
web/src/views/dashboard/apps/AppView.tsx:89
↓ 1 callers
Function
handleAppClick
(app: App)
web/src/views/dashboard/apps/AppView.tsx:78
↓ 1 callers
Function
handleCloseModal
()
web/src/views/dashboard/apps/AppView.tsx:43
↓ 1 callers
Function
handleLogout
()
web/src/components/auth/AuthInitializer.tsx:21
↓ 1 callers
Function
handleRollback
(bundleId: string)
web/src/views/dashboard/bundles/BundleView.tsx:122
↓ 1 callers
Function
initializeAuth
()
web/src/components/auth/AuthInitializer.tsx:29
↓ 1 callers
Function
loadData
()
web/src/views/dashboard/bundles/BundleView.tsx:49
↓ 1 callers
Function
login
( credentials: LoginRequest )
web/src/api/hooks/useAuth.ts:27
↓ 1 callers
Function
logout
()
web/src/api/services/authService.ts:63
↓ 1 callers
Function
newfileUploadRequest
This function creates a new HTTP request for file upload. It takes in the URI of the server, the authentication key, parameters, the name of the param
cli/bundle_cli.go:170
↓ 1 callers
Function
prepareBuildDirectory
(projectDir string)
cli/bundle_cli.go:78
↓ 1 callers
Function
processHermesBundle
(config BundleConfig)
cli/bundle_cli.go:252
↓ 1 callers
Function
toggleKeyVisibility
(key: string)
web/src/views/dashboard/authKeys/AuthKeysView.tsx:128
↓ 1 callers
Function
useAuth
()
web/src/api/hooks/useAuth.ts:18
↓ 1 callers
Function
useAuthKeys
()
web/src/api/hooks/useAuthKeys.ts:4
↓ 1 callers
Function
useSetup
()
web/src/api/hooks/useSetup.ts:4
↓ 1 callers
Function
validateConfig
(config BundleConfig)
cli/bundle_cli.go:71
↓ 1 callers
Function
validateCreateAppRequest
( data: unknown )
web/src/api/schemas/appSchemas.ts:31
↓ 1 callers
Function
validateForm
()
web/src/views/auth/LoginView.tsx:48
↓ 1 callers
Function
validateForm
()
web/src/views/setup/SetupView.tsx:48
↓ 1 callers
Function
validateToken
()
web/src/api/services/authService.ts:19
Method
AddActive
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service.go:328
Method
AddActive
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service_test.go:221
Method
AddActive
(ctx context.Context, id primitive.ObjectID)
src/service/client_service_test.go:84
Method
AddActive
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:26
Method
AddActive
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:130
Function
AddAppModal
({ isOpen, appData, onChangeAppData, onAdd, onClose, isLoading = false, error = nu
web/src/components/modal/AddAppModal.tsx:25
Method
AddFailed
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service.go:332
Method
AddFailed
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service_test.go:226
Method
AddFailed
(ctx context.Context, id primitive.ObjectID)
src/service/client_service_test.go:89
Method
AddFailed
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:27
Method
AddFailed
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:139
Method
AddInstalled
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service.go:336
Method
AddInstalled
(ctx context.Context, id primitive.ObjectID)
src/service/bundle_service_test.go:231
Method
AddInstalled
(ctx context.Context, id primitive.ObjectID)
src/service/client_service_test.go:94
Method
AddInstalled
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:28
Method
AddInstalled
(ctx context.Context, id primitive.ObjectID)
src/repository/bundle_repository.go:148
Function
App
()
web/src/App.tsx:44
Function
AppButton
({ loading = false, children, ...props }: Props)
web/src/components/primitives/Button.tsx:10
Function
AppInput
({ error, ...props }: Props)
web/src/components/primitives/Input.tsx:8
Function
AppSkeleton
({ count = 4 })
web/src/components/skeleton/AppSkeleton.tsx:8
Function
AppView
()
web/src/views/dashboard/apps/AppView.tsx:13
Function
AuthInitializer
({ children })
web/src/components/auth/AuthInitializer.tsx:15
Function
AuthKeysView
()
web/src/views/dashboard/authKeys/AuthKeysView.tsx:113
Function
BadRequestException
(msg string)
exception/exception.go:14
Function
BundleUsageChart
({ activeUsers, totalDownloads })
web/src/components/BundleUsageChart.tsx:9
Function
BundleView
()
web/src/views/dashboard/bundles/BundleView.tsx:16
Method
CheckUpdate
(ctx *fiber.Ctx)
src/controller/client_controller.go:27
Method
CheckUpdate
check for new update for a given environment and app version if there is a new update, return the update info if there is no update, return nil
src/service/client_service.go:39
Function
ConflictException
(resourceName string, fieldName string, fieldValue string)
exception/exception.go:18
Method
Count
(ctx context.Context)
src/service/user_service_test.go:49
Method
Count
(ctx context.Context)
src/service/user_service.go:100
Method
Count
(ctx context.Context)
src/repository/user_repository.go:17
Method
Count
(ctx context.Context)
src/repository/user_repository.go:67
Method
Create
(ctx context.Context, version *model.Version)
src/service/version_service_test.go:21
Method
Create
(user *types.CreateUserRequest)
src/service/user_service.go:32
← previous
next →
101–200 of 548, ranked by callers