Documentation ¶
Overview ¶
Package builder provides functionality to build the representative flows. Imagine this package as an implementation of builder design pattern. Read more: https://sourcemaking.com/design_patterns/builder.
Index ¶
- func BuildBunDB(cfg pgsdk.Config) (*pgsdk.BunDB, error)
- func BuildKeycloakClient(cfg config.Keycloak) kcsdk.Keycloak
- func BuildTemporalClient(address string) (client.Client, error)
- func BuildUserCommandHandler(dep *Dependency) *handler.UserCommand
- func BuildUserCommandInternalHandler(dep *Dependency) (*handler.UserCommandInternal, error)
- func BuildUserQueryHandler(dep *Dependency) *handler.UserQuery
- type Dependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKeycloakClient ¶
BuildKeycloakClient builds a keycloak client.
func BuildTemporalClient ¶
BuildTemporalClient builds temporal client.
func BuildUserCommandHandler ¶
func BuildUserCommandHandler(dep *Dependency) *handler.UserCommand
BuildUserCommandHandler builds user command handler including all of its dependencies.
func BuildUserCommandInternalHandler ¶
func BuildUserCommandInternalHandler(dep *Dependency) (*handler.UserCommandInternal, error)
BuildUserCommandInternalHandler builds user command handler including all of its dependencies.
func BuildUserQueryHandler ¶
func BuildUserQueryHandler(dep *Dependency) *handler.UserQuery
BuildUserQueryHandler builds user query handler including all of its dependencies.
Types ¶
Click to show internal directories.
Click to hide internal directories.