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 ¶
func (p *ExpandedPetStore) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
ServeHTTP serves a simple (and currently incomplete) Pet Store API
Click to show internal directories.
Click to hide internal directories.