Documentation
¶
Index ¶
- Variables
- func DuplicateServiceExists(serviceId string, services []*types.Service) bool
- func IsValidDidDoc(didDoc *types.Did, genesisMethod string, genesisNamespace string) error
- func IsValidDidDocID(Id string, method string, namespace string) error
- func IsValidDidFragment(didUrl string, method string, namespace string) bool
- func IsValidDidServiceType(sType string) bool
- func IsValidSchemaID(schemaId string, authorDid string) error
- func ValidateServices(services []*types.Service, method string, namespace string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceTypes = []string{
"LinkedDomains",
}
Functions ¶
func DuplicateServiceExists ¶
func IsValidDidDoc ¶
Checks whether the DidDoc string is valid
func IsValidDidDocID ¶
Checks whether the ID in the DidDoc is a valid string
func IsValidDidFragment ¶
Check for valid DID fragment
func IsValidDidServiceType ¶
Check Valid DID service type
func IsValidSchemaID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.