Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlwaysAllow ¶ added in v0.1.1
type AlwaysAllow struct{}
func (*AlwaysAllow) IsAllowed ¶ added in v0.1.1
func (c *AlwaysAllow) IsAllowed(dreq *authz.DecisionRequest) (bool, error)
type AlwaysDeny ¶ added in v0.1.1
type AlwaysDeny struct{}
func (*AlwaysDeny) IsAllowed ¶ added in v0.1.1
func (c *AlwaysDeny) IsAllowed(dreq *authz.DecisionRequest) (bool, error)
type TaskService ¶
type TaskService struct {
TaskFn func(id int) (*domain.Task, error)
TaskInvoked bool
TasksFn func() ([]*domain.Task, error)
TasksInvoked bool
CreateTaskFn func(t *domain.Task) error
CreateTaskInvoked bool
DeleteTaskFn func(id int) error
DeleteTaskInvoked bool
DeleteTasksFn func() error
DeleteTasksInvoked bool
}
func (*TaskService) CreateTask ¶
func (s *TaskService) CreateTask(t *domain.Task) error
func (*TaskService) DeleteTask ¶
func (s *TaskService) DeleteTask(id int) error
func (*TaskService) DeleteTasks ¶
func (s *TaskService) DeleteTasks() error
Click to show internal directories.
Click to hide internal directories.