http

package
v0.0.0-...-ba62778 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration func(h *Handler) error

func WithService

func WithService(ap ports.APIPort) Configuration

type Handler

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

func NewHandler

func NewHandler(cfgs ...Configuration) (*Handler, error)

func (*Handler) CreateItem

func (h *Handler) CreateItem(w http.ResponseWriter, r *http.Request)

func (*Handler) CreateList

func (h *Handler) CreateList(w http.ResponseWriter, r *http.Request)

func (*Handler) GetList

func (h *Handler) GetList(w http.ResponseWriter, r *http.Request)

func (*Handler) GetLists

func (h *Handler) GetLists(w http.ResponseWriter, _ *http.Request)

Jump to

Keyboard shortcuts

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