Documentation ¶
Overview ¶
Package neard implements NEAR daemon related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NEARDaemon ¶
type NEARDaemon struct { Head string // contains filtered or unexported fields }
NEARDaemon wraps a neard.
func LoadFromBinary ¶
func LoadFromBinary(binaryPath string, head string) (*NEARDaemon, error)
LoadFromBinary loads NEARDaemon from existing binary.
func LoadFromRepo ¶
func LoadFromRepo(repoPath string, release bool, build bool) (*NEARDaemon, error)
LoadFromRepo loads NEARDaemon from repo by provided path (and build if requested).
func (*NEARDaemon) RestoreLocalData ¶
func (daemon *NEARDaemon) RestoreLocalData(source string) error
RestoreLocalData restores local data of a NEARDaemon from given directory.
func (*NEARDaemon) SetupLocalData ¶
func (daemon *NEARDaemon) SetupLocalData() error
SetupLocalData initializes local data of a NEARDaemon.
Click to show internal directories.
Click to hide internal directories.