rqs

package
v0.0.0-...-e43fadc Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NeedUpdate

func NeedUpdate(r registry.IRegistry, platName string, systemName string, v string) (bool, *conf.Package, error)

NeedUpdate 检查当前服务是否需要更新

func UpdateNow

func UpdateNow(pkg *conf.Package, logger *logger.Logger, closeFunc func()) (err error)

UpdateNow 更新当前服务

Types

type RemoteQueryService

type RemoteQueryService struct {
	ParrotShutdown func()
	// contains filtered or unexported fields
}

RemoteQueryService 远程查询服务

func NewHRemoteQueryService

func NewHRemoteQueryService(platName string, systemName string, serverTypes []string, clusterName string, registry registry.IRegistry, version string) (h *RemoteQueryService, err error)

NewHRemoteQueryService 创建HRemoteQueryService

func (*RemoteQueryService) Shutdown

func (h *RemoteQueryService) Shutdown()

func (*RemoteQueryService) Start

func (h *RemoteQueryService) Start() error

Jump to

Keyboard shortcuts

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