Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + const ContactInformationServiceType + const ModuleName + var ErrServiceInUse = errors.New("service is referenced by 1 or more services") + type CompoundServiceResolver interface + GetCompoundServiceEndpoint func(id did.DID, compoundServiceType string, endpointType string, ...) (string, error) + GetCompoundServices func(id did.DID) ([]did.Service, error) + type ContactInformation struct + Email string + Name string + Phone string + Website string + type Didman interface + AddCompoundService func(ctx context.Context, id did.DID, serviceType string, ...) (*did.Service, error) + AddEndpoint func(ctx context.Context, id did.DID, serviceType string, endpoint url.URL) (*did.Service, error) + DeleteEndpointsByType func(ctx context.Context, id did.DID, serviceType string) error + DeleteService func(ctx context.Context, id ssi.URI) error + GetContactInformation func(id did.DID) (*ContactInformation, error) + SearchOrganizations func(ctx context.Context, query string, didServiceType *string) ([]OrganizationSearchResult, error) + UpdateCompoundService func(ctx context.Context, id did.DID, serviceType string, ...) (*did.Service, error) + UpdateContactInformation func(ctx context.Context, id did.DID, information ContactInformation) (*ContactInformation, error) + UpdateEndpoint func(ctx context.Context, id did.DID, serviceType string, endpoint url.URL) (*did.Service, error) + func NewDidmanInstance(vdr vdr.VDR, vcr vcr.Finder, jsonldManager jsonld.JSONLD) Didman + type ErrReferencedServiceNotAnEndpoint struct + Cause error + func (e ErrReferencedServiceNotAnEndpoint) Error() string + func (e ErrReferencedServiceNotAnEndpoint) Is(other error) bool + type MockCompoundServiceResolver struct + func NewMockCompoundServiceResolver(ctrl *gomock.Controller) *MockCompoundServiceResolver + func (m *MockCompoundServiceResolver) EXPECT() *MockCompoundServiceResolverMockRecorder + func (m *MockCompoundServiceResolver) GetCompoundServiceEndpoint(id did.DID, compoundServiceType, endpointType string, resolveReferences bool) (string, error) + func (m *MockCompoundServiceResolver) GetCompoundServices(id did.DID) ([]did.Service, error) + type MockCompoundServiceResolverMockRecorder struct + func (mr *MockCompoundServiceResolverMockRecorder) GetCompoundServiceEndpoint(id, compoundServiceType, endpointType, resolveReferences any) *gomock.Call + func (mr *MockCompoundServiceResolverMockRecorder) GetCompoundServices(id any) *gomock.Call + type MockDidman struct + func NewMockDidman(ctrl *gomock.Controller) *MockDidman + func (m *MockDidman) AddCompoundService(ctx context.Context, id did.DID, serviceType string, ...) (*did.Service, error) + func (m *MockDidman) AddEndpoint(ctx context.Context, id did.DID, serviceType string, endpoint url.URL) (*did.Service, error) + func (m *MockDidman) DeleteEndpointsByType(ctx context.Context, id did.DID, serviceType string) error + func (m *MockDidman) DeleteService(ctx context.Context, id ssi.URI) error + func (m *MockDidman) EXPECT() *MockDidmanMockRecorder + func (m *MockDidman) GetCompoundServiceEndpoint(id did.DID, compoundServiceType, endpointType string, resolveReferences bool) (string, error) + func (m *MockDidman) GetCompoundServices(id did.DID) ([]did.Service, error) + func (m *MockDidman) GetContactInformation(id did.DID) (*ContactInformation, error) + func (m *MockDidman) SearchOrganizations(ctx context.Context, query string, didServiceType *string) ([]OrganizationSearchResult, error) + func (m *MockDidman) UpdateCompoundService(ctx context.Context, id did.DID, serviceType string, ...) (*did.Service, error) + func (m *MockDidman) UpdateContactInformation(ctx context.Context, id did.DID, information ContactInformation) (*ContactInformation, error) + func (m *MockDidman) UpdateEndpoint(ctx context.Context, id did.DID, serviceType string, endpoint url.URL) (*did.Service, error) + type MockDidmanMockRecorder struct + func (mr *MockDidmanMockRecorder) AddCompoundService(ctx, id, serviceType, endpoints any) *gomock.Call + func (mr *MockDidmanMockRecorder) AddEndpoint(ctx, id, serviceType, endpoint any) *gomock.Call + func (mr *MockDidmanMockRecorder) DeleteEndpointsByType(ctx, id, serviceType any) *gomock.Call + func (mr *MockDidmanMockRecorder) DeleteService(ctx, id any) *gomock.Call + func (mr *MockDidmanMockRecorder) GetCompoundServiceEndpoint(id, compoundServiceType, endpointType, resolveReferences any) *gomock.Call + func (mr *MockDidmanMockRecorder) GetCompoundServices(id any) *gomock.Call + func (mr *MockDidmanMockRecorder) GetContactInformation(id any) *gomock.Call + func (mr *MockDidmanMockRecorder) SearchOrganizations(ctx, query, didServiceType any) *gomock.Call + func (mr *MockDidmanMockRecorder) UpdateCompoundService(ctx, id, serviceType, endpoints any) *gomock.Call + func (mr *MockDidmanMockRecorder) UpdateContactInformation(ctx, id, information any) *gomock.Call + func (mr *MockDidmanMockRecorder) UpdateEndpoint(ctx, id, serviceType, endpoint any) *gomock.Call + type OrganizationSearchResult struct + DIDDocument did.Document + Organization map[string]interface{} Other modules containing this package github.com/nuts-foundation/nuts-node github.com/nuts-foundation/nuts-node/v5