Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DlrQueryPort ¶
type DlrQueryPort interface { // GetDlrsByFilter returns the dlrs that match the given filter. GetDlrsByFilter(ctx context.Context, dlrFilter *pb.DlrFilter) (*pb.Dlrs, error) }
QueryPort is a port for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
type ErrorQueryPort ¶
type ErrorQueryPort interface { // GetErrors returns the built-in errors. GetErrors(ctx context.Context) (*pb.Errors, error) }
QueryPort is a port for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
type QueryPort ¶
type QueryPort interface { ErrorQueryPort UserQueryPort DlrQueryPort }
QueryPort is a port for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
type UserQueryPort ¶
type UserQueryPort interface { // GetUsersByFilter returns the users that match the given filter. GetUsersByFilter(ctx context.Context, userFilter *pb.UserFilter) (*pb.Users, error) }
QueryPort is a port for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
Click to show internal directories.
Click to hide internal directories.