Skip to content

Commit e16b01f

Browse files
committed
mcp: fix formatting in sse.go
1 parent 8ccf26c commit e16b01f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mcp/sse.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,10 @@ func (c *SSEClientTransport) Connect(ctx context.Context) (Connection, error) {
411411
// - Reads are SSE 'message' events, and pushes them onto a buffered channel.
412412
// - Close terminates the GET request.
413413
type sseClientConn struct {
414-
client *http.Client // HTTP client to use for requests
415-
msgEndpoint *url.URL // session endpoint for POSTs
416-
modifyRequest func(*http.Request) // optional callback to modify outgoing requests
417-
incoming chan []byte // queue of incoming messages
414+
client *http.Client // HTTP client to use for requests
415+
msgEndpoint *url.URL // session endpoint for POSTs
416+
modifyRequest func(*http.Request) // optional callback to modify outgoing requests
417+
incoming chan []byte // queue of incoming messages
418418

419419
mu sync.Mutex
420420
body io.ReadCloser // body of the hanging GET

0 commit comments

Comments
 (0)