Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API responsible to deliver communication of application and client via http transport.
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger act application logging using slog, standard Go library for structured log. This dependency could also be used by the package by injecting it at initialization.
type PubSub ¶
type PubSub struct {
// contains filtered or unexported fields
}
PubSub responsible for communication intermediary between packages. The core is using watermill GoChannel pub/sub implementation and could be replaced by any other type as long as it's still using watermill package, otherwise the router wouldn't work as expected.
Click to show internal directories.
Click to hide internal directories.