Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryAdapter ¶
QueryAdapter is an adapter for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
func NewQueryAdapter ¶
func NewQueryAdapter(s *as.Service) QueryAdapter
NewQueryAdapter creates a new *QueryAdapter.
func (QueryAdapter) GetDlrsByFilter ¶
func (a QueryAdapter) GetDlrsByFilter(ctx context.Context, dlrFilter *pb.DlrFilter) (*pb.Dlrs, error)
GetDlrsByFilter returns the dlrs that match the given filter.
func (QueryAdapter) GetUsersByFilter ¶
func (a QueryAdapter) GetUsersByFilter(ctx context.Context, userFilter *pb.UserFilter) (*pb.Users, error)
GetUsersByFilter returns the users that match the given filter.
Click to show internal directories.
Click to hide internal directories.