Documentation ¶
Index ¶
- func GetConfig() *api.Config
- func IsRegister(name string, protocol string, address string, port int) bool
- func RegisterServer(name string, protocol string, address string, port int, ...) (b bool, err error)
- func SyncService(serviceName string)
- type Service
- type ServiceNode
- type ServiceNodes
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRegister ¶ added in v0.1.6
func RegisterServer ¶ added in v0.1.0
Types ¶
type ServiceNode ¶
type ServiceNodes ¶
type ServiceNodes struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.