Documentation
¶
Index ¶
- Variables
- func InitialiseAuth()
- type AuthHandler
- type FileStorageHandler
- func (fh FileStorageHandler) DeleteGist(c echo.Context) error
- func (fh FileStorageHandler) GetGist(c echo.Context) error
- func (fh FileStorageHandler) ListBuckets(c echo.Context) error
- func (fh FileStorageHandler) UpdateGist(c echo.Context) error
- func (fh FileStorageHandler) UploadGist(c echo.Context) error
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
type FileStorageHandler ¶
type FileStorageHandler struct {
// contains filtered or unexported fields
}
func NewFilesHandler ¶
func NewFilesHandler(db *sqlx.DB, minio *minio.Client) *FileStorageHandler
func (FileStorageHandler) DeleteGist ¶
func (fh FileStorageHandler) DeleteGist(c echo.Context) error
func (FileStorageHandler) GetGist ¶
func (fh FileStorageHandler) GetGist(c echo.Context) error
func (FileStorageHandler) ListBuckets ¶
func (fh FileStorageHandler) ListBuckets(c echo.Context) error
func (FileStorageHandler) UpdateGist ¶
func (fh FileStorageHandler) UpdateGist(c echo.Context) error
func (FileStorageHandler) UploadGist ¶
func (fh FileStorageHandler) UploadGist(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.