package
0.0.0-20241008044642-911e02476411
Repository: https://github.com/bagaking/memorianexus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BatchWithMaxGoroutines sets the maximum number of concurrent goroutines.
BatchWithSize sets the size for each batch.
BatchWithTimeout sets a timeout duration for batch processing.
No description provided by the author
No description provided by the author
No description provided by the author
GinErrWithExtra sets the requestContents option.
GinErrWithReqBody sets the requestBody.
GinErrWithReqContents sets the requestContents option.
No description provided by the author
GinHandleError handles errors by logging them and sending a ErrorResponse.
GinMustGetID should be used with GinMWParseID.
GinMustGetTAG should be used with GinMWParseID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParallelBatchProcess processes tasks in parallel batches with specified options.
ParseIDFromString Support parsing from a string value directly.
ParsePercentageFromString supports parsing from a string value directly.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

ErrorResponse defines the standard error response structure.
No description provided by the author
ParallelOptions defines options for parallel batch processing.

# Type aliases

BatchProcessor defines a function to process a batch of tasks.
GinHandleErrorOption defines the type for functional options.
Option defines a function to set options for parallel batch processing.
Percentage is a custom type to handle JSON serialization of percentages as uint8.
UInt64 is a custom type to handle JSON serialization of 64-bit integers.