Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCorrelationId ¶
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶
func NewDispatcher(ctx context.Context, importer string, stream ImportStream) *Dispatcher
func (*Dispatcher) Send ¶
func (mng *Dispatcher) Send(req *customerv1.ImportSessionRequest) <-chan *customerv1.ImportSessionResponse
func (*Dispatcher) Start ¶
func (mng *Dispatcher) Start()
func (*Dispatcher) Stop ¶
func (mng *Dispatcher) Stop()
type ImportStream ¶
type ImportStream interface { Receive() (*customerv1.ImportSessionResponse, error) Send(*customerv1.ImportSessionRequest) error CloseRequest() error CloseResponse() error }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) UpsertCustomerByRef ¶
Click to show internal directories.
Click to hide internal directories.