appeffectattribute

package
v0.0.0-...-a9c8cbe Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package appeffectattribute provides handlers for REST methods allowing web clients to manage appentityitems

Index

Constants

View Source
const HandlerName string = "appentityitem"

HandlerName -

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionResponseData

type CollectionResponseData struct {
	Data   []*api.AppEffectAttribute `json:"data"`
	Errors []handler.ErrorData       `json:"errors"`
}

CollectionResponseData -

type Handler

type Handler struct {
	handler.Base
}

Handler -

func NewHandler

func NewHandler(e env.Env, l zerolog.Logger, d *sqlx.DB) (*Handler, error)

NewHandler -

func (*Handler) Delete

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

Delete -

func (*Handler) Get

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

Get -

func (*Handler) GetCollection

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

GetCollection -

func (*Handler) Post

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

Post -

func (*Handler) Put

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

Put -

type RequestData

type RequestData struct {
	Data *api.AppEffectAttribute `json:"data"`
}

RequestData -

type ResponseData

type ResponseData struct {
	Data   *api.AppEffectAttribute `json:"data"`
	Errors []handler.ErrorData     `json:"errors"`
}

ResponseData -

Jump to

Keyboard shortcuts

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