Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
dsync
|
|
cache
Module
|
|
circuit
Module
|
|
circuitbreaker
Module
|
|
idempotent
Module
|
|
lock
Module
|
|
ratelimit
Module
|
|
singleflight
Module
|
|
exp
|
|
batch
package batch simplifies data loading for one-to-one and one-to-many relationships.
|
package batch simplifies data loading for one-to-one and one-to-many relationships. |
expire
package expire optimally wait for the next deadline when there are at least n number of items to expire.
|
package expire optimally wait for the next deadline when there are at least n number of items to expire. |
http
module
|
|
metrics
module
|
|
queue
|
|
storage
|
|
pg
Module
|
|
redis
Module
|
|
sync
|
|
background
Package background implements functions to execute tasks in a separate goroutine.
|
Package background implements functions to execute tasks in a separate goroutine. |
snapshot
package snapshot implements redis-snapshot like mechanism - the higher the frequency, the more frequent the execution.
|
package snapshot implements redis-snapshot like mechanism - the higher the frequency, the more frequent the execution. |
batch
Module
|
|
circuit
Module
|
|
debounce
Module
|
|
pipeline
Module
|
|
promise
Module
|
|
rate
Module
|
|
retry
Module
|
|
This is a modified version of https://pkg.go.dev/golang.org/x/exp/event@v0.0.0-20230817173708-d852ddb80c63/otel, since the supported OTEL package is no longer the latest.
|
This is a modified version of https://pkg.go.dev/golang.org/x/exp/event@v0.0.0-20230817173708-d852ddb80c63/otel, since the supported OTEL package is no longer the latest. |
types
|
|
op
package op contains useful control flow operations.
|
package op contains useful control flow operations. |
result
package result wraps both data and error together.
|
package result wraps both data and error together. |
sliceutil
package sliceutil covers utilities not found in https://pkg.go.dev/golang.org/x/exp/slices
|
package sliceutil covers utilities not found in https://pkg.go.dev/golang.org/x/exp/slices |
states
package states ensure all steps are completed before proceeding to the next step.
|
package states ensure all steps are completed before proceeding to the next step. |
validator
module
|
Click to show internal directories.
Click to hide internal directories.