dependencies

package
v0.0.0-...-d2b98b7 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISurgeEngine

type ISurgeEngine interface {
	FetchSurge(ctx context.Context, vehicleTypeID int64, pickUpLocation dto.Location, pickUpTime time.Time) (float64, error)
}

type SurgeEngine

type SurgeEngine struct{}

func NewSurgeEngine

func NewSurgeEngine() *SurgeEngine

func (*SurgeEngine) FetchSurge

func (e *SurgeEngine) FetchSurge(ctx context.Context, vehicleTypeID int64, pickUpLocation dto.Location, pickUpTime time.Time) (float64, error)

Jump to

Keyboard shortcuts

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