Versions in this module Expand all Collapse all v1 v1.9.2 Oct 22, 2019 v1.9.1 Oct 22, 2019 Changes in this version + func AddPetCtx(next http.Handler) http.Handler + func DeletePetCtx(next http.Handler) http.Handler + func FindPetByIdCtx(next http.Handler) http.Handler + func FindPetsCtx(next http.Handler) http.Handler + func GetSwagger() (*openapi3.Swagger, error) + func Handler(si ServerInterface) http.Handler + type AddPetJSONRequestBody addPetJSONBody + type Error struct + Code int32 + Message string + type FindPetsParams struct + Limit *int32 + Tags *[]string + func ParamsForFindPets(ctx context.Context) *FindPetsParams + type NewPet struct + Name string + Tag *string + type Pet struct + Id int64 + type PetStore struct + Lock sync.Mutex + NextId int64 + Pets map[int64]Pet + func NewPetStore() *PetStore + func (p *PetStore) AddPet(w http.ResponseWriter, r *http.Request) + func (p *PetStore) DeletePet(w http.ResponseWriter, r *http.Request) + func (p *PetStore) FindPetById(w http.ResponseWriter, r *http.Request) + func (p *PetStore) FindPets(w http.ResponseWriter, r *http.Request) + type ServerInterface interface + AddPet func(w http.ResponseWriter, r *http.Request) + DeletePet func(w http.ResponseWriter, r *http.Request) + FindPetById func(w http.ResponseWriter, r *http.Request) + FindPets func(w http.ResponseWriter, r *http.Request)