mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
0a92e96f20
* [Feature] add golang router * [Feature] add golang router * [Feature] add golang router * [Feature] add golang router * [Feature] add golang router * [Feature] Add Golang-based Router for Request Scheduling and Load Balancing * [Feature] Add Golang-based Router for Request Scheduling and Load Balancing * [Feature] Add Golang-based Router for Request Scheduling and Load Balancing * [Feature] Add Golang-based Router for Request Scheduling and Load Balancing --------- Co-authored-by: mouxin <mouxin@baidu.com>
9 lines
171 B
Go
9 lines
171 B
Go
package common
|
|
|
|
import "context"
|
|
|
|
type ManagerAPI interface {
|
|
GetHealthyURLs(ctx context.Context) []string
|
|
GetMetrics(ctx context.Context, url string) (int, int, int)
|
|
}
|