client

package
v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQClient

type MQClient struct {
	pb.TaskQueueClient
	// contains filtered or unexported fields
}

MQClient mq grpc client

func NewMqClient

func NewMqClient(etcdendpoints []string, defaultserver string) (*MQClient, error)

NewMqClient new a mq client

func (*MQClient) Close

func (m *MQClient) Close()

Close mq grpc client must be closed after uesd

Jump to

Keyboard shortcuts

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