clusterService

package
v0.0.0-...-130f5e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2018 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterService

type ClusterService struct {
	*modules.AbstractService
}

ClusterService 集群Cluster管理器 Author: tianyuliang Since: 2017/11/7

func Default

func Default() *ClusterService

Default 返回默认唯一处理对象 Author: tianyuliang Since: 2017/11/7

func NewClusterService

func NewClusterService() *ClusterService

NewClusterService 初始化 Author: tianyuliang Since: 2017/11/7

func (*ClusterService) GetCluserNames

func (service *ClusterService) GetCluserNames() (*models.ClusterList, error)

GetCluserNames 查询所有集群名称 Author: tianyuliang Since: 2017/11/8

func (*ClusterService) GetNamesrvNodes

func (service *ClusterService) GetNamesrvNodes() ([]string, error)

GetNamesrvNodes 获取namesrv节点列表 Author: tianyuliang Since: 2017/11/9

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL