Documentation
¶
Overview ¶
Package dataaccess wires the Lookup and Update gRPC services into a single process listening on one port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type DataAccess ¶
type DataAccess struct {
// contains filtered or unexported fields
}
func NewDataAccessAPI ¶
func NewDataAccessAPI(ctx context.Context, cfg config.RuntimeConfig[Config]) (*DataAccess, error)
func (*DataAccess) Address ¶
func (d *DataAccess) Address() string
func (*DataAccess) Logger ¶
func (d *DataAccess) Logger() *logrus.Entry
func (*DataAccess) Name ¶
func (d *DataAccess) Name() string
func (*DataAccess) Serve ¶
func (d *DataAccess) Serve() error
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
storagetest
Package storagetest provides in-memory fakes for the storage.DBTX and storage.Transaction interfaces, for unit tests that drive sqlc-generated queries without a real database.
|
Package storagetest provides in-memory fakes for the storage.DBTX and storage.Transaction interfaces, for unit tests that drive sqlc-generated queries without a real database. |
Click to show internal directories.
Click to hide internal directories.