impl

package
v2.0.15 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventCollect added in v2.0.6

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

收集事件指标的采集器

func NewEventCollect added in v2.0.6

func NewEventCollect() *EventCollect

func (*EventCollect) Collect added in v2.0.6

func (c *EventCollect) Collect(ch chan<- prometheus.Metric)

指标的值的采集

func (*EventCollect) Describe added in v2.0.6

func (c *EventCollect) Describe(ch chan<- *prometheus.Desc)

指标元数据注册

func (*EventCollect) Inc added in v2.0.6

func (c *EventCollect) Inc()

type HelloServiceImpl

type HelloServiceImpl struct {
	ioc.ObjectImpl
	// contains filtered or unexported fields
}

业务逻辑实现类

func (*HelloServiceImpl) Hello

func (i *HelloServiceImpl) Hello() string

具体业务逻辑

func (*HelloServiceImpl) Init

func (i *HelloServiceImpl) Init() error

控制器初始化

Jump to

Keyboard shortcuts

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