Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Creatly/creatly-backend
/ functions
Functions
1,083 in github.com/Creatly/creatly-backend
⨍
Functions
1,083
◇
Types & classes
319
↓ 1 callers
Method
AddCNAMERecord
(ctx context.Context, subdomain string)
pkg/dns/dns.go:10
↓ 1 callers
Method
AddEmailToList
(AddEmailInput)
pkg/email/provider.go:10
↓ 1 callers
Method
AddLesson
(ctx context.Context, schoolId, id primitive.ObjectID, lesson domain.Lesson)
internal/repository/repository.go:103
↓ 1 callers
Method
AddStudentToList
(ctx context.Context, email, name string, schoolID primitive.ObjectID)
internal/service/service.go:154
↓ 1 callers
Method
AttachOffer
(ctx context.Context, studentId, offerId primitive.ObjectID, moduleIds []primitive.ObjectID)
internal/repository/repository.go:44
↓ 1 callers
Method
AttachSchool
(ctx context.Context, userID, schoolID primitive.ObjectID)
internal/repository/repository.go:23
↓ 1 callers
Method
AttachSurvey
(ctx context.Context, schoolId, id primitive.ObjectID, survey domain.Survey)
internal/repository/repository.go:109
↓ 1 callers
Method
ConnectFondy
(ctx context.Context, input ConnectFondyInput)
internal/service/service.go:72
↓ 1 callers
Method
ConnectSendPulse
(ctx context.Context, input ConnectSendPulseInput)
internal/service/service.go:73
↓ 1 callers
Method
CreateSchool
(ctx context.Context, userID primitive.ObjectID, schoolName string)
internal/service/service.go:51
↓ 1 callers
Method
CreateStudent
(ctx context.Context, inp domain.CreateStudentInput)
internal/service/service.go:115
↓ 1 callers
Method
Debug
(msg string, params map[string]interface{})
pkg/logger/logger.go:4
↓ 1 callers
Method
DeleteLesson
(ctx context.Context, schoolId, id primitive.ObjectID)
internal/repository/repository.go:106
↓ 1 callers
Method
DeleteStudent
(ctx context.Context, schoolId, studentId primitive.ObjectID)
internal/service/service.go:117
↓ 1 callers
Method
DetachOffer
(ctx context.Context, studentId, offerId primitive.ObjectID, moduleIds []primitive.ObjectID)
internal/repository/repository.go:45
↓ 1 callers
Method
DetachPackageFromAll
(ctx context.Context, schoolId, packageId primitive.ObjectID)
internal/repository/repository.go:107
↓ 1 callers
Method
DetachSurvey
(ctx context.Context, schoolId, id primitive.ObjectID)
internal/repository/repository.go:110
↓ 1 callers
Method
GetAll
(ctx context.Context, schoolId primitive.ObjectID)
internal/service/service.go:230
↓ 1 callers
Method
GetAllByModule
(ctx context.Context, moduleId primitive.ObjectID, pagination *domain.PaginationQuery)
internal/repository/repository.go:183
↓ 1 callers
Method
GetById
(ctx context.Context, schoolId, id primitive.ObjectID)
internal/service/students.go:239
↓ 1 callers
Method
GetByLessons
(ctx context.Context, lessonIds []primitive.ObjectID)
internal/repository/repository.go:114
↓ 1 callers
Method
GetByStudent
(ctx context.Context, moduleId, studentId primitive.ObjectID)
internal/repository/repository.go:184
↓ 1 callers
Method
GetDomain
()
internal/domain/school.go:36
↓ 1 callers
Method
GetForUploading
(ctx context.Context)
internal/repository/repository.go:176
↓ 1 callers
Method
GetLimit
()
internal/domain/query.go:46
↓ 1 callers
Method
GetPublishedById
(ctx context.Context, moduleID primitive.ObjectID)
internal/repository/repository.go:97
↓ 1 callers
Method
GetResultsByModule
(ctx context.Context, moduleId primitive.ObjectID, pagination *domain.PaginationQuery)
internal/service/service.go:339
↓ 1 callers
Method
GetSkip
()
internal/domain/query.go:38
↓ 1 callers
Method
GetStudentResults
(ctx context.Context, moduleId, studentId primitive.ObjectID)
internal/service/service.go:341
↓ 1 callers
Method
GiveAccessToModule
(ctx context.Context, studentId, moduleId primitive.ObjectID)
internal/repository/repository.go:43
↓ 1 callers
Method
Info
(msg string, params map[string]interface{})
pkg/logger/logger.go:5
↓ 1 callers
Method
InitStorageUploaderWorkers
(ctx context.Context)
internal/service/service.go:134
↓ 1 callers
Function
Limit
Limit creates a new rate limiter middleware handler.
pkg/limiter/limiter.go:77
↓ 1 callers
Function
NewAdminsRepo
(db *mongo.Database)
internal/repository/admins_mongo.go:17
↓ 1 callers
Function
NewClient
(id, secret string, cache cache.Cache)
pkg/email/sendpulse/client.go:58
↓ 1 callers
Function
NewCoursesRepo
(db *mongo.Database)
internal/repository/courses_mongo.go:17
↓ 1 callers
Function
NewCoursesService
(repo repository.Courses, modulesService Modules)
internal/service/courses.go:17
↓ 1 callers
Function
NewEmailsService
(sender emailProvider.Sender, config config.EmailConfig, schools SchoolsService, cache cache.Cache)
internal/service/emails.go:39
↓ 1 callers
Function
NewFileStorage
(client *minio.Client, bucket, endpoint string)
pkg/storage/minio.go:16
↓ 1 callers
Function
NewFilesRepo
(db *mongo.Database)
internal/repository/files.go:16
↓ 1 callers
Function
NewFilesService
(repo repository.Files, storage storage.Provider, env string)
internal/service/files.go:38
↓ 1 callers
Function
NewGOTPGenerator
()
pkg/otp/otp.go:11
↓ 1 callers
Function
NewLessonContentRepo
(db *mongo.Database)
internal/repository/lessons_mongo.go:17
↓ 1 callers
Function
NewLessonsService
(repo repository.Modules, contentRepo repository.LessonContent)
internal/service/lessons.go:18
↓ 1 callers
Function
NewModulesRepo
(db *mongo.Database)
internal/repository/modules_mongo.go:17
↓ 1 callers
Function
NewModulesService
(repo repository.Modules, contentRepo repository.LessonContent)
internal/service/modules.go:17
↓ 1 callers
Function
NewOffersRepo
(db *mongo.Database)
internal/repository/offers_mongo.go:17
↓ 1 callers
Function
NewOffersService
(repo repository.Offers, modulesService Modules, packagesService Packages)
internal/service/offers.go:17
↓ 1 callers
Function
NewOrdersRepo
(db *mongo.Database)
internal/repository/orders_mongo.go:16
↓ 1 callers
Function
NewOrdersService
(repo repository.Orders, offersService Offers, promoCodesService PromoCodes, studentsService Students)
internal/service/orders.go:20
↓ 1 callers
Function
NewPackagesRepo
(db *mongo.Database)
internal/repository/packages_mongo.go:16
↓ 1 callers
Function
NewPackagesService
(repo repository.Packages, modulesRepo repository.Modules)
internal/service/packages.go:16
↓ 1 callers
Function
NewPaymentsService
(ordersService Orders, offersService Offers, studentsService Students, emailService Emails, schoolsService Sc
internal/service/payments.go:30
↓ 1 callers
Function
NewPromoCodeService
(repo repository.PromoCodes)
internal/service/promocodes.go:16
↓ 1 callers
Function
NewPromocodeRepo
(db *mongo.Database)
internal/repository/promocodes_mongo.go:17
↓ 1 callers
Function
NewSMTPSender
(from, pass, host string, port int)
pkg/email/smtp/smtp.go:16
↓ 1 callers
Function
NewSchoolsRepo
(db *mongo.Database)
internal/repository/schools_mongo.go:17
↓ 1 callers
Function
NewSchoolsService
(repo repository.Schools, cache cache.Cache, ttl int64)
internal/service/schools.go:22
↓ 1 callers
Function
NewServer
(cfg *config.Config, handler http.Handler)
internal/server/server.go:14
↓ 1 callers
Function
NewService
(client *cloudflare.API, email, cnameTarget string)
pkg/dns/dns.go:19
↓ 1 callers
Function
NewStudentLessonsRepo
(db *mongo.Database)
internal/repository/student_lessons_mongo.go:16
↓ 1 callers
Function
NewStudentLessonsService
(repo repository.StudentLessons)
internal/service/student_lessons.go:14
↓ 1 callers
Function
NewStudentsRepo
(db *mongo.Database)
internal/repository/students_mongo.go:19
↓ 1 callers
Function
NewStudentsService
(repo repository.Students, modulesService Modules, offersService Offers, lessonsService Lessons, hasher hash.P
internal/service/students.go:34
↓ 1 callers
Function
NewSurveyResultsRepo
(db *mongo.Database)
internal/repository/survey_results_mongo.go:16
↓ 1 callers
Function
NewSurveysService
(modulesRepo repository.Modules, surveyResultsRepo repository.SurveyResults, studentsRepo repository.Students)
internal/service/surveys.go:18
↓ 1 callers
Function
NewUsersRepo
(db *mongo.Database)
internal/repository/users_mongo.go:19
↓ 1 callers
Function
NewUsersService
(repo repository.Users, hasher hash.PasswordHasher, tokenManager auth.TokenManager, emailService Emails, scho
internal/service/users.go:36
↓ 1 callers
Method
PaymentApproved
()
pkg/payment/fondy/fondy.go:108
↓ 1 callers
Method
ProcessTransaction
(ctx context.Context, callback interface{})
internal/service/service.go:319
↓ 1 callers
Method
RemoveAccessToOffer
(ctx context.Context, studentId primitive.ObjectID, offer domain.Offer)
internal/service/service.go:100
↓ 1 callers
Function
Run
@title Creatly API @version 1.0 @description REST API for Creatly App @host localhost:8000 @BasePath /api/v1/ @securityDefinitions.apikey AdminAuth @i
internal/app/app.go:54
↓ 1 callers
Method
Save
(ctx context.Context, file domain.File)
internal/service/files.go:42
↓ 1 callers
Method
SaveStudentAnswers
(ctx context.Context, inp SaveStudentAnswersInput)
internal/service/service.go:338
↓ 1 callers
Method
SendStudentPurchaseSuccessfulEmail
(StudentPurchaseSuccessfulEmailInput)
internal/service/service.go:153
↓ 1 callers
Method
SendStudentVerificationEmail
(VerificationEmailInput)
internal/service/service.go:151
↓ 1 callers
Method
SendUserVerificationEmail
(VerificationEmailInput)
internal/service/service.go:152
↓ 1 callers
Method
SetFondyCredentials
(ctx context.Context, id primitive.ObjectID, fondy domain.Fondy)
internal/repository/repository.go:31
↓ 1 callers
Method
Stop
(ctx context.Context)
internal/server/server.go:30
↓ 1 callers
Method
Success
()
pkg/payment/fondy/fondy.go:104
↓ 1 callers
Method
UpdateLesson
(ctx context.Context, inp UpdateLessonInput)
internal/repository/repository.go:105
↓ 1 callers
Method
UpdateStatusAndSetURL
(ctx context.Context, id primitive.ObjectID, url string)
internal/repository/repository.go:177
↓ 1 callers
Method
UpdateStudent
(ctx context.Context, inp domain.UpdateStudentInput)
internal/service/service.go:116
↓ 1 callers
Method
Upload
(ctx context.Context, input UploadInput)
pkg/storage/storage.go:16
↓ 1 callers
Method
Validate
()
pkg/email/sender.go:39
↓ 1 callers
Method
ValidateCallback
(input interface{})
pkg/payment/provider.go:14
↓ 1 callers
Method
ValidatePayment
()
internal/service/service.go:211
↓ 1 callers
Method
Warn
(msg string, params map[string]interface{})
pkg/logger/logger.go:6
↓ 1 callers
Method
authenticate
()
pkg/email/sendpulse/client.go:131
↓ 1 callers
Method
calculateOrderPrice
(price uint, promocode domain.PromoCode)
internal/service/orders.go:116
↓ 1 callers
Method
cleanupVisitors
cleanupVisitors removes old entries from the visitors map.
pkg/limiter/limiter.go:62
↓ 1 callers
Function
createTransaction
(callbackData fondy.Callback)
internal/service/payments.go:156
↓ 1 callers
Method
createVerificationLink
(domain, code string)
internal/service/emails.go:78
↓ 1 callers
Method
generateFileURL
DigitalOcean Spaces URL format.
pkg/storage/minio.go:39
↓ 1 callers
Method
generateFilename
(file domain.File)
internal/service/files.go:133
↓ 1 callers
Method
generateFondyPaymentLink
(ctx context.Context, schoolId primitive.ObjectID, input payment.GeneratePaymentLinkInput)
internal/service/payments.go:136
↓ 1 callers
Method
generateSchoolDomain
(subdomain string)
internal/service/users.go:188
↓ 1 callers
Function
generateSubdomain
input: Example School Name -> output: example-school-name
internal/service/users.go:193
↓ 1 callers
Method
getByPackage
(ctx context.Context, schoolId, packageId primitive.ObjectID)
internal/service/offers.go:25
↓ 1 callers
Function
getDomainFromContext
(c *gin.Context)
internal/delivery/http/v1/middleware.go:139
← previous
next →
101–200 of 1,083, ranked by callers