connector

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectorRepository

type ConnectorRepository interface {
	CreateConnector(ctx context.Context, arg db.CreateConnectorParams) (db.Connector, error)
	GetConnector(ctx context.Context, id int64) (db.Connector, error)
	GetConnectorByIdentifier(ctx context.Context, identifier sql.NullString) (db.Connector, error)
	GetConnectorByEvse(ctx context.Context, arg db.GetConnectorByEvseParams) (db.Connector, error)
	GetGeoLocation(ctx context.Context, id int64) (db.GeoLocation, error)
	GetEvse(ctx context.Context, id int64) (db.Evse, error)
	ListConnectors(ctx context.Context, evseID int64) ([]db.Connector, error)
	ListConnectorsByEvseID(ctx context.Context, evseID sql.NullString) ([]db.Connector, error)
	ListConnectorsByPartyAndCountryCode(ctx context.Context, arg db.ListConnectorsByPartyAndCountryCodeParams) ([]db.Connector, error)
	UpdateConnectorByEvse(ctx context.Context, arg db.UpdateConnectorByEvseParams) (db.Connector, error)
	UpdateEvseLastUpdated(ctx context.Context, arg db.UpdateEvseLastUpdatedParams) error
	UpdateLocationLastUpdated(ctx context.Context, arg db.UpdateLocationLastUpdatedParams) error
}

func NewRepository

func NewRepository(repositoryService *db.RepositoryService) ConnectorRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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