Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MinioBucketName string = utils.GetEnv("MINIO_BUCKET_NAME", "codeflick")
Functions ¶
func InitialiseAuth ¶
func InitialiseAuth()
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(db *sqlx.DB) *AuthHandler
func (AuthHandler) GetSessionDetails ¶
func (ah AuthHandler) GetSessionDetails(c echo.Context) error
func (AuthHandler) GoogleOauthCallback ¶
func (ah AuthHandler) GoogleOauthCallback(c echo.Context) error
func (AuthHandler) GoogleOauthLogin ¶
func (ah AuthHandler) GoogleOauthLogin(c echo.Context) error
func (AuthHandler) UpsertUserDetails ¶
func (ah AuthHandler) UpsertUserDetails(c echo.Context, sess *sessions.Session) error
type FileStorageHandler ¶
type FileStorageHandler struct {
// contains filtered or unexported fields
}
func NewFilesHandler ¶
func NewFilesHandler(db *sqlx.DB, minio *minio.Client) *FileStorageHandler
func (FileStorageHandler) ListBuckets ¶
func (fh FileStorageHandler) ListBuckets(c echo.Context) error
func (FileStorageHandler) UploadFile ¶
func (fh FileStorageHandler) UploadFile(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.