framework1/framework/contract/distributed.go

10 lines
205 B
Go
Raw Normal View History

2024-10-20 22:56:46 +08:00
package contract
import "time"
const DistributedKey = "hade:distributed"
type Distributed interface {
Select(serviceName string, appId string, holdTime time.Duration) (selectAppId string, err error)
}