Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interactor ¶
type Interactor interface { GetTransactionsForDebitor(ctx context.Context, query entities.TransactionQuery) ([]entities.Transaction, error) CreateTransaction(ctx context.Context, tran *entities.Transaction) (*entities.Transaction, error) CreateTransactionForOutstandingDues(ctx context.Context, debitorID int64, method entities.PaymentMethod) (*entities.Transaction, error) UpdateTransaction(ctx context.Context, tran *entities.Transaction) error }
func NewServiceInteractor ¶
func NewServiceInteractor(r database.Repository, attClient attendeeservice.AttendeeService, ccClient cncrdadapter.CncrdAdapter, ) (Interactor, error)
type RBACValidator ¶
type RBACValidator struct {
// contains filtered or unexported fields
}
func NewRBACValidator ¶
func NewRBACValidator(ctx context.Context) (*RBACValidator, error)
func (*RBACValidator) IsAPITokenCall ¶
func (i *RBACValidator) IsAPITokenCall() bool
func (*RBACValidator) IsAdmin ¶
func (i *RBACValidator) IsAdmin() bool
func (*RBACValidator) IsRegisteredUser ¶
func (i *RBACValidator) IsRegisteredUser() bool
func (*RBACValidator) Subject ¶
func (i *RBACValidator) Subject() string
Click to show internal directories.
Click to hide internal directories.