Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
Adapter .
func (*Adapter) EnableHTTPService ¶
func (a *Adapter) EnableHTTPService(namespace string, service *pb.EnableHTTPService) (*pb.EnableHTTPService, error)
func (*Adapter) GetDubboInterfaceList ¶
GetDubboInterfaceList .
func (*Adapter) GetHTTPInterfaceList ¶
func (a *Adapter) GetHTTPInterfaceList(namespace string) ([]*pb.HTTPService, error)
type ServiceHost ¶
type ServiceHost struct { Valid bool `json:"valid"` Port int64 `json:"port"` IP string `json:"ip"` Weight float64 `json:"weight"` Enabled bool `json:"enabled"` MetaData map[string]string `json:"metadata"` }
ServiceHost .
func (*ServiceHost) ToHTTPServiceItem ¶
func (s *ServiceHost) ToHTTPServiceItem() *pb.HTTPServiceItem
type ServiceSearchResult ¶
type ServiceSearchResult struct { ServiceName string `json:"serviceName"` GroupName string `json:"groupName"` ClusterMap map[string]*ServiceHosts `json:"clusterMap"` OwnerNameList []string `json:"ownerNameList"` IPList []string `json:"ipList"` OwnerMap map[string]*pb.InterfaceOwner `json:"ownerMap"` }
ServiceSearchResult .
func (*ServiceSearchResult) ToHTTPService ¶
func (s *ServiceSearchResult) ToHTTPService() *pb.HTTPService
ToHTTPService .
func (*ServiceSearchResult) ToInterface ¶
func (s *ServiceSearchResult) ToInterface() *pb.Interface
ToInterface .
Click to show internal directories.
Click to hide internal directories.