package
0.0.0-20240916203516-2473a21e2bfc
Repository: https://github.com/kava-labs/kava-proxy-service.git
Documentation: pkg.go.dev

# Packages

when this package is loaded the package directory will be searched for any go or sql migration files and register for them to the proxy service to run https://bun.uptrace.dev/guide/migrations.html#go-based-migrations.

# Functions

NewClient returns a new connection to the specified postgres data and error (if any).
PartitionsForPeriod attempts to generate the partitions to create when prefilling numDaysToPrefill, returning the list of of partitions and error (if any).

# Constants

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

# Structs

Client wraps a connection to a postgres database.
DatabaseConfig contains values for creating a new connection to a postgres database.
PartitionPeriod represents a single postgres partitioned table from a starting point (inclusive of that point in time) to an end point (exclusive of that point in time).
ProxiedRequestMetric contains request metrics for a single request proxied by the proxy service.