monitor

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddByDomain

func AddByDomain[C CTMonitorClient](
	domain string,
	ctx context.Context,
	def DefaultCTStream[C],
	streams *core.ConcurrentCTsStream[*core.CTStream[C]],
) error

func DelByDomain

func DelByDomain[C CTMonitorClient](
	domain string,
	ctx context.Context,
	streams *core.ConcurrentCTsStream[*core.CTStream[C]],
) error

Types

type CTMonitorClient

type CTMonitorClient interface {
	GetDomain() string
	Init() error
	Next(core.Callback)
}

type DefaultCTStream

type DefaultCTStream[T CTMonitorClient] func(string, context.Context) (*core.CTStream[T], error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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