mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
4746f47282
issue: #36784 1. Implement an embedded web server for WebUI access. 2. Complete the homepage development. Home page demo: <img width="2177" alt="iShot_2024-10-10_17 57 34" src="https://github.com/user-attachments/assets/38539917-ce09-4e54-a5b5-7f4f7eaac353"> Signed-off-by: jaime <yun.zhang@zilliz.com>
15 lines
297 B
Go
15 lines
297 B
Go
package http
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
HTTPHeaderAllowInt64 = "Accept-Type-Allow-Int64"
|
|
HTTPHeaderRequestTimeout = "Request-Timeout"
|
|
HTTPDefaultTimeout = 30 * time.Second
|
|
HTTPReturnCode = "code"
|
|
HTTPReturnMessage = "message"
|
|
HTTPReturnData = "data"
|
|
)
|