Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProcessor ¶
type IRequest ¶
type IRequest interface {
RequestId() int64
Payments() []netPresentValue.IPayment
}
func NewRequest ¶
func NewRequest(id int64, payments []netPresentValue.IPayment) IRequest
type IResponse ¶
type IResponse interface {
RequestId() int64
Result() numMethods.IResult
}
func NewResponse ¶
func NewResponse(id int64, res numMethods.IResult) IResponse
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) Payments ¶
func (r *Request) Payments() []netPresentValue.IPayment
type RequestsProcessor ¶
type RequestsProcessor struct {
// contains filtered or unexported fields
}
func (*RequestsProcessor) Requests ¶
func (p *RequestsProcessor) Requests() chan IRequest
func (*RequestsProcessor) Responses ¶
func (p *RequestsProcessor) Responses() <-chan IResponse
func (*RequestsProcessor) Start ¶
func (p *RequestsProcessor) Start(coresCount int)
func (*RequestsProcessor) Stop ¶
func (p *RequestsProcessor) Stop() <-chan bool
Click to show internal directories.
Click to hide internal directories.