Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkHandler ¶
type NetworkHandler struct {
// contains filtered or unexported fields
}
func NewNetworkHandler ¶
func NewNetworkHandler(logger *log.Logger, ctx context.Context, serviceProvider cscommon.IConstellationServiceProvider) *NetworkHandler
func (*NetworkHandler) RegisterRoutes ¶
func (h *NetworkHandler) RegisterRoutes(router *mux.Router)
type NetworkStatsContext ¶
type NetworkStatsContext struct { // Dependencies ServiceProvider cscommon.IConstellationServiceProvider Logger *slog.Logger Context context.Context // contains filtered or unexported fields }
func (*NetworkStatsContext) GetState ¶
func (c *NetworkStatsContext) GetState(mc *batch.MultiCaller)
func (*NetworkStatsContext) Initialize ¶
func (c *NetworkStatsContext) Initialize(walletStatus wallet.WalletStatus) (types.ResponseStatus, error)
func (*NetworkStatsContext) PrepareData ¶
func (c *NetworkStatsContext) PrepareData(data *csapi.NetworkStatsData, opts *bind.TransactOpts) (types.ResponseStatus, error)
Click to show internal directories.
Click to hide internal directories.