Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandAdapter ¶
CommandAdapter is an adapter for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
func NewCommandAdapter ¶
func NewCommandAdapter(s *as.Service) CommandAdapter
NewCommandAdapter creates a new *CommandAdapter.
type QueryAdapter ¶
QueryAdapter is an adapter for Hexagonal Architecture Pattern. It is used to communicate with the application layer.
func NewQueryAdapter ¶
func NewQueryAdapter(s *as.Service) QueryAdapter
NewQueryAdapter creates a new *QueryAdapter.
func (QueryAdapter) GetLogsByFilter ¶
func (a QueryAdapter) GetLogsByFilter(ctx context.Context, logDataFilter me.LogDataFilter) ([]me.LogData, error)
GetLogsByFilter returns the logs that match the given filter.
Click to show internal directories.
Click to hide internal directories.