flight

package
v0.0.0-...-91280e1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlight

func AddFlight(env *beldilib.Env, flightId string, cap int32)

func BaseReserveFlight

func BaseReserveFlight(env *beldilib.Env, flightId string, userId string) bool

func ReserveFlight

func ReserveFlight(env *beldilib.Env, flightId string, userId string) bool

Types

type Flight

type Flight struct {
	FlightId  string
	Cap       int32
	Customers []string
}

Jump to

Keyboard shortcuts

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