facade

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GuardianFacadeStub

type GuardianFacadeStub struct {
	VerifyCodeCalled               func(userAddress core.AddressHandler, userIp string, request requests.VerificationPayload) (*requests.OTPCodeVerifyData, error)
	RegisterUserCalled             func(userAddress core.AddressHandler, request requests.RegistrationPayload) (*requests.OTP, string, error)
	SignTransactionCalled          func(userIp string, request requests.SignTransaction) ([]byte, *requests.OTPCodeVerifyData, error)
	SignMultipleTransactionsCalled func(userIp string, request requests.SignMultipleTransactions) ([][]byte, *requests.OTPCodeVerifyData, error)
	RegisteredUsersCalled          func() (uint32, error)
	GetMetricsCalled               func() map[string]*requests.EndpointMetricsResponse
	GetMetricsForPrometheusCalled  func() string
	TcsConfigCalled                func() *tcsCore.TcsConfig
}

GuardianFacadeStub -

func (*GuardianFacadeStub) GetMetrics

GetMetrics -

func (*GuardianFacadeStub) GetMetricsForPrometheus

func (stub *GuardianFacadeStub) GetMetricsForPrometheus() string

GetMetricsForPrometheus -

func (*GuardianFacadeStub) IsInterfaceNil

func (stub *GuardianFacadeStub) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

func (*GuardianFacadeStub) RegisterUser

func (stub *GuardianFacadeStub) RegisterUser(userAddress core.AddressHandler, request requests.RegistrationPayload) (*requests.OTP, string, error)

RegisterUser -

func (*GuardianFacadeStub) RegisteredUsers

func (stub *GuardianFacadeStub) RegisteredUsers() (uint32, error)

RegisteredUsers -

func (*GuardianFacadeStub) SignMultipleTransactions

func (stub *GuardianFacadeStub) SignMultipleTransactions(userIp string, request requests.SignMultipleTransactions) ([][]byte, *requests.OTPCodeVerifyData, error)

SignMultipleTransactions -

func (*GuardianFacadeStub) SignTransaction

func (stub *GuardianFacadeStub) SignTransaction(userIp string, request requests.SignTransaction) ([]byte, *requests.OTPCodeVerifyData, error)

SignTransaction -

func (*GuardianFacadeStub) TcsConfig

func (stub *GuardianFacadeStub) TcsConfig() *tcsCore.TcsConfig

TcsConfig returns the current configuration of the TCS

func (*GuardianFacadeStub) VerifyCode

func (stub *GuardianFacadeStub) VerifyCode(userAddress core.AddressHandler, userIp string, request requests.VerificationPayload) (*requests.OTPCodeVerifyData, error)

VerifyCode -

Jump to

Keyboard shortcuts

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