package
0.0.0-20210123160133-f2fa0dbd033d
Repository: https://github.com/golang-tire/auth.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewMockRepository create a mock repository for rules.
NewRepository creates a new rule repository.
NewService creates a new rule service.
ValidateCreateRequest validates the CreateRuleRequest fields.
Validate validates the UpdateRuleRequest fields.

# Structs

MockRepository rules mock repository.

# Interfaces

No description provided by the author
Repository encapsulates the logic to access rules from the data source.
Service encapsulates use case logic for rules.