vaultservice

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const V1BASEPATH = "/api/v1"

Variables

This section is empty.

Functions

func NewClientCertResultMessage

func NewClientCertResultMessage(ctx *gin.Context, clientCert, clientKey []byte)

func NewController

func NewController(addr string, addrExt string, subpath string, cert tls.Certificate, ca *x509.Certificate, caPrivKey any, clientCerts fs.FS, logger zLogger.ZLogger, client []*config.MiniVaultClientConfig) (*controller, error)

func NewResultMessage

func NewResultMessage(ctx *gin.Context, status int, err error)

Types

type HTTPCertResult

type HTTPCertResult struct {
	Cert []byte `` /* 1055-byte string literal not displayed */

	EncryptedKey []byte `` /* 497-byte string literal not displayed */

}

type HTTPResultMessage

type HTTPResultMessage struct {
	Code    int    `json:"code" example:"400"`
	Message string `json:"message" example:"status bad request"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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