Documentation ¶
Index ¶
- type Service
- type ServiceImpl
- func (as *ServiceImpl) AddClaimBasic(indexSlot [400 / 8]byte, dataSlot [496 / 8]byte) (*core.ProofClaim, error)
- func (as *ServiceImpl) ClaimsDump() map[string]string
- func (as *ServiceImpl) Info(id *core.ID) map[string]string
- func (as *ServiceImpl) Mimc7(data []*big.Int) (*big.Int, error)
- func (as *ServiceImpl) RawDump(c *gin.Context)
- func (as *ServiceImpl) RawImport(raw map[string]string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(mt *merkletree.MerkleTree, rootsrv rootsrv.Service, claimsrv claimsrv.Service) *ServiceImpl
func (*ServiceImpl) AddClaimBasic ¶
func (as *ServiceImpl) AddClaimBasic(indexSlot [400 / 8]byte, dataSlot [496 / 8]byte) (*core.ProofClaim, error)
func (*ServiceImpl) ClaimsDump ¶
func (as *ServiceImpl) ClaimsDump() map[string]string
ClaimsDump returns all the claims key and values from the database
func (*ServiceImpl) Info ¶
func (as *ServiceImpl) Info(id *core.ID) map[string]string
Info returns the info overview of the Relay
func (*ServiceImpl) RawDump ¶
func (as *ServiceImpl) RawDump(c *gin.Context)
RawDump returns all the key and values from the database
Click to show internal directories.
Click to hide internal directories.