api

package
v0.0.0-...-c6a76dc Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 21 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 {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(port int64,
	redis *storage.RedisStorage,
	client *asynq.Client,
	inspector *asynq.Inspector,
	vaultFilePath string,
	sdClient *statsd.Client,
	blockStorage *storage.BlockStorage) *Server

NewServer returns a new server.

func (*Server) CreateMldsaVault

func (s *Server) CreateMldsaVault(c echo.Context) error

func (*Server) CreateVault

func (s *Server) CreateVault(c echo.Context) error

func (*Server) CreateVaultBatch

func (s *Server) CreateVaultBatch(c echo.Context) error

func (*Server) DeleteVault

func (s *Server) DeleteVault(c echo.Context) error

func (*Server) DownloadVault

func (s *Server) DownloadVault(c echo.Context) error

func (*Server) ExistVault

func (s *Server) ExistVault(c echo.Context) error

func (*Server) GetDerivedPublicKey

func (s *Server) GetDerivedPublicKey(c echo.Context) error

GetDerivedPublicKey is a handler to get the derived public key

func (*Server) GetKeysignResult

func (s *Server) GetKeysignResult(c echo.Context) error

GetKeysignResult is a handler to get the keysign response

func (*Server) GetVault

func (s *Server) GetVault(c echo.Context) error

func (*Server) ImportVault

func (s *Server) ImportVault(c echo.Context) error

func (*Server) ImportVaultBatch

func (s *Server) ImportVaultBatch(c echo.Context) error

func (*Server) MigrateVault

func (s *Server) MigrateVault(c echo.Context) error

MigrateVault is a handler to migrate a vault from GG20 to DKLS

func (*Server) Ping

func (s *Server) Ping(c echo.Context) error

func (*Server) ResendVaultEmail

func (s *Server) ResendVaultEmail(c echo.Context) error

ResendVaultEmail is a handler to request server to send vault share , code through email again

func (*Server) ReshareVault

func (s *Server) ReshareVault(c echo.Context) error

ReshareVault is a handler to reshare a vault

func (*Server) ReshareVaultBatch

func (s *Server) ReshareVaultBatch(c echo.Context) error

func (*Server) SignMessages

func (s *Server) SignMessages(c echo.Context) error

SignMessages is a handler to process Keysing request

func (*Server) StartServer

func (s *Server) StartServer() error

func (*Server) UploadVault

func (s *Server) UploadVault(c echo.Context) error

UploadVault is a handler that receives a vault file from integration.

func (*Server) VerifyCode

func (s *Server) VerifyCode(c echo.Context) error

VerifyCode is a handler to verify the code

Jump to

Keyboard shortcuts

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