MCPcopy Create free account
hub / github.com/encodeous/nylon / SimpleLocal

Function SimpleLocal

e2e/harness.go:548–556  ·  view source on GitHub ↗

SimpleLocal creates a basic LocalCfg with the given parameters and defaults

(id string, key state.NyPrivateKey)

Source from the content-addressed store, hash-verified

546
547// SimpleLocal creates a basic LocalCfg with the given parameters and defaults
548func SimpleLocal(id string, key state.NyPrivateKey) state.LocalCfg {
549 return state.LocalCfg{
550 Id: state.NodeId(id),
551 Key: key,
552 Port: 57175,
553 NoNetConfigure: false,
554 InterfaceName: "nylon0",
555 }
556}

Callers 10

TestRecoveryExampleFunction · 0.85
TestJSONLoggingFunction · 0.85
TestConnectivityFunction · 0.85
TestDistributionFunction · 0.85
TestHealthcheckPingFunction · 0.85
TestHealthcheckHTTPFunction · 0.85
TestEndpointResolutionFunction · 0.85
TestDynamicResolutionFunction · 0.85

Calls 1

NodeIdTypeAlias · 0.92

Tested by 10

TestRecoveryExampleFunction · 0.68
TestJSONLoggingFunction · 0.68
TestConnectivityFunction · 0.68
TestDistributionFunction · 0.68
TestHealthcheckPingFunction · 0.68
TestHealthcheckHTTPFunction · 0.68
TestEndpointResolutionFunction · 0.68
TestDynamicResolutionFunction · 0.68