Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EtcdServers []string
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
EtcdEndpoints []string
}
func (*Client) GetAddress ¶
func (*Client) GetAddress2 ¶ added in v0.7.4
type EtcdRegister ¶
type EtcdRegister struct { // service address, for example, tcp@127.0.0.1:8972, quic@127.0.0.1:1234 ServiceAddress string // etcd addresses EtcdServers []string // base path for rpcx server, for example com/example/rpcx BasePath string Metrics metrics.Registry // Registered services Services []string UpdateInterval time.Duration LeaseTime int ServiceReg *xjregister.ServiceReg RpcAddress string Options *store.Config // contains filtered or unexported fields }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) EtcdRegister ¶
func (s *Server) EtcdRegister(etcdRegister EtcdRegister)
func (*Server) RegisterName ¶
Click to show internal directories.
Click to hide internal directories.