event

package
v0.0.0-...-7404c28 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package event handle client metric

Package event NOTES

Package event handle publish

Index

Constants

This section is empty.

Variables

View Source
var MaxCacheConcurrent = 10

MaxCacheConcurrent is the max concurrent(goroutine) number of cache.

Functions

func Run

func Run(set dao.Set, state serviced.State, bds bedis.Client) error

Run the event watch task.

Types

type ClientMetric

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

ClientMetric xxx

func NewClientMetric

func NewClientMetric(set dao.Set, state serviced.State, bds bedis.Client, op client.Interface) ClientMetric

NewClientMetric init client metric

func (*ClientMetric) Run

func (cm *ClientMetric) Run()

Run the client metric task

type Publish

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

Publish xxx

func NewPublish

func NewPublish(set dao.Set, state serviced.State, bds bedis.Client, op client.Interface) Publish

NewPublish init publish

func (*Publish) Run

func (cm *Publish) Run()

Run the publish task

Jump to

Keyboard shortcuts

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