MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GenerateRouteId

Method GenerateRouteId

pkg/wshrpc/wshrpctypes.go:238–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236}
237
238func (rc RpcContext) GenerateRouteId() string {
239 if rc.RouteId != "" {
240 return rc.RouteId
241 }
242 return "proc:" + uuid.New().String()
243}
244
245type CommandAuthenticateRtnData struct {
246 RouteId string `json:"routeid"`

Callers 2

extractTokenDataFunction · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected