api

package
v0.0.0-...-3e6ee68 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CalculateArcFlagsUrl = "/calculate_arc_flags"
View Source
const HealthzUrl = "/healthz"
View Source
const ShortestPathUrl = "/shortest_path"

Variables

This section is empty.

Functions

This section is empty.

Types

type CalculateArcFlagsResponse

type CalculateArcFlagsResponse struct {
}

type HealthzResponse

type HealthzResponse struct {
}

type RequestId

type RequestId uint64

type ShortestPathRequest

type ShortestPathRequest struct {
	RequestId RequestId `json:"request_id"`
	From      VertexId  `json:"from"`
	To        VertexId  `json:"to"`
}

type ShortestPathResponse

type ShortestPathResponse struct {
	NoPath   bool       `json:"no_path,omitempty"`
	Distance float64    `json:"distance,omitempty"`
	Vertices []VertexId `json:"vertices,omitempty"`
}

type VertexId

type VertexId = int64

Jump to

Keyboard shortcuts

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