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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigStore

type ConfigStore struct{}

func NewConfigStore

func NewConfigStore() *ConfigStore

func (*ConfigStore) FetchConfigs

func (s *ConfigStore) FetchConfigs(ctx context.Context, vehicleTypeID int64) (Configs, error)

type Configs

type Configs struct {
	StartingFare  float64
	PerKMFare     float64
	PerMinuteFare float64
}

type IConfigStore

type IConfigStore interface {
	FetchConfigs(ctx context.Context, vehicleTypeID int64) (Configs, error)
}

Jump to

Keyboard shortcuts

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