client

package
v0.0.0-...-befd928 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

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 (*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

Jump to

Keyboard shortcuts

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