Documentation ¶
Index ¶
- func NewCampaignServer(createCampaignHandler *command.CreateCampaignHandler, ...) core.CampaignServiceServer
- func NewCampaignServiceClient(client *grpcx.Client) (core.CampaignServiceClient, error)
- func NewHealthServer() grpc_health_v1.HealthServer
- func NewInitServersFn(campaignServer core.CampaignServiceServer) grpcx.InitServers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCampaignServer ¶
func NewCampaignServer( createCampaignHandler *command.CreateCampaignHandler, addTaskHandler *command.AddTaskHandler, startCampaignHandler *command.StartCampaignHandler, runBacktestHandler *command.RunBacktestHandler, campaignGetter query.CampaignGetter, campaignFinder repo.CampaignFinder, ) core.CampaignServiceServer
NewCampaignServer is used to create a new campaign server.
func NewCampaignServiceClient ¶
func NewCampaignServiceClient(client *grpcx.Client) (core.CampaignServiceClient, error)
NewCampaignServiceClient is used to create a new campaign service client.
func NewHealthServer ¶
func NewHealthServer() grpc_health_v1.HealthServer
NewHealthServer is used to create a new health server.
func NewInitServersFn ¶
func NewInitServersFn(campaignServer core.CampaignServiceServer) grpcx.InitServers
NewInitServersFn is used to create a new init servers function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.