Documentation
¶
Index ¶
- Constants
- type Iso18626Client
- func (c *Iso18626Client) HandleIllMessage(ctx common.ExtendedContext, peer *ill_db.Peer, msg *iso18626.ISO18626Message) (*iso18626.ISO18626Message, error)
- func (c *Iso18626Client) MessageRequester(ctx common.ExtendedContext, event events.Event)
- func (c *Iso18626Client) MessageSupplier(ctx common.ExtendedContext, event events.Event)
- func (c *Iso18626Client) SendHttpPost(peer *ill_db.Peer, msg *iso18626.ISO18626Message) (*iso18626.ISO18626Message, error)
Constants ¶
View Source
const BrokerDoesNotSendInThisMode = "broker does not send %s in mode %s"
View Source
const BrokerInfoStatus = iso18626.TypeStatusExpectToSupply
View Source
const CLIENT_COMP = "iso18626_client"
View Source
const FailedToDetermineTarget = "failed to determine target"
View Source
const FailedToGetRequester = "failed to get requester"
View Source
const FailedToGetSupplier = "failed to get supplier"
View Source
const FailedToGetTrCtx = "failed to get transaction context"
View Source
const FailedToReadTransaction = "failed to read ILL transaction"
View Source
const FailedToResolveStatus = "failed to resolve status for value: %s"
View Source
const FailedToSendMessage = "failed to send ISO18626 message"
View Source
const FailedToUpdateSupplierStatus = "failed to update supplier status"
View Source
const InvalidState = "invalid state"
View Source
const KindConfirmationError = "confirmation-error"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iso18626Client ¶
type Iso18626Client struct {
// contains filtered or unexported fields
}
func CreateIso18626Client ¶
func CreateIso18626Client(eventBus events.EventBus, illRepo ill_db.IllRepo, prMessageHandler prservice.PatronRequestMessageHandler, maxMsgSize int, delay time.Duration) Iso18626Client
func CreateIso18626ClientWithHttpClient ¶
func CreateIso18626ClientWithHttpClient(client *http.Client) Iso18626Client
func (*Iso18626Client) HandleIllMessage ¶
func (c *Iso18626Client) HandleIllMessage(ctx common.ExtendedContext, peer *ill_db.Peer, msg *iso18626.ISO18626Message) (*iso18626.ISO18626Message, error)
func (*Iso18626Client) MessageRequester ¶
func (c *Iso18626Client) MessageRequester(ctx common.ExtendedContext, event events.Event)
func (*Iso18626Client) MessageSupplier ¶
func (c *Iso18626Client) MessageSupplier(ctx common.ExtendedContext, event events.Event)
func (*Iso18626Client) SendHttpPost ¶
func (c *Iso18626Client) SendHttpPost(peer *ill_db.Peer, msg *iso18626.ISO18626Message) (*iso18626.ISO18626Message, error)
Click to show internal directories.
Click to hide internal directories.