api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CacheGetPath = "/api/v1/cache/pagedata"

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheController

type CacheController struct {
	// contains filtered or unexported fields
}

func NewCacheController

func NewCacheController(
	ctx context.Context,
	cfg *config.Config,
	cache storage.Storage,
	seoRepo repository.Seo,
) *CacheController

func (*CacheController) AddRoute

func (c *CacheController) AddRoute(router *router.Router)

func (*CacheController) Index

func (c *CacheController) Index(r *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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