Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbPort ¶
type DbPort interface { // GetLogsByFilter returns the logs that match the given filter. GetLogsByFilter(ctx context.Context, logDataFilter me.LogDataFilter) ([]me.LogData, error) // Log inserts a new log into the database. Log(ctx context.Context, logData me.LogData) }
DbPort is a port for Hexagonal Architecture Pattern. It is used to communicate with the database.
Click to show internal directories.
Click to hide internal directories.