client

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuilderTopic = "builder"

BuilderTopic

View Source
var WindowsBuilderTopic = "windows_builder"

WindowsBuilderTopic

View Source
var WorkerTopic = "worker"

WorkerTopic

Functions

This section is empty.

Types

type MQClient

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

MQClient

func NewMqClient

func NewMqClient(etcdClientArgs *etcdutil.ClientArgs, defaultserver string) (MQClient, error)

NewMqClient

type TaskStruct

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

TaskStruct

Jump to

Keyboard shortcuts

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