Documentation ¶
Index ¶
- Variables
- type Node
- func (node *Node) Attach() (*rpc.Client, error)
- func (node *Node) Config() *nodeconfig.Config
- func (node *Node) Prepare() (err error)
- func (node *Node) Start() error
- func (node *Node) Stop() error
- func (node *Node) Vite() *vite.Vite
- func (node *Node) ViteConfig() *config.Config
- func (node *Node) ViteServer() *vite.Vite
- func (node *Node) Wait()
- func (node *Node) WalletManager() *wallet.Manager
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is chain container that manages p2p、rpc、vite modules
func (*Node) Config ¶
func (node *Node) Config() *nodeconfig.Config
func (*Node) ViteConfig ¶
func (*Node) ViteServer ¶
func (node *Node) ViteServer() *vite.Vite
func (*Node) WalletManager ¶
Click to show internal directories.
Click to hide internal directories.