Documentation ¶
Index ¶
- type CommonModule
- func (cm *CommonModule) API() v1api.ICommon
- func (cm *CommonModule) NodeStatus(ctx context.Context, inclChainStatus bool) (status types.NodeStatus, err error)
- func (cm *CommonModule) StartTime(ctx context.Context) (time.Time, error)
- func (cm *CommonModule) V0API() v0api.ICommon
- func (cm *CommonModule) Version(ctx context.Context) (types.Version, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonModule ¶
type CommonModule struct {
// contains filtered or unexported fields
}
func NewCommonModule ¶
func NewCommonModule(chainModule *chain2.ChainSubmodule, netModule *network.NetworkSubmodule, blockDelaySecs uint64) *CommonModule
func (*CommonModule) API ¶
func (cm *CommonModule) API() v1api.ICommon
func (*CommonModule) NodeStatus ¶ added in v1.9.0
func (cm *CommonModule) NodeStatus(ctx context.Context, inclChainStatus bool) (status types.NodeStatus, err error)
func (*CommonModule) V0API ¶
func (cm *CommonModule) V0API() v0api.ICommon
Click to show internal directories.
Click to hide internal directories.