feat(server, handler): add server and handler stubs
This commit is contained in:
parent
c258511752
commit
6ae65fe09b
7 changed files with 178 additions and 0 deletions
12
src/handlers/file_mgmt.go
Normal file
12
src/handlers/file_mgmt.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package handlers
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Upload(ctx *gin.Context) {}
|
||||
func List(ctx *gin.Context) {}
|
||||
func Delete(ctx *gin.Context) {}
|
||||
func Metadata(ctx *gin.Context) {}
|
||||
func Copy(ctx *gin.Context) {}
|
||||
func Move(ctx *gin.Context) {}
|
9
src/handlers/simple_user.go
Normal file
9
src/handlers/simple_user.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package handlers
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Login(ctx *gin.Context) {}
|
||||
|
||||
func Logout(ctx *gin.Context) {}
|
Loading…
Add table
Add a link
Reference in a new issue