server

package
v0.0.0-...-9ce8ee7 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	kms.UnimplementedKMSServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(client *vault.Client, logger *slog.Logger, mountPath string) *Server

func (Server) Seal

func (s Server) Seal(ctx context.Context, request *kms.Request) (*kms.Response, error)

func (Server) Unseal

func (s Server) Unseal(ctx context.Context, request *kms.Request) (*kms.Response, error)

Jump to

Keyboard shortcuts

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