application

package
v0.0.0-...-58cf2e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL