testinits

package
v0.0.0-...-cda998f Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDID

func AddDID(ethURI *ethuri.Service, cService *claims.Service) (*didlib.DID, *ecdsa.PrivateKey, error)

AddDID adds a did to the db

func InitDIDService

func InitDIDService(db *gorm.DB) (*did.Service, *ethuri.Service)

InitDIDService creates the did service for stesting

func MakeService

func MakeService(db *gorm.DB, didService *did.Service,
	signedClaimStore *claimsstore.SignedClaimPGPersister) (*claims.Service, *claims.RootService, error)

MakeService makes a new claims service

Types

This section is empty.

Jump to

Keyboard shortcuts

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