front

package
v0.0.0-...-14b277e Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 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 Service

type Service struct {
	// contains filtered or unexported fields
}

Service is the front service implementation.

func New

New instantiates a new front service.

func (*Service) Forecast

func (s *Service) Forecast(ctx context.Context, ip string) (*genfront.Forecast2, error)

Forecast returns the forecast for the location at the given IP.

func (*Service) TestAll

func (s *Service) TestAll(ctx context.Context, payload *genfront.TestAllPayload) (*genfront.TestResults, error)

Runs ALL API Integration Tests from the Tester service, allowing for filtering on included or excluded tests

func (*Service) TestSmoke

func (s *Service) TestSmoke(ctx context.Context) (*genfront.TestResults, error)

Runs API Integration Tests' Smoke Tests ONLY from the Tester service

Jump to

Keyboard shortcuts

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