worker

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CalculateArcFlags(ctx context.Context) error
	ShortestPath(ctx context.Context, args ShortestPathArgs) (ShortestPathResult, error)
}

func NewClient

func NewClient(deps Deps) Client

NewClient sets up client to a worker service.

type Deps

type Deps struct {
	HttpClient *http.Client
	Url        string
}

type ShortestPathArgs

type ShortestPathArgs = api.ShortestPathRequest

type ShortestPathResult

type ShortestPathResult = api.ShortestPathResponse

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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