grpchandler

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ErrCannotServeRequest = "cannot serve request, please retry"

Variables

This section is empty.

Functions

func NewFeederHandler added in v1.0.0

func NewFeederHandler(
	feederSvc application.FeederService,
) daemonv2.FeederServiceServer

func NewHealthHandler added in v1.0.0

func NewHealthHandler() grpchealth.HealthServer

func NewOperatorHandler

func NewOperatorHandler(
	operatorSvc application.OperatorService,
) daemonv2.OperatorServiceServer

NewOperatorHandler is a constructor function returning an protobuf OperatorServer.

func NewTradeHandler added in v0.8.8

func NewTradeHandler(
	tradeSvc application.TradeService,
) tdexv2.TradeServiceServer

func NewTransportHandler added in v0.8.3

func NewTransportHandler() tdexv2.TransportServiceServer

func NewWalletHandler

func NewWalletHandler(
	unlockerSvc application.UnlockerService, buildData ports.BuildData, macPath string,
	onInit, onUnlock, onLock func(pwd string),
	onChangePwd func(oldPwd, newPwd string),
) daemonv2.WalletServiceServer

func NewWebhookHandler added in v1.0.0

func NewWebhookHandler(
	webhookSvc application.OperatorService,
) daemonv2.WebhookServiceServer

NewWebhookHandler is a constructor function returning an protobuf WebhookServer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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