Documentation ¶
Index ¶
- type App
- type Circle
- type Coord
- type JourneyData
- type Model
- func (m *Model) Close() error
- func (m *Model) EdgeCount() (int, error)
- func (m *Model) GetStations() ([]Coord, error)
- func (m *Model) JourneyQuery(src, dst Circle) (*JourneyData, error)
- func (m *Model) MemoryUsageHuman() (string, error)
- func (m *Model) StationCount() (int, error)
- func (m *Model) TripCount() (int, error)
- func (m *Model) Vitals() (*Vitals, error)
- type ModelPool
- type Vitals
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JourneyData ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) GetStations ¶
func (*Model) JourneyQuery ¶
func (m *Model) JourneyQuery(src, dst Circle) (*JourneyData, error)
func (*Model) MemoryUsageHuman ¶
func (*Model) StationCount ¶
type ModelPool ¶
type ModelPool struct {
// contains filtered or unexported fields
}
A ModelPool is used to create cheap Model structs used per request.
func NewModelPool ¶
Click to show internal directories.
Click to hide internal directories.