MCPcopy Create free account
hub / github.com/astercloud/aster / Start

Method Start

pkg/tools/bridge/http_server.go:254–257  ·  view source on GitHub ↗

Start 启动服务器

()

Source from the content-addressed store, hash-verified

252
253// Start 启动服务器
254func (s *HTTPBridgeServer) Start() error {
255 fmt.Printf("HTTP Bridge Server listening on %s\n", s.server.Addr)
256 return s.server.ListenAndServe()
257}
258
259// StartAsync 异步启动服务器
260func (s *HTTPBridgeServer) StartAsync() error {

Callers 1

StartAsyncMethod · 0.95

Calls 1

PrintfMethod · 0.80

Tested by

no test coverage detected