Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClientConfig ¶
type HTTPClientConfig struct { // URL is http whole url. URL string // Scheme is http url scheme, http/https. Scheme string // CAFile is https root certificate authority file path. CAFile string // CertFile is https certificate file path. CertFile string // KeyFile is https key file path. KeyFile string // Password is certificate authority file password. Password string }
HTTPClientConfig is bcs inner service http client config struct.
type InnerService ¶
type InnerService struct {
// contains filtered or unexported fields
}
InnerService is bcs inner service for discovery.
func NewInnerService ¶
func NewInnerService(serviceName string, eventChan <-chan *RegisterDiscover.DiscoverEvent) *InnerService
NewInnerService creates a new serviceName InnerService instance for discovery.
func (*InnerService) Servers ¶
func (s *InnerService) Servers() []*HTTPClientConfig
Servers returns current available services instances.
Click to show internal directories.
Click to hide internal directories.