grpc

package
v0.0.0-...-ed0dbbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL