Skip to content

Commit

Permalink
feat: add small comments
Browse files Browse the repository at this point in the history
  • Loading branch information
boodyvo committed Sep 16, 2024
1 parent f110925 commit 1bc873c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions clients/database/empty/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"github.com/kava-labs/kava-proxy-service/clients/database"
)

// Empty is a database client that does nothing
type Empty struct{}

func New() *Empty {
Expand Down
1 change: 1 addition & 0 deletions clients/database/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"time"
)

// MetricsDatabase is an interface for interacting with the database
type MetricsDatabase interface {
SaveProxiedRequestMetric(ctx context.Context, metric *ProxiedRequestMetric) error
ListProxiedRequestMetricsWithPagination(ctx context.Context, cursor int64, limit int) ([]*ProxiedRequestMetric, int64, error)
Expand Down

0 comments on commit 1bc873c

Please sign in to comment.