Documentation ¶
Index ¶
- Constants
- func NewOperatorHandler(operatorSvc application.OperatorService) daemonv2.OperatorServiceServer
- func NewTradeHandler(tradeSvc application.TradeService) tdexv2.TradeServiceServer
- func NewTransportHandler() tdexv2.TransportServiceServer
- func NewWalletHandler(unlockerSvc application.UnlockerService, buildData ports.BuildData, ...) daemonv2.WalletServiceServer
Constants ¶
View Source
const ErrCannotServeRequest = "cannot serve request, please retry"
Variables ¶
This section is empty.
Functions ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.