Documentation ¶
Index ¶
- func NewStore(dsn string) (s rocketride.Datastore, err error)
- type AuditRecord
- type CreateAuditRecordParams
- type CreateIdempotencyKeyParams
- type CreateRideParams
- type CreateStagedJobParams
- type DBTX
- type GetIdempotencyKeyParams
- type IdempotencyKey
- type Queries
- func (q *Queries) CreateAuditRecord(ctx context.Context, arg CreateAuditRecordParams) (AuditRecord, error)
- func (q *Queries) CreateIdempotencyKey(ctx context.Context, arg CreateIdempotencyKeyParams) (IdempotencyKey, error)
- func (q *Queries) CreateRide(ctx context.Context, arg CreateRideParams) (Ride, error)
- func (q *Queries) CreateStagedJob(ctx context.Context, arg CreateStagedJobParams) (StagedJob, error)
- func (q *Queries) GetIdempotencyKey(ctx context.Context, arg GetIdempotencyKeyParams) (IdempotencyKey, error)
- func (q *Queries) GetRideByID(ctx context.Context, id int64) (Ride, error)
- func (q *Queries) GetRideByIdempotencyKeyID(ctx context.Context, idempotencyKeyID sql.NullInt64) (Ride, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (User, error)
- func (q *Queries) GetUserByID(ctx context.Context, id int64) (User, error)
- func (q *Queries) UpdateIdempotencyKey(ctx context.Context, arg UpdateIdempotencyKeyParams) (IdempotencyKey, error)
- func (q *Queries) UpdateRide(ctx context.Context, arg UpdateRideParams) (Ride, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Ride
- type StagedJob
- type UpdateIdempotencyKeyParams
- type UpdateRideParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuditRecord ¶
type CreateAuditRecordParams ¶
type CreateRideParams ¶
type CreateStagedJobParams ¶
type CreateStagedJobParams struct { JobName string JobArgs json.RawMessage }
type GetIdempotencyKeyParams ¶
type IdempotencyKey ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAuditRecord ¶
func (q *Queries) CreateAuditRecord(ctx context.Context, arg CreateAuditRecordParams) (AuditRecord, error)
func (*Queries) CreateIdempotencyKey ¶
func (q *Queries) CreateIdempotencyKey(ctx context.Context, arg CreateIdempotencyKeyParams) (IdempotencyKey, error)
func (*Queries) CreateRide ¶
func (*Queries) CreateStagedJob ¶
func (*Queries) GetIdempotencyKey ¶
func (q *Queries) GetIdempotencyKey(ctx context.Context, arg GetIdempotencyKeyParams) (IdempotencyKey, error)
func (*Queries) GetRideByID ¶
func (*Queries) GetRideByIdempotencyKeyID ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserByID ¶
func (*Queries) UpdateIdempotencyKey ¶
func (q *Queries) UpdateIdempotencyKey(ctx context.Context, arg UpdateIdempotencyKeyParams) (IdempotencyKey, error)
func (*Queries) UpdateRide ¶
type UpdateRideParams ¶
type UpdateRideParams struct { ID int64 StripeChargeID sql.NullString }
Click to show internal directories.
Click to hide internal directories.