mcpkey

package
v0.0.113 Latest Latest
Warning

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

Go to latest
Published: May 17, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

Create 处理创建新的MCP密钥的HTTP请求。 从请求中解析描述信息,获取当前用户,生成有效期为10年的JWT令牌,并创建包含该信息的MCP密钥记录保存到数据库。 失败时返回JSON格式的错误响应,成功时返回操作成功的JSON响应。

func Delete

func Delete(c *gin.Context)

func List

func List(c *gin.Context)

List 获取MCP密钥列表

Types

This section is empty.

Jump to

Keyboard shortcuts

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