Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ITopicService ¶
type ITopicService interface {
Create(*entity.Topic) (string, error)
Update(*entity.Topic) error
GetList() ([]string, error)
Get(topic string) (entity.TopicZkInfo, error)
GetIpTopics(ipPortStr string) ([]string, error)
GetInstanceList(serviceName string) ([]string, error)
DeleteInstance(serviceName, ip string, port int64) error
// contains filtered or unexported methods
}
var TopicService ITopicService
func NewTopicService ¶
func NewTopicService(TopicPrefix string) ITopicService
Click to show internal directories.
Click to hide internal directories.