client

package
v5.0.1-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuilderTopic = "builder"

BuilderTopic builder for linux

View Source
var WindowsBuilderTopic = "windows_builder"

WindowsBuilderTopic builder for windows

View Source
var WorkerTopic = "worker"

WorkerTopic worker topic

Functions

This section is empty.

Types

type MQClient

type MQClient interface {
	pb.TaskQueueClient
	Close()
	SendBuilderTopic(t TaskStruct) error
}

MQClient mq client

func NewMqClient

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

NewMqClient new a mq client

type TaskStruct

type TaskStruct struct {
	Topic    string
	TaskType string
	TaskBody interface{}
}

TaskStruct task struct

Jump to

Keyboard shortcuts

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