frostfsid

package
v0.46.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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