secret

package
v0.0.0-...-455e706 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretController

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

func NewSecretController

func NewSecretController(store store.Factory) *SecretController

初始化 service 接口

func (*SecretController) Create

func (s *SecretController) Create(c *gin.Context)

这里有限制个数 暂时搁置 ..

func (*SecretController) Delete

func (s *SecretController) Delete(c *gin.Context)

删除密钥

func (*SecretController) DeleteCollection

func (s *SecretController) DeleteCollection(c *gin.Context)

删除多条

func (*SecretController) DeleteTest

func (s *SecretController) DeleteTest(c *gin.Context)

func (*SecretController) Get

func (s *SecretController) Get(c *gin.Context)

func (*SecretController) List

func (s *SecretController) List(c *gin.Context)

获取list

func (*SecretController) Update

func (s *SecretController) Update(c *gin.Context)

更改 (想当于添加)

Jump to

Keyboard shortcuts

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