controller

package
v0.26.7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct{}

func (*Controller) Apply

func (yc *Controller) Apply(c *response.Context)

func (*Controller) Delete

func (yc *Controller) Delete(c *response.Context)

func (*Controller) DeleteTemplate

func (t *Controller) DeleteTemplate(c *response.Context)

func (*Controller) List

func (t *Controller) List(c *response.Context)

func (*Controller) ListKind

func (t *Controller) ListKind(c *response.Context)

ListKind 获取模板分类列表,用于左侧导航栏渲染。 返回格式与 AI 提示词类型接口保持一致:{ data: { options: [{label,value}, ...] } }。

func (*Controller) Save

func (t *Controller) Save(c *response.Context)

func (*Controller) UploadFile

func (yc *Controller) UploadFile(c *response.Context)

Jump to

Keyboard shortcuts

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