MCPcopy
hub / github.com/larksuite/cli / streamLogID

Function streamLogID

internal/client/client.go:244–250  ·  view source on GitHub ↗
(header http.Header)

Source from the content-addressed store, hash-verified

242}
243
244func streamLogID(header http.Header) string {
245 logID := strings.TrimSpace(header.Get(larkcore.HttpHeaderKeyLogId))
246 if logID == "" {
247 logID = strings.TrimSpace(header.Get(larkcore.HttpHeaderKeyRequestId))
248 }
249 return logID
250}
251
252type cancelOnCloseBody struct {
253 io.ReadCloser

Callers 1

DoStreamMethod · 0.85

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected