Documentation ¶
Index ¶
Constants ¶
View Source
const (
SERVICE_NAME = "USER_PERMISSION"
)
Variables ¶
This section is empty.
Functions ¶
func AddPermission ¶
func AddPermission(permission models.UserPermission) error
func DeletePermission ¶
func GetUserPermissions ¶
func GetUserPermissions(user_id string) ([]models.UserPermission, error)
func UpdatePermission ¶
func UpdatePermission(userId string, permissions []models.UserPermission) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.