cache

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	*deps.Deps
}

Cache defines the handler for Cache

func New

func New(d *deps.Deps) *Cache

New

Creates a new cache handler.

func (*Cache) Clear

func (c *Cache) Clear(ctx *gin.Context)

Clear

Returns http.StatusOK upon cache clearing.

type Handler

type Handler interface {
	Clear(ctx *gin.Context)
}

Handler defines methods for fields to interact with the server

Jump to

Keyboard shortcuts

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