Skip to content

Commit 3d714d1

Browse files
committed
fix: go fmt style
1 parent af618a0 commit 3d714d1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

server/sse.go

+12-12
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,18 @@ var _ ClientSession = (*sseSession)(nil)
7777
// SSEServer implements a Server-Sent Events (SSE) based MCP server.
7878
// It provides real-time communication capabilities over HTTP using the SSE protocol.
7979
type SSEServer struct {
80-
server *MCPServer
81-
baseURL string
82-
basePath string
83-
useFullURLForMessageEndpoint bool
84-
messageEndpoint string
85-
sseEndpoint string
86-
sessions sync.Map
87-
srv *http.Server
88-
contextFunc SSEContextFunc
89-
90-
keepAlive bool
91-
keepAliveInterval time.Duration
80+
server *MCPServer
81+
baseURL string
82+
basePath string
83+
useFullURLForMessageEndpoint bool
84+
messageEndpoint string
85+
sseEndpoint string
86+
ssePattern string
87+
sessions sync.Map
88+
srv *http.Server
89+
contextFunc SSEContextFunc
90+
keepAlive bool
91+
keepAliveInterval time.Duration
9292

9393
mu sync.RWMutex
9494
}

0 commit comments

Comments
 (0)