iris/_examples/auth/jwt/tutorial/domain/model/role.go

10 lines
136 B
Go
Raw Normal View History

2020-11-04 20:12:13 +01:00
package model
// Role represents a role.
type Role string
const (
// Admin represents the Admin access role.
Admin Role = "admin"
)