petstore

package
v0.0.0-...-79a7be3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpandedPetStore

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

ExpandedPetStore struct keeps module data

func (ExpandedPetStore) CaddyModule

func (ExpandedPetStore) CaddyModule() caddy.ModuleInfo

CaddyModule defines the ExpandedPetStore module

func (*ExpandedPetStore) Provision

func (p *ExpandedPetStore) Provision(ctx caddy.Context) error

Provision sets up the Petstore API

func (*ExpandedPetStore) ServeHTTP

ServeHTTP serves a simple (and currently incomplete) Pet Store API

type PetStore

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

PetStore struct keeping module data

func (PetStore) CaddyModule

func (PetStore) CaddyModule() caddy.ModuleInfo

CaddyModule defines the PetStore module

func (*PetStore) Provision

func (p *PetStore) Provision(ctx caddy.Context) error

Provision sets up the Petstore API

func (*PetStore) ServeHTTP

func (p *PetStore) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

ServeHTTP serves a simple (and currently incomplete) Pet Store API

Jump to

Keyboard shortcuts

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