railutils

package
v0.0.0-...-73876c2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CancelledReasons map[string]string
View Source
var LateReasons map[string]string

Functions

func LoadLateAndCancelledReasons

func LoadLateAndCancelledReasons()

Types

type BatchProcessingQueue

type BatchProcessingQueue struct {
	Timeout time.Duration
	Items   chan (mongo.WriteModel)
}

func (*BatchProcessingQueue) Add

func (b *BatchProcessingQueue) Add(item mongo.WriteModel)

func (*BatchProcessingQueue) Process

func (b *BatchProcessingQueue) Process()

type StopCache

type StopCache struct {
	Cache *cache.Cache[string]
}

func (*StopCache) Get

func (s *StopCache) Get(identifierType string, identifier string) *ctdf.Stop

func (*StopCache) Setup

func (s *StopCache) Setup()

Jump to

Keyboard shortcuts

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