Documentation
¶
Index ¶
- type ParkingServiceV1
- type ParkingServiceV1BTree
- func (p *ParkingServiceV1BTree) EnterArea(request types.CarDTO) (areaId int, err error)
- func (p *ParkingServiceV1BTree) LeaveArea(req types.CarDTO) (exitedCar types.Car, err error)
- func (p *ParkingServiceV1BTree) OpenParkingArea(parkingCap int) (err error)
- func (p *ParkingServiceV1BTree) Status() (_ []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParkingServiceV1 ¶
type ParkingServiceV1 struct {
// contains filtered or unexported fields
}
func NewParkingService ¶
func NewParkingService() *ParkingServiceV1
func (*ParkingServiceV1) EnterArea ¶
func (p *ParkingServiceV1) EnterArea(request types.CarDTO) (areaId int, err error)
func (*ParkingServiceV1) OpenParkingArea ¶
func (p *ParkingServiceV1) OpenParkingArea(parkingCap int) (err error)
func (*ParkingServiceV1) Status ¶
func (p *ParkingServiceV1) Status() (_ []byte, err error)
type ParkingServiceV1BTree ¶ added in v0.1.3
type ParkingServiceV1BTree struct {
// contains filtered or unexported fields
}
func NewParkingServiceBTree ¶ added in v0.1.3
func NewParkingServiceBTree() *ParkingServiceV1BTree
func (*ParkingServiceV1BTree) EnterArea ¶ added in v0.1.3
func (p *ParkingServiceV1BTree) EnterArea(request types.CarDTO) (areaId int, err error)
func (*ParkingServiceV1BTree) OpenParkingArea ¶ added in v0.1.3
func (p *ParkingServiceV1BTree) OpenParkingArea(parkingCap int) (err error)
func (*ParkingServiceV1BTree) Status ¶ added in v0.1.3
func (p *ParkingServiceV1BTree) Status() (_ []byte, err error)
Click to show internal directories.
Click to hide internal directories.