Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompatibilityHTTPErrorHandler ¶
CompatibilityHTTPErrorHandler differentiates V1/V2 error types and uses their respective handler functions.
func Init ¶
func Init( logger *loggerpkg.Logger, server echoswagger.ApiRoot, waspVersion string, config *configuration.Configuration, networkProvider peering.NetworkProvider, trustedNetworkManager peering.TrustedNetworkManager, userManager *userspkg.UserManager, chainRecordRegistryProvider registry.ChainRecordRegistryProvider, dkShareRegistryProvider registry.DKShareRegistryProvider, nodeIdentityProvider registry.NodeIdentityProvider, chainsProvider chains.Provider, dkgNodeProvider dkg.NodeProvider, shutdownHandler *shutdown.ShutdownHandler, nodeConnectionMetrics nodeconnmetrics.NodeConnectionMetrics, authConfig authentication.AuthConfiguration, nodeOwnerAddresses []string, requestCacheTTL time.Duration, )
Types ¶
type Mocker ¶ added in v1.0.3
type Mocker struct {
// contains filtered or unexported fields
}
func (*Mocker) LoadMockFiles ¶ added in v1.0.3
func (m *Mocker) LoadMockFiles()
Click to show internal directories.
Click to hide internal directories.