monitors_repository

package
v0.0.0-...-e299d79 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorsRepository

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

func NewMonitorsRepository

func NewMonitorsRepository(db *mongo.Database) *MonitorsRepository

func (*MonitorsRepository) Create

func (r *MonitorsRepository) Create(monitor *monitors_model.Monitor) error

func (*MonitorsRepository) GetAll

func (r *MonitorsRepository) GetAll() ([]*monitors_model.Monitor, error)

func (*MonitorsRepository) GetByID

func (*MonitorsRepository) UpdateLastData

func (r *MonitorsRepository) UpdateLastData(monitor *monitors_model.Monitor) error

Jump to

Keyboard shortcuts

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