Documentation ¶
Index ¶
Constants ¶
View Source
const ( NNSResolver = "nns" DNSResolver = "dns" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketResolver ¶
type BucketResolver struct { Name string // contains filtered or unexported fields }
func NewDNSResolver ¶
func NewDNSResolver(neoFS NeoFS, next *BucketResolver) (*BucketResolver, error)
func NewNNSResolver ¶
func NewNNSResolver(address string, next *BucketResolver) (*BucketResolver, error)
func NewResolver ¶
func NewResolver(order []string, cfg *Config) (*BucketResolver, error)
func (*BucketResolver) SetResolveFunc ¶ added in v0.20.0
type NeoFS ¶
type NeoFS interface { // SystemDNS reads system DNS network parameters of the NeoFS. // // It returns exactly on non-zero value. It returns any error encountered // which prevented the parameter from being read. SystemDNS(context.Context) (string, error) }
NeoFS represents virtual connection to the NeoFS network.
Click to show internal directories.
Click to hide internal directories.