nats

package
v0.0.0-...-e6d3209 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddClientSub_Image_Safe

func AddClientSub_Image_Safe(libname string) models.Result

func RunClientSub

func RunClientSub(clientSubject string)

func RunClientSub_IDL

func RunClientSub_IDL(hostId string)

Types

type JobService

type JobService struct {
	Task *models.Task
}

func (*JobService) SetJobDeactiveStatus

func (this *JobService) SetJobDeactiveStatus() models.Result

type NatsPubService

type NatsPubService struct {
	Message       []byte
	Conn          stan.Conn
	ClientSubject string
	Type          string
}

func (*NatsPubService) PublishData

func (this *NatsPubService) PublishData(data []byte) error

func (*NatsPubService) RuleDefinePub

func (this *NatsPubService) RuleDefinePub()

func (*NatsPubService) SendToManyHost

func (this *NatsPubService) SendToManyHost() []string

type NatsSubService

type NatsSubService struct {
	Message       []byte
	Conn          stan.Conn
	ClientSubject string
	DelTask       *models.Task
}

func (*NatsSubService) DeleteTask

func (this *NatsSubService) DeleteTask() error

func (*NatsSubService) ReceiveData

func (this *NatsSubService) ReceiveData(result models.NatsData)

func (*NatsSubService) Save

func (this *NatsSubService) Save() error

Jump to

Keyboard shortcuts

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