showgrp

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package showgrp maintains the group of handlers for show access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Show show.Core
	K    *kernel.Kernel
}

Handlers manages the set of show endpoints.

func (Handlers) Create

Create adds a new show to the system.

func (Handlers) Delete

Delete removes one or many shows from the system.

func (Handlers) Query

Query returns a list of shows with paging.

func (Handlers) QueryByID

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

QueryByID returns a show by its ID.

func (Handlers) Update

Update updates a show in the system.

Jump to

Keyboard shortcuts

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