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.
Click to show internal directories.
Click to hide internal directories.