MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / SetupRpc

Function SetupRpc

user/rpc/rpc.go:24–28  ·  view source on GitHub ↗
(ctx context.Context, logger *log.Logger, gconfig *config.GlobalConfig)

Source from the content-addressed store, hash-verified

22var Gconfig *config.GlobalConfig
23
24func SetupRpc(ctx context.Context, logger *log.Logger, gconfig *config.GlobalConfig) {
25 Logger = logger
26 Ctx = ctx
27 Gconfig = gconfig
28}
29
30type RespMsg struct {
31 Status string `json:"status"`

Callers 1

runFuncFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected