Files
crawlab/core/interfaces/model_permission.go
2024-06-14 15:42:50 +08:00

15 lines
296 B
Go

package interfaces
type Permission interface {
ModelWithKey
ModelWithNameDescription
GetType() (t string)
SetType(t string)
GetTarget() (target []string)
SetTarget(target []string)
GetAllow() (allow []string)
SetAllow(allow []string)
GetDeny() (deny []string)
SetDeny(deny []string)
}