imagegrp

package
v0.0.0-...-ab07b4f Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package imagegrp maintains the group of handlers for image access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Image image.Core
}

Handlers manages the set of Image endpoints.

func (Handlers) Create

Create adds a new Image to the system.

func (Handlers) Delete

Delete removes an Image from the system.

func (Handlers) Query

Query returns a list of Images with paging.

func (Handlers) QueryByID

func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error

QueryByID returns an Image by its ID.

func (Handlers) Update

Update updates an Image in the system.

Jump to

Keyboard shortcuts

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