frostfs-sdk-go/ns/doc.go
Evgenii Stratonikov 4ff9c00de3 [#4] Rename NeoFS mentions in comments and method names
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2022-12-30 13:40:50 +03:00

26 lines
571 B
Go

/*
Package ns provides functionality of FrostFS name system.
DNS type is designed to resolve FrostFS-related names using Domain Name System:
const containerName = "some-container"
var dns DNS
containerID, err := dns.ResolveContainerName(containerName)
// ...
NNS type is designed to resolve FrostFS-related names using Neo Name Service:
var nns NNS
err := nns.Dial(nnsServerAddress)
// ...
var containerDomain container.Domain
containerDomain.SetName(containerName)
containerID, err := nns.ResolveContainerDomain(containerDomain)
// ...
*/
package ns