csnetwork

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: AGPL-3.0 Imports: 26 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL