reportclient

package
v0.3.7-alpha1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitReportClient added in v0.3.8

func InitReportClient(lc fx.Lifecycle, reportClient *Client)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewReportClient

func NewReportClient(cnf queueing.MasterConfig, repo reportrepo.Repo, pubsub queue.MasterStreamPubSub) *Client

func (*Client) Notify

func (a *Client) Notify()

func (*Client) Publish

func (a *Client) Publish()

func (*Client) ReportClient

func (a *Client) ReportClient()

func (*Client) Subscribe

func (a *Client) Subscribe() (uuid.UUID, <-chan struct{})

func (*Client) Unsubscribe

func (a *Client) Unsubscribe(uid uuid.UUID)

Jump to

Keyboard shortcuts

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