swapi

package
v0.0.0-...-c316e96 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

THIS IS GENERATED CODE. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

Handler implements the Star Wars API.

For performance, it uses an in-memory snapshot of the data (e.g. instead of sending queries to swapi.dev). Run "go generate" for this package to re-generate the snapshot.

func NewHandler

func NewHandler() *Handler

NewHandler returns a new handler that serves the Star Wars API.

func (*Handler) GetFilmCharacters

GetFilmCharacters implements the GetFilmCharacters RPC of the PersonResolverService.

func (*Handler) GetFilmPlanets

GetFilmPlanets implements the GetFilmPlanets RPC of the PlanetResolverService.

func (*Handler) GetFilmSpecies

GetFilmSpecies implements the GetFilmSpecies RPC of the SpeciesResolverService.

func (*Handler) GetFilmStarships

GetFilmStarships implements the GetFilmStarships RPC of the StarshipResolverService.

func (*Handler) GetFilmVehicles

GetFilmVehicles implements the GetFilmVehicles RPC of the VehicleResolverService.

func (*Handler) GetFilms

GetFilms implements the GetFilms RPC of the FilmService.

func (*Handler) GetPeople

GetPeople implements the GetPeople RPC of the PersonService.

func (*Handler) GetPersonFilms

GetPersonFilms implements the GetPersonFilms RPC of the FilmResolverService.

func (*Handler) GetPersonHomeworld

GetPersonHomeworld implements the GetPersonHomeworld RPC of the PlanetResolverService.

func (*Handler) GetPersonSpecies

GetPersonSpecies implements the GetPersonSpecies RPC of the SpeciesResolverService.

func (*Handler) GetPersonStarships

GetPersonStarships implements the GetPersonStarships RPC of the StarshipResolverService.

func (*Handler) GetPersonVehicles

GetPersonVehicles implements the GetPersonVehicles RPC of the VehicleResolverService.

func (*Handler) GetPlanetFilms

GetPlanetFilms implements the GetPlanetFilms RPC of the FilmResolverService.

func (*Handler) GetPlanetResidents

GetPlanetResidents implements the GetPlanetResidents RPC of the PersonResolverService.

func (*Handler) GetPlanets

GetPlanets implements the GetPlanets RPC of the PlanetService.

func (*Handler) GetSpecies

GetSpecies implements the GetSpecies RPC of the SpeciesService.

func (*Handler) GetSpeciesCharacters

GetSpeciesCharacters implements the GetSpeciesCharacters RPC of the PersonResolverService.

func (*Handler) GetSpeciesFilms

GetSpeciesFilms implements the GetSpeciesFilms RPC of the FilmResolverService.

func (*Handler) GetSpeciesHomeworld

GetSpeciesHomeworld implements the GetSpeciesHomeworld RPC of the PlanetResolverService.

func (*Handler) GetStarshipFilms

GetStarshipFilms implements the GetStarshipFilms RPC of the FilmResolverService.

func (*Handler) GetStarshipPilots

GetStarshipPilots implements the GetStarshipPilots RPC of the PersonResolverService.

func (*Handler) GetStarships

GetStarships implements the GetStarships RPC of the StarshipService.

func (*Handler) GetVehicleFilms

GetVehicleFilms implements the GetVehicleFilms RPC of the FilmResolverService.

func (*Handler) GetVehiclePilots

GetVehiclePilots implements the GetVehiclePilots RPC of the PersonResolverService.

func (*Handler) GetVehicles

GetVehicles implements the GetVehicles RPC of the VehicleService.

func (*Handler) ListFilms

ListFilms implements the ListFilms RPC of the FilmService.

func (*Handler) ListPeople

ListPeople implements the ListPeople RPC of the PersonService.

func (*Handler) ListPlanets

ListPlanets implements the ListPlanets RPC of the PlanetService.

func (*Handler) ListSpecies

ListSpecies implements the ListSpecies RPC of the SpeciesService.

func (*Handler) ListStarships

ListStarships implements the ListStarships RPC of the StarshipService.

func (*Handler) ListVehicles

ListVehicles implements the ListVehicles RPC of the VehicleService.

Jump to

Keyboard shortcuts

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