15 lines
256 B
Go
15 lines
256 B
Go
package router
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
type HealthHandler interface {
|
|
HealthCheck(c *gin.Context)
|
|
}
|
|
|
|
type UserHandler interface {
|
|
ListUsers(c *gin.Context)
|
|
CreateUser(c *gin.Context)
|
|
UpdateUser(c *gin.Context)
|
|
DeleteUser(c *gin.Context)
|
|
}
|