application

package
v0.0.0-...-66c1001 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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
}

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