storage

package
v0.0.0-...-3810402 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface{}

Client is the interface for storage operations used by `server.Server`. In production, it's a `postgres.Postgres` object. We use an interface here for two reasons: 1. Facilitate the use of mocks for unit testing 2. Expose only a subset of the functionality of the Postgres object's methods: we wish to hide low-level and testing-only methods from the application code in the Server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL