21 lines
392 B
Go
21 lines
392 B
Go
|
|
package router
|
||
|
|
|
||
|
|
import "github.com/gin-gonic/gin"
|
||
|
|
|
||
|
|
type HealthHandler interface {
|
||
|
|
HealthCheck(c *gin.Context)
|
||
|
|
}
|
||
|
|
|
||
|
|
type UserHandler interface {
|
||
|
|
ListUsers(c *gin.Context)
|
||
|
|
GetProfile(c *gin.Context)
|
||
|
|
UpdateProfile(c *gin.Context)
|
||
|
|
ChangePassword(c *gin.Context)
|
||
|
|
ListTitles(c *gin.Context)
|
||
|
|
}
|
||
|
|
|
||
|
|
type FileHandler interface {
|
||
|
|
UploadProfileAvatar(c *gin.Context)
|
||
|
|
UploadDocument(c *gin.Context)
|
||
|
|
}
|