collector

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type CollectorService

type CollectorService struct {

	// TODO: grpc server
	collectorApi.UnimplementedCollectorServer
	// contains filtered or unexported fields
}

func (*CollectorService) UpdateDeviceLastReport added in v0.2.3

func (c *CollectorService) UpdateDeviceLastReport(ctx context.Context, id uint64, t time.Time, data *collection.CollectionData) error

func (*CollectorService) UpdateDeviceLastSeen added in v0.2.1

func (c *CollectorService) UpdateDeviceLastSeen(ctx context.Context, id uint64, t time.Time, ip string) error

Jump to

Keyboard shortcuts

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