controllers

package
v0.0.0-...-5ca8ec0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout = 86400 * time.Second
)

Variables

This section is empty.

Functions

func AddCompany

func AddCompany(c *gin.Context)

func AddCompanyBranch

func AddCompanyBranch(c *gin.Context)

func CommentBLog

func CommentBLog(c *gin.Context)

func CommentBootcamp

func CommentBootcamp(c *gin.Context)

func CreateApptype

func CreateApptype(c *gin.Context)

func CreateApptypeTable

func CreateApptypeTable(db *pg.DB) error

func CreateBlog

func CreateBlog(c *gin.Context)

func CreateBlogTable

func CreateBlogTable(db *pg.DB) error

func CreateBootcamp

func CreateBootcamp(c *gin.Context)

func CreateBootcampTable

func CreateBootcampTable(db *pg.DB) error

func CreateCompanyBranchTable

func CreateCompanyBranchTable(db *pg.DB) error

func CreateCompanyTable

func CreateCompanyTable(db *pg.DB) error

func CreateDatabase

func CreateDatabase(c *gin.Context)

func CreateFramework

func CreateFramework(c *gin.Context)

func CreateFrameworkTable

func CreateFrameworkTable(db *pg.DB) error

func CreateLanguage

func CreateLanguage(c *gin.Context)

func CreateLanguageTable

func CreateLanguageTable(db *pg.DB) error

func CreateLibrary

func CreateLibrary(c *gin.Context)

func CreateLibraryTable

func CreateLibraryTable(db *pg.DB) error

func CreateOther

func CreateOther(c *gin.Context)

func CreateOtherTable

func CreateOtherTable(db *pg.DB) error

func CreatePlatform

func CreatePlatform(c *gin.Context)

func CreatePlatformTable

func CreatePlatformTable(db *pg.DB) error

func CreateProfile

func CreateProfile(c *gin.Context)

func CreateProfileTable

func CreateProfileTable(db *pg.DB) error

func CreateTag

func CreateTag(c *gin.Context)

func CreateTagTable

func CreateTagTable(db *pg.DB) error

func CreateUserTable

func CreateUserTable(db *pg.DB) error

func DeleteApptype

func DeleteApptype(c *gin.Context)

func DeleteBlog

func DeleteBlog(c *gin.Context)

func DeleteBootcamp

func DeleteBootcamp(c *gin.Context)

func DeleteCompany

func DeleteCompany(c *gin.Context)

func DeleteCompanyBranch

func DeleteCompanyBranch(c *gin.Context)

func DeleteDatabase

func DeleteDatabase(c *gin.Context)

func DeleteFramework

func DeleteFramework(c *gin.Context)

func DeleteLanguage

func DeleteLanguage(c *gin.Context)

func DeleteLibrary

func DeleteLibrary(c *gin.Context)

func DeleteOther

func DeleteOther(c *gin.Context)

func DeletePlatform

func DeletePlatform(c *gin.Context)

func DeleteTag

func DeleteTag(c *gin.Context)

func EnrollBootcamp

func EnrollBootcamp(c *gin.Context)

func GetApptype

func GetApptype(c *gin.Context)

func GetApptypeList

func GetApptypeList(c *gin.Context)

func GetBlog

func GetBlog(c *gin.Context)

func GetBlogList

func GetBlogList(c *gin.Context)

func GetBootcamp

func GetBootcamp(c *gin.Context)

func GetBootcampList

func GetBootcampList(c *gin.Context)

func GetBranch

func GetBranch(c *gin.Context)

func GetByID

func GetByID(c *gin.Context)

func GetCachedProfile

func GetCachedProfile(c *gin.Context)

func GetCachedUser

func GetCachedUser(c *gin.Context)

func GetCompany

func GetCompany(c *gin.Context)

func GetCompanyBranches

func GetCompanyBranches(c *gin.Context)

func GetCompanyList

func GetCompanyList(c *gin.Context)

func GetDatabase

func GetDatabase(c *gin.Context)

func GetDatabaseList

func GetDatabaseList(c *gin.Context)

func GetFramework

func GetFramework(c *gin.Context)

func GetFrameworkList

func GetFrameworkList(c *gin.Context)

func GetKeys

func GetKeys(c *gin.Context)

func GetLanguage

func GetLanguage(c *gin.Context)

func GetLanguageList

func GetLanguageList(c *gin.Context)

func GetLibrary

func GetLibrary(c *gin.Context)

func GetLibraryList

func GetLibraryList(c *gin.Context)

func GetOther

func GetOther(c *gin.Context)

func GetOtherList

