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 BuildAuthClient(host, username, password string) (*sdkauth.Client, error)
- func BuildRedisClient(cfg *config.Redis) (*goredis.Client, error)
- func BuildTemporalClient(address string) (client.Client, error)
- func BuildUserCommandHandler(dep *Dependency) *handler.UserCommand
- func BuildUserCommandInternalHandler(dep *Dependency) *handler.UserCommandInternal
- func BuildUserQueryHandler(dep *Dependency) *handler.UserQuery
- func BuildWalletClient(host, username, password string) (*sdkwallet.Client, error)
- type Dependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAuthClient ¶
BuildAuthClient builds auth service client.
func BuildRedisClient ¶
BuildRedisClient builds an instance of redis 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
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.