service

package
v0.0.0-...-f4b86a9 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaintenanceService

type MaintenanceService struct {
}

func (*MaintenanceService) Echo

func (s *MaintenanceService) Echo(ctx context.Context, req *EchoRequest) (*EchoResponse, error)

func (*MaintenanceService) Ping

func (s *MaintenanceService) Ping(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

type PetstoreService

type PetstoreService struct{}

func (PetstoreService) CreatePet

func (p PetstoreService) CreatePet(ctx context.Context, req *CreatePetRequest) (*Pet, error)

func (PetstoreService) DeletePet

func (p PetstoreService) DeletePet(ctx context.Context, req *DeletePetRequest) (*emptypb.Empty, error)

func (PetstoreService) GetPet

func (p PetstoreService) GetPet(ctx context.Context, req *GetPetRequest) (*Pet, error)

func (PetstoreService) ListPets

func (p PetstoreService) ListPets(ctx context.Context, req *ListPetsRequest) (*ListPetsResponse, error)

func (PetstoreService) UpdatePet

func (p PetstoreService) UpdatePet(ctx context.Context, req *UpdatePetRequest) (*Pet, error)

Jump to

Keyboard shortcuts

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