Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Name, Version string
// contains filtered or unexported fields
}
Client ...
type Option ¶
type Option interface { String() string Value() interface{} }
Option ...
func RegistryCenter ¶
RegistryCenter return registry option for service
type Registry ¶
type Registry interface { Register(*Service) UnRegister(*Service) Query(*Client) (string, error) String() string }
Registry is registry center interface for service
func NewRegistry ¶
NewRegistry return a registry center object
Click to show internal directories.
Click to hide internal directories.