application

package
v0.0.0-...-436674b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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 LoggingServicePort

type LoggingServicePort interface {
	// Log sends the given log to the logging micro service.
	Log(ctx context.Context, logData *pb.LogData) (*pb.LoggingResult, error)
}

LoggingServicePort is a port for Hexagonal Architecture Pattern. It is used to communicate with the other servies.

type ServicePort

type ServicePort interface {
	LoggingServicePort
	UserServicePort
}

ServicePort is a port for Hexagonal Architecture Pattern. It is used to communicate with the other services.

type UserServicePort

type UserServicePort interface {
	// CheckUserPassword checks the given user's password in the user service.
	CheckUserPassword(ctx context.Context, loginRequest *mo.LoginRequest) (*me.User, error)
}

UserServicePort is a port for Hexagonal Architecture Pattern. It is used to communicate with the user service.

Jump to

Keyboard shortcuts

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