Documentation
¶
Index ¶
Constants ¶
View Source
const ( SubjectNotFoundErrorMessage = "subject not found" NamespaceNotFoundErrorMessage = "namespace not found" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶ added in v0.45.1
type Source interface { GetSubject(ctx context.Context, addr util.Uint160) (*client.Subject, error) GetSubjectExtended(ctx context.Context, addr util.Uint160) (*client.SubjectExtended, error) GetNamespace(ctx context.Context, namespace string) (*client.Namespace, error) GetNamespaceExtended(ctx context.Context, namespace string) (*client.NamespaceExtended, error) }
Source interface provides methods to get subject and namespace info from FrostfsID contract.
Click to show internal directories.
Click to hide internal directories.