car

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	CarService carservice.Client
}

Manager defines a car manager.

func (*Manager) Lock

func (m *Manager) Lock(c context.Context, cid id.CarID, aid id.AccountID) error

Lock locks a car.

func (*Manager) Unlock

func (m *Manager) Unlock(c context.Context, cid id.CarID, aid id.AccountID, tid id.TripID, avatarURL string) error

Unlock unlocks a car.

func (*Manager) Verify

func (m *Manager) Verify(c context.Context, cid id.CarID, aid id.AccountID) error

Verify verifies car status.

Jump to

Keyboard shortcuts

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