controller

package
v0.0.0-...-7b3db8a Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(c *gin.Context)

func AuthorizeToken

func AuthorizeToken(c *gin.Context)

func ClearSession

func ClearSession(c *gin.Context)

func CreateSessionHandler

func CreateSessionHandler() (gin.HandlerFunc, error)

func CreateTransparencyFileSystemHandler

func CreateTransparencyFileSystemHandler(urlPrefix, transparentRule string, fs static.ServeFileSystem) gin.HandlerFunc

func Deauthorize

func Deauthorize(c *gin.Context)

func FileSystemHandler

func FileSystemHandler(contextPath, prefixFilePath string, directoryFileHandler func(*gin.Context, http.File, string, string)) gin.HandlerFunc

func FolderPermissionHandler

func FolderPermissionHandler(contextPath, prefix string) gin.HandlerFunc

func FromSessionToStoreHandler

func FromSessionToStoreHandler(fromSessionKey, toStoreKey string) gin.HandlerFunc

func FromStoreToSessionHandler

func FromStoreToSessionHandler(fromStoreKey, toSessionKey string) gin.HandlerFunc

func GetDirectoryFileHandler

func GetDirectoryFileHandler(c *gin.Context, node http.File, prefixFilePath string, filePath string)

func IsFolderPublicHandler

func IsFolderPublicHandler(contextPath, prefix string) gin.HandlerFunc

func JsonResponceHandler

func JsonResponceHandler(storeKey string) gin.HandlerFunc

func PostDirectoryFileHandler

func PostDirectoryFileHandler(c *gin.Context, node http.File, prefixFilePath string, filePath string)

func ProcessAccessToken

func ProcessAccessToken(c *gin.Context)

func ProcessRefreshToken

func ProcessRefreshToken(c *gin.Context)

func Refresh

func Refresh(c *gin.Context)

func RequestApiToken

func RequestApiToken(c *gin.Context)

func ShowAuthorizeInterfaceHander

func ShowAuthorizeInterfaceHander(url string) gin.HandlerFunc

func StatusCheck

func StatusCheck(c *gin.Context)

func VerifyAuth

func VerifyAuth(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