Documentation ¶
Overview ¶
Package nameservice reads the zblock/accounts folder and creates a name service lookup for the ardan accounts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameService ¶
type NameService struct {
// contains filtered or unexported fields
}
NameService maintains a map of accounts for name lookup.
func New ¶
func New(root string) (*NameService, error)
New constructs an Ardan Name Service with accounts from the zblock/accounts folder.
Click to show internal directories.
Click to hide internal directories.