delivery

package
v0.0.0-...-062e5f8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMidtransBroker

func NewMidtransBroker() delivery.Broker[*entity.Transaction]

func NewShipperBroker

func NewShipperBroker() delivery.Broker[*entity.Shipper]

Types

type MidtransBrokerImpl

type MidtransBrokerImpl struct {
	// contains filtered or unexported fields
}

func (*MidtransBrokerImpl) Close

func (m *MidtransBrokerImpl) Close()

func (*MidtransBrokerImpl) Publish

func (m *MidtransBrokerImpl) Publish(data *entity.Transaction)

type ShipperBrokerImpl

type ShipperBrokerImpl struct {
	// contains filtered or unexported fields
}

func (*ShipperBrokerImpl) Close

func (s *ShipperBrokerImpl) Close()

func (*ShipperBrokerImpl) Publish

func (s *ShipperBrokerImpl) Publish(data *entity.Shipper)

Jump to

Keyboard shortcuts

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