wheat-cache/gateway/transport/define.go

8 lines
145 B
Go
Raw Normal View History

2021-10-24 19:12:07 +08:00
package transport
type TransPortInterface interface {
GetTargetAddr(...string) (string, error)
IsEmpty() bool
AddTarget(targets ...string)
}