group

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectTarget

type CollectTarget struct {
	Type     string `validate:"required"`
	Label    string `validate:"required"`
	URL      string `validate:"required,url"`
	Duration int    `validate:"required,gt=0"`
}

type Collector

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

func NewCollector

func NewCollector(store storage.Storage, port string) (*Collector, error)

func (*Collector) RegisterHandlers

func (cl *Collector) RegisterHandlers(g *echo.Group)

type GroupMeta

type GroupMeta struct {
	ID        string
	Timestamp int64
	Flagged   bool
	Comment   string
}

Jump to

Keyboard shortcuts

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