pet

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pet

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

A simple in memory CRUD on data In real life, this should be using a persistent storage.

func New

func New() *Pet

New returns a new Pet manager

func (*Pet) PetCreate

func (p *Pet) PetCreate(ctx context.Context, params pet.PetCreateParams) middleware.Responder

func (*Pet) PetDelete

func (p *Pet) PetDelete(ctx context.Context, params pet.PetDeleteParams) middleware.Responder

func (*Pet) PetGet

func (p *Pet) PetGet(ctx context.Context, params pet.PetGetParams) middleware.Responder

func (*Pet) PetList

func (p *Pet) PetList(ctx context.Context, params pet.PetListParams) middleware.Responder

func (*Pet) PetUpdate

func (p *Pet) PetUpdate(ctx context.Context, params pet.PetUpdateParams) middleware.Responder

Jump to

Keyboard shortcuts

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