package
0.2.0-alpha.14
Repository: https://github.com/onexstack/onex.git
Documentation: pkg.go.dev

# README

Store 层

因为 Store 代码相对不易变,所以,Store 层很少会随着项目迭代,衍生出 V2 版本,所以 Store 层只需要一个版本即可。

# Functions

NewStore initializes a singleton instance of type IStore.

# Variables

ProviderSet is a Wire provider set that declares dependency injection rules.
S is a global variable for convenient access to the initialized datastore instance from other packages.

# Interfaces

ChainExpansion is an empty interface provided for extending the ChainStore interface.
ChainStore defines the interface for managing chain-related data operations.
IStore defines the methods that the Store layer needs to implement.
MinerExpansion is an empty interface provided for extending the MinerStore interface.
MinerSetExpansion is an empty interface provided for extending the MinerSetStore interface.
MinerSetStore defines the interface for managing minerset-related data operations.
MinerStore defines the interface for managing miner-related data operations.