func GetOtherList(c *gin.Context)

func GetPlatform

func GetPlatform(c *gin.Context)

func GetPlatformList

func GetPlatformList(c *gin.Context)

func GetProfileByUser

func GetProfileByUser(c *gin.Context)

func GetProfileList

func GetProfileList(c *gin.Context)

func GetTag

func GetTag(c *gin.Context)

func GetTagList

func GetTagList(c *gin.Context)

func GetUser

func GetUser(c *gin.Context)

func GetUserList

func GetUserList(c *gin.Context)

func InitiateDB

func InitiateDB(db *pg.DB)

func InitiateRedis

func InitiateRedis(client *redis.Client)

func LikeBlog

func LikeBlog(c *gin.Context)

func LikeBootcamp

func LikeBootcamp(c *gin.Context)

func RefreshToken

func RefreshToken(c *gin.Context)

func RemoveApptypeTable

func RemoveApptypeTable(db *pg.DB) error

func RemoveBlogTable

func RemoveBlogTable(db *pg.DB) error

func RemoveBootcampTable

func RemoveBootcampTable(db *pg.DB) error

func RemoveCompanyBranchTable

func RemoveCompanyBranchTable(db *pg.DB) error

func RemoveCompanyTable

func RemoveCompanyTable(db *pg.DB) error

func RemoveEnrollmentByIndex

func RemoveEnrollmentByIndex(s []models.Enroller, index int) []models.Enroller

func RemoveFrameworkTable

func RemoveFrameworkTable(db *pg.DB) error

func RemoveLanguageTable

func RemoveLanguageTable(db *pg.DB) error

func RemoveLibraryTable

func RemoveLibraryTable(db *pg.DB) error

func RemoveLikeByIndex

func RemoveLikeByIndex(s []models.Like, index int) []models.Like

func RemoveOtherTable

func RemoveOtherTable(db *pg.DB) error

func RemovePlatformTable

func RemovePlatformTable(db *pg.DB) error

func RemoveProfileTable

func RemoveProfileTable(db *pg.DB) error

func RemoveTagTable

func RemoveTagTable(db *pg.DB) error

func RemoveUserTable

func RemoveUserTable(db *pg.DB) error

func ResetApptypeCache

func ResetApptypeCache(c *gin.Context)

func ResetBlogCache

func ResetBlogCache(c *gin.Context)

func ResetBootcampCache

func ResetBootcampCache(c *gin.Context)

func ResetBranchCache

func ResetBranchCache(c *gin.Context)

func ResetCompanyCache

func ResetCompanyCache(c *gin.Context)

func ResetDatabaseCache

func ResetDatabaseCache(c *gin.Context)

func ResetFrameworkCache

func ResetFrameworkCache(c *gin.Context)

func ResetLanguageCache

func ResetLanguageCache(c *gin.Context)

func ResetLibraryCache

func ResetLibraryCache(c *gin.Context)

func ResetOtherCache

func ResetOtherCache(c *gin.Context)

func ResetPlatformCache

func ResetPlatformCache(c *gin.Context)

func ResetProfileCache

func ResetProfileCache(c *gin.Context)

func ResetTagCache

func ResetTagCache(c *gin.Context)

func ResetUserCache

func ResetUserCache(c *gin.Context)

func SetBlogPublic

func SetBlogPublic(c *gin.Context)

func SetBootcampAvailability

func SetBootcampAvailability(c *gin.Context)

func SetKeys

func SetKeys(c *gin.Context)

func TokenVerifyMiddleWare

func TokenVerifyMiddleWare() gin.HandlerFunc

func UpdateApptype

func UpdateApptype(c *gin.Context)

func UpdateBlog

func UpdateBlog(c *gin.Context)

func UpdateBootcamp

func UpdateBootcamp(c *gin.Context)

func UpdateCompany

func UpdateCompany(c *gin.Context)

func UpdateCompanyBranch

func UpdateCompanyBranch(c *gin.Context)

func UpdateDatabase

func UpdateDatabase(c *gin.Context)

func UpdateFramework

func UpdateFramework(c *gin.Context)

func UpdateLanguage

func UpdateLanguage(c *gin.Context)

func UpdateLibrary

func UpdateLibrary(c *gin.Context)

func UpdateOther

func UpdateOther(c *gin.Context)

func UpdatePlatform

func UpdatePlatform(c *gin.Context)

func UpdateProfile

func UpdateProfile(c *gin.Context)

func UpdateTag

func UpdateTag(c *gin.Context)

func UserSignin

func UserSignin(c *gin.Context)

func UserSignup

func UserSignup(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL