MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / TestRPCConfig

Function TestRPCConfig

config/config.go:445–451  ·  view source on GitHub ↗

TestRPCConfig returns a configuration for testing the RPC server

()

Source from the content-addressed store, hash-verified

443
444// TestRPCConfig returns a configuration for testing the RPC server
445func TestRPCConfig() *RPCConfig {
446 cfg := DefaultRPCConfig()
447 cfg.ListenAddress = "tcp://127.0.0.1:36657"
448 cfg.GRPCListenAddress = "tcp://127.0.0.1:36658"
449 cfg.Unsafe = true
450 return cfg
451}
452
453// ValidateBasic performs basic validation (checking param bounds, etc.) and
454// returns an error if any check fails.

Callers 2

TestConfigFunction · 0.85

Calls 1

DefaultRPCConfigFunction · 0.85

Tested by

no test coverage detected