Documentation
¶
Index ¶
- type Server
- func (s *Server) CreateMldsaVault(c echo.Context) error
- func (s *Server) CreateVault(c echo.Context) error
- func (s *Server) CreateVaultBatch(c echo.Context) error
- func (s *Server) DeleteVault(c echo.Context) error
- func (s *Server) DownloadVault(c echo.Context) error
- func (s *Server) ExistVault(c echo.Context) error
- func (s *Server) GetDerivedPublicKey(c echo.Context) error
- func (s *Server) GetKeysignResult(c echo.Context) error
- func (s *Server) GetVault(c echo.Context) error
- func (s *Server) ImportVault(c echo.Context) error
- func (s *Server) ImportVaultBatch(c echo.Context) error
- func (s *Server) MigrateVault(c echo.Context) error
- func (s *Server) Ping(c echo.Context) error
- func (s *Server) ResendVaultEmail(c echo.Context) error
- func (s *Server) ReshareVault(c echo.Context) error
- func (s *Server) ReshareVaultBatch(c echo.Context) error
- func (s *Server) SignMessages(c echo.Context) error
- func (s *Server) StartServer() error
- func (s *Server) UploadVault(c echo.Context) error
- func (s *Server) VerifyCode(c echo.Context) error
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) GetDerivedPublicKey ¶
GetDerivedPublicKey is a handler to get the derived public key
func (*Server) GetKeysignResult ¶
GetKeysignResult is a handler to get the keysign response
func (*Server) MigrateVault ¶
MigrateVault is a handler to migrate a vault from GG20 to DKLS
func (*Server) ResendVaultEmail ¶
ResendVaultEmail is a handler to request server to send vault share , code through email again
func (*Server) ReshareVault ¶
ReshareVault is a handler to reshare a vault
func (*Server) SignMessages ¶
SignMessages is a handler to process Keysing request
func (*Server) StartServer ¶
func (*Server) UploadVault ¶
UploadVault is a handler that receives a vault file from integration.
Click to show internal directories.
Click to hide internal directories.