apputils

package
v0.0.0-...-644b821 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const EventRecordFormat = "%v, %v = %v"

Variables

This section is empty.

Functions

func CreateLocatedSupplier

func CreateLocatedSupplier(t *testing.T, illRepo ill_db.IllRepo, illTransId string, supplierId string, supplierSymbol string, status string) ill_db.LocatedSupplier

func CreatePeer

func CreatePeer(t *testing.T, illRepo ill_db.IllRepo, symbol string, url string) ill_db.Peer

func CreatePeerWithMode

func CreatePeerWithMode(t *testing.T, illRepo ill_db.IllRepo, symbol string, url string, brokerMode string) ill_db.Peer

func CreatePeerWithModeAndVendor

func CreatePeerWithModeAndVendor(t *testing.T, illRepo ill_db.IllRepo, symbol string, url string, brokerMode string, vendor dirapi.EntryVendor, customData dirapi.Entry, name string) ill_db.Peer

func CreatePgText

func CreatePgText(value string) pgtype.Text

func EventsCompareString

func EventsCompareString(appCtx common.ExtendedContext, eventRepo events.EventRepo, t *testing.T, illId string, expected string)

func EventsToCompareStringFunc

func EventsToCompareStringFunc(appCtx common.ExtendedContext, eventRepo events.EventRepo, t *testing.T, illId string, messageCount int, ignoreState bool, eventFmt func(events.Event) string) string

func GetEventId

func GetEventId(t *testing.T, eventRepo events.EventRepo, illId string, eventType events.EventType, status events.EventStatus, eventName events.EventName) string

func GetEventIdWithData

func GetEventIdWithData(t *testing.T, eventRepo events.EventRepo, illId string, eventType events.EventType, status events.EventStatus, eventName events.EventName, data events.EventData) string

func GetIllTransId

func GetIllTransId(t *testing.T, illRepo ill_db.IllRepo) string

func GetNow

func GetNow() pgtype.Timestamp

func StartAppReturnContext

func StartAppReturnContext(ctx context.Context, listener net.Listener) app.Context

func StartMockApp

func StartMockApp(listener net.Listener)

Types

This section is empty.

Jump to

Keyboard shortcuts

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