Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrMethodNotAllowed = "status method not allowed" ErrIDRequired = "ID must be provided for update" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
type ItemRepository ¶
type ItemRepository interface { FindAll() ([]*Item, error) Save(ctx context.Context, item Item) error Delete(ctx context.Context, id string) error }
func NewDdbItemRepository ¶
func NewDdbItemRepository() ItemRepository
type Request ¶
type Request events.APIGatewayProxyRequest
type Response ¶
type Response events.APIGatewayProxyResponse
Click to show internal directories.
Click to hide internal directories.