Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
dsync
|
|
circuit
package circuit is an alternative of the classic circuitbreaker.
|
package circuit is an alternative of the classic circuitbreaker. |
grpc
|
|
http
|
|
request
package request handles the parsing and validation for the request body.
|
package request handles the parsing and validation for the request body. |
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. |
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. |
circuitbreaker
Package circuitbreaker is an in-memory implementation of circuit breaker.
|
Package circuitbreaker is an in-memory implementation of circuit breaker. |
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. |
retry
Package retry implements functions for retry mechanism.
|
Package retry implements functions for retry mechanism. |
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. |
rate
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. |
test
|
|
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 |
Click to show internal directories.
Click to hide internal directories.