Files
EdgeAPI/internal/db/models/api_node_model_ext.go

9 lines
141 B
Go
Raw Normal View History

2020-09-06 16:19:54 +08:00
package models
2020-09-13 20:37:28 +08:00
import "strconv"
// 地址
func (this *APINode) Address() string {
return this.Host + ":" + strconv.Itoa(int(this.Port))
